/*
Theme Name: Lineal System
Theme URI: https://gold-baboon-986017.hostingersite.com
Author: Lineal System
Author URI: https://gold-baboon-986017.hostingersite.com
Description: Custom WordPress theme for Lineal System — an IT infrastructure & managed services system integrator. Design system: "Infrastructure Status Board" — ink navy + signal blue, IBM Plex typography, server-rack/status-panel motifs.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: lineal-system
*/

  :root{
    --ink:#0B1C33;
    --ink-soft:#152841;
    --paper:#EEF1EE;
    --paper-2:#E3E8E2;
    --blue:#1E5AA8;
    --blue-deep:#123D77;
    --cyan:#2FA8E0;
    --amber:#E3963C;
    --green:#3FA66B;
    --slate:#5A6472;
    --line:rgba(11,28,51,0.12);
    --white:#FCFDFB;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--paper);
    color:var(--ink);
    font-family:'IBM Plex Sans', sans-serif;
    font-size:16px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }
  .mono{ font-family:'IBM Plex Mono', monospace; }
  .display{ font-family:'IBM Plex Sans Condensed', sans-serif; font-weight:700; letter-spacing:-0.01em; }
  a{ color:inherit; text-decoration:none; }
  img{ max-width:100%; display:block; }
  .wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
  section{ padding:96px 0; }
  @media (max-width:720px){ section{ padding:64px 0; } .wrap{ padding:0 20px; } }

  /* ---------- utility: eyebrow / mono tag ---------- */
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--blue-deep);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";
    width:7px; height:7px; border-radius:50%;
    background:var(--amber);
    box-shadow:0 0 0 3px rgba(227,150,60,0.2);
  }
  .eyebrow.on-dark{ color:#9FD2F2; }
  .eyebrow.on-dark::before{ background:var(--green); box-shadow:0 0 0 3px rgba(63,166,107,0.25); }

  /* ---------- header ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(238,241,238,0.88);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px;
  }
  .logo{
    display:flex; align-items:center; gap:10px;
    font-family:'IBM Plex Sans Condensed', sans-serif;
    font-weight:700; font-size:20px; letter-spacing:-0.01em;
    color:var(--ink);
  }
  .logo .mark{
    width:30px; height:30px; border-radius:6px;
    background:linear-gradient(155deg, var(--blue) 0%, var(--blue-deep) 100%);
    position:relative; flex-shrink:0;
  }
  .logo .mark::before, .logo .mark::after{
    content:""; position:absolute; background:var(--cyan);
  }
  .logo .mark::before{ width:14px; height:2.5px; top:9px; left:8px; }
  .logo .mark::after{ width:8px; height:2.5px; top:16px; left:8px; opacity:0.7; }
  .logo small{ display:block; font-family:'IBM Plex Mono',monospace; font-weight:500; font-size:10px; letter-spacing:0.12em; color:var(--slate); text-transform:uppercase; }

  nav.links{ display:flex; gap:36px; }
  nav.links a{
    font-size:14px; font-weight:500; color:var(--ink-soft);
    position:relative; padding:4px 0;
  }
  nav.links a:hover{ color:var(--blue); }

  .nav-right{ display:flex; align-items:center; gap:22px; }
  .phone-tag{
    font-family:'IBM Plex Mono', monospace;
    font-size:13px; color:var(--slate);
  }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    background:var(--ink); color:var(--white);
    font-size:13px; font-weight:600;
    padding:11px 20px; border-radius:3px;
    font-family:'IBM Plex Mono', monospace;
    letter-spacing:0.03em;
    border:1px solid var(--ink);
  }
  .btn:hover{ background:var(--blue-deep); border-color:var(--blue-deep); }
  .btn.ghost{ background:transparent; color:var(--ink); }
  .btn.ghost:hover{ background:var(--ink); color:var(--white); }
  @media (max-width:900px){ nav.links, .phone-tag{ display:none; } }

  /* ---------- hero ---------- */
  .hero{
    padding-top:80px; padding-bottom:60px;
  }
  .hero-grid{
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:64px; align-items:start;
  }
  @media (max-width:940px){ .hero-grid{ grid-template-columns:1fr; } }

  h1.hero-h{
    font-size:56px; line-height:1.03; letter-spacing:-0.02em;
    margin-bottom:24px;
  }
  h1.hero-h .accent{ color:var(--blue); }
  @media (max-width:720px){ h1.hero-h{ font-size:36px; } }

  .hero-sub{
    font-size:17px; color:var(--slate); max-width:480px; margin-bottom:32px;
  }
  .hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:40px; }

  .hero-meta{
    display:flex; gap:34px; padding-top:28px; border-top:1px solid var(--line);
  }
  .hero-meta .stat b{ display:block; font-family:'IBM Plex Sans Condensed'; font-size:26px; font-weight:700; }
  .hero-meta .stat span{ font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--slate); }

  /* ---------- status panel (signature element) ---------- */
  .status-panel{
    background:var(--ink);
    border-radius:8px;
    padding:26px;
    color:var(--white);
    box-shadow:0 24px 60px -20px rgba(11,28,51,0.45);
  }
  .status-head{
    display:flex; justify-content:space-between; align-items:center;
    padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid rgba(255,255,255,0.12);
  }
  .status-head .title{ font-family:'IBM Plex Mono'; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:#9FD2F2; }
  .dot-row{ display:flex; gap:6px; }
  .dot-row span{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.25); }
  .dot-row span:nth-child(1){ background:var(--green); animation:pulse 2.2s infinite; }

  @keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:0.35; } }

  .region-row{
    display:flex; justify-content:space-between; align-items:center;
    padding:13px 0; border-bottom:1px solid rgba(255,255,255,0.08);
    font-family:'IBM Plex Mono'; font-size:13px;
  }
  .region-row:last-of-type{ border-bottom:none; }
  .region-row .name{ display:flex; align-items:center; gap:10px; color:#E8ECE7; }
  .region-row .name::before{ content:"—"; color:rgba(255,255,255,0.3); }
  .region-row .status{ display:flex; align-items:center; gap:7px; color:var(--green); font-size:11px; letter-spacing:0.05em; }
  .region-row .status i{ width:6px; height:6px; border-radius:50%; background:var(--green); display:inline-block; }

  .status-footer{
    margin-top:18px; padding-top:16px; border-top:1px solid rgba(255,255,255,0.12);
    display:flex; justify-content:space-between; font-family:'IBM Plex Mono'; font-size:11px; color:rgba(255,255,255,0.45);
  }

  /* ---------- strengths strip ---------- */
  .strip{
    background:var(--ink);
    color:var(--white);
    padding:56px 0;
  }
  .strip .wrap{ display:grid; grid-template-columns:1.3fr 1fr; gap:50px; align-items:center; }
  @media (max-width:800px){ .strip .wrap{ grid-template-columns:1fr; gap:28px; } }
  .strip p.lead{ font-size:20px; font-weight:500; color:#EEF1EE; }
  .badges{ display:flex; flex-wrap:wrap; gap:10px; }
  .badge{
    font-family:'IBM Plex Mono'; font-size:12px; color:#B9CBE0;
    border:1px solid rgba(255,255,255,0.18);
    padding:8px 13px; border-radius:20px;
  }

  /* ---------- section head ---------- */
  .section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:48px; flex-wrap:wrap; }
  .section-head h2{ font-size:36px; max-width:560px; }
  .section-head p{ color:var(--slate); max-width:340px; font-size:14.5px; }

  /* ---------- services rack ---------- */
  .rack{ border-top:1px solid var(--line); }
  .rack-unit{
    display:grid; grid-template-columns:70px 1.1fr 1.4fr auto; gap:28px; align-items:center;
    padding:26px 0; border-bottom:1px solid var(--line);
    transition:background 0.15s ease;
  }
  .rack-unit:hover{ background:rgba(30,90,168,0.05); }
  @media (max-width:800px){ .rack-unit{ grid-template-columns:50px 1fr; grid-template-areas:"id name" ". desc" ". tag"; row-gap:8px; } .rack-unit .desc{ grid-area:desc; } .rack-unit .tag{ grid-area:tag; } }

  .rack-unit .id{
    font-family:'IBM Plex Mono'; font-size:12px; color:var(--blue);
    background:rgba(30,90,168,0.08); padding:6px 0; text-align:center; border-radius:3px;
  }
  .rack-unit .name{ font-family:'IBM Plex Sans Condensed'; font-weight:700; font-size:19px; }
  .rack-unit .desc{ color:var(--slate); font-size:14px; }
  .rack-unit .tag{
    font-family:'IBM Plex Mono'; font-size:11px; color:var(--amber);
    border:1px solid rgba(227,150,60,0.4); padding:6px 11px; border-radius:20px;
    white-space:nowrap; justify-self:end;
  }

  /* ---------- partners ---------- */
  .partners{ background:var(--paper-2); }
  .partner-row{
    display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between;
  }
  .partner-chip{
    flex:1; min-width:140px;
    background:var(--white); border:1px solid var(--line);
    padding:22px 18px; border-radius:6px; text-align:center;
    font-family:'IBM Plex Sans Condensed'; font-weight:700; font-size:17px; color:var(--ink-soft);
  }

  /* ---------- customers ---------- */
  .cust-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
  @media (max-width:800px){ .cust-grid{ grid-template-columns:repeat(2,1fr); } }
  .cust-card{ background:var(--paper); padding:34px 26px; }
  .cust-card .num{ font-family:'IBM Plex Mono'; font-size:12px; color:var(--slate); margin-bottom:20px; }
  .cust-card h3{ font-family:'IBM Plex Sans Condensed'; font-size:22px; margin-bottom:10px; }
  .cust-card p{ font-size:13.5px; color:var(--slate); }

  /* ---------- CTA / contact ---------- */
  .contact{ background:var(--ink); color:var(--white); }
  .contact .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:70px; }
  @media (max-width:900px){ .contact .wrap{ grid-template-columns:1fr; gap:40px; } }
  .contact h2{ font-size:34px; margin-bottom:18px; color:var(--white); max-width:420px; }
  .contact p.sub{ color:#B9C3CF; max-width:420px; margin-bottom:34px; font-size:15px; }

  .info-row{ display:flex; gap:16px; padding:16px 0; border-top:1px solid rgba(255,255,255,0.1); }
  .info-row:last-child{ border-bottom:1px solid rgba(255,255,255,0.1); }
  .info-row .k{ font-family:'IBM Plex Mono'; font-size:11px; color:#9FD2F2; text-transform:uppercase; letter-spacing:0.06em; width:110px; flex-shrink:0; padding-top:2px; }
  .info-row .v{ font-size:14.5px; color:#EDEFEB; }

  .form-card{ background:var(--ink-soft); border-radius:8px; padding:32px; border:1px solid rgba(255,255,255,0.08); }
  .field{ margin-bottom:16px; }
  .field label{ display:block; font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:#9FD2F2; margin-bottom:7px; }
  .field input, .field select, .field textarea{
    width:100%; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.16);
    border-radius:4px; padding:11px 12px; color:var(--white); font-family:'IBM Plex Sans'; font-size:14px;
  }
  .field textarea{ resize:vertical; min-height:70px; }
  .field input::placeholder, .field textarea::placeholder{ color:rgba(255,255,255,0.35); }
  .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  @media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
  .btn.submit{ width:100%; justify-content:center; background:var(--blue); border-color:var(--blue); margin-top:6px; padding:13px; }
  .btn.submit:hover{ background:var(--cyan); border-color:var(--cyan); }

  /* ---------- footer ---------- */
  footer{ background:#081527; color:rgba(255,255,255,0.55); padding:36px 0; }
  footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
  footer .f-left{ font-family:'IBM Plex Mono'; font-size:12px; }
  .social{ display:flex; gap:18px; }
  .social a{ font-family:'IBM Plex Mono'; font-size:12px; color:rgba(255,255,255,0.55); }
  .social a:hover{ color:var(--cyan); }
  /* page-specific additions */
  .page-hero{ padding-top:64px; padding-bottom:56px; border-bottom:1px solid var(--line); }
  .page-hero h1{ font-size:48px; max-width:640px; margin-bottom:20px; }
  .page-hero p.sub{ font-size:17px; color:var(--slate); max-width:560px; }

  .story{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; }
  @media (max-width:840px){ .story{ grid-template-columns:1fr; } }
  .story h2{ font-size:32px; margin-bottom:20px; max-width:420px; }
  .story .copy p{ color:var(--slate); margin-bottom:16px; font-size:15px; }
  .story .copy p:first-of-type{ color:var(--ink); font-size:17px; font-weight:500; }

  .timeline{ border-left:2px solid var(--line); padding-left:28px; margin-top:8px; }
  .t-item{ position:relative; padding-bottom:34px; }
  .t-item:last-child{ padding-bottom:0; }
  .t-item::before{ content:""; position:absolute; left:-33.5px; top:3px; width:9px; height:9px; border-radius:50%; background:var(--blue); box-shadow:0 0 0 4px rgba(30,90,168,0.15); }
  .t-item .yr{ font-family:'IBM Plex Mono'; font-size:12px; color:var(--blue-deep); letter-spacing:0.06em; margin-bottom:4px; }
  .t-item h4{ font-family:'IBM Plex Sans Condensed'; font-size:18px; margin-bottom:4px; }
  .t-item p{ font-size:13.5px; color:var(--slate); }

  .strength-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-top:8px; }
  @media (max-width:800px){ .strength-grid{ grid-template-columns:1fr; } }
  .strength-card{ background:var(--paper); padding:32px 26px; }
  .strength-card .mono-tag{ font-family:'IBM Plex Mono'; font-size:11px; color:var(--amber); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:14px; display:block; }
  .strength-card h3{ font-family:'IBM Plex Sans Condensed'; font-size:19px; margin-bottom:8px; }
  .strength-card p{ font-size:13.5px; color:var(--slate); }

  .coverage-panel{ background:var(--ink); border-radius:8px; padding:30px; color:var(--white); margin-top:8px; }
  .page-hero{ padding-top:64px; padding-bottom:48px; border-bottom:1px solid var(--line); }
  .page-hero h1{ font-size:48px; max-width:680px; margin-bottom:20px; }
  .page-hero p.sub{ font-size:17px; color:var(--slate); max-width:560px; }

  .cat-nav{ display:flex; flex-wrap:wrap; gap:10px; padding:24px 0; border-bottom:1px solid var(--line); }
  .cat-nav a{ font-family:'IBM Plex Mono'; font-size:12px; color:var(--slate); border:1px solid var(--line); padding:8px 14px; border-radius:20px; }
  .cat-nav a:hover{ color:var(--blue); border-color:var(--blue); }

  .cat-block{ padding:72px 0; border-bottom:1px solid var(--line); }
  .cat-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:36px; flex-wrap:wrap; }
  .cat-head .id{ font-family:'IBM Plex Mono'; font-size:12px; color:var(--blue); background:rgba(30,90,168,0.08); padding:4px 10px; border-radius:3px; margin-bottom:10px; display:inline-block; }
  .cat-head h2{ font-size:30px; max-width:520px; }
  .cat-head p{ color:var(--slate); font-size:14px; max-width:300px; }

  .item-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
  @media (max-width:760px){ .item-grid{ grid-template-columns:1fr; } }
  .item-card{ background:var(--paper); padding:26px; }
  .item-card h4{ font-family:'IBM Plex Sans Condensed'; font-size:18px; margin-bottom:8px; }
  .item-card p{ font-size:13.5px; color:var(--slate); }
  .item-card .brand-line{ margin-top:14px; font-family:'IBM Plex Mono'; font-size:11px; color:var(--amber); text-transform:uppercase; letter-spacing:0.05em; }
  .page-hero{ padding-top:64px; padding-bottom:48px; border-bottom:1px solid var(--line); }
  .page-hero h1{ font-size:48px; max-width:640px; margin-bottom:20px; }
  .page-hero p.sub{ font-size:17px; color:var(--slate); max-width:560px; }

  .filter-row{ display:flex; flex-wrap:wrap; gap:10px; padding:24px 0 40px; }
  .filter-row a{ font-family:'IBM Plex Mono'; font-size:12px; color:var(--slate); border:1px solid var(--line); padding:8px 14px; border-radius:20px; }
  .filter-row a.active{ color:var(--white); background:var(--ink); border-color:var(--ink); }

  .gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  @media (max-width:900px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .gallery-grid{ grid-template-columns:1fr; } }

  .g-card{ background:var(--white); border:1px solid var(--line); border-radius:6px; overflow:hidden; }
  .g-thumb{
    aspect-ratio:4.5/3; background:
      repeating-linear-gradient(135deg, var(--ink) 0px, var(--ink) 2px, var(--blue-deep) 2px, var(--blue-deep) 4px);
    position:relative; display:flex; align-items:flex-end; padding:16px;
  }
  .g-thumb::after{ position:absolute; top:14px; left:16px; font-family:'IBM Plex Mono'; font-size:10px; letter-spacing:0.08em; color:rgba(255,255,255,0.55); }
  .g-thumb span.tag{ font-family:'IBM Plex Mono'; font-size:11px; color:var(--white); background:rgba(0,0,0,0.35); padding:5px 10px; border-radius:20px; }
  .g-info{ padding:18px 18px 20px; }
  .g-info h4{ font-family:'IBM Plex Sans Condensed'; font-size:17px; margin-bottom:6px; }
  .g-info p{ font-size:13px; color:var(--slate); }

  .g-card.wide{ grid-column:span 2; }
  @media (max-width:900px){ .g-card.wide{ grid-column:span 1; } }
  .page-hero{ padding-top:64px; padding-bottom:48px; }
  .page-hero h1{ font-size:48px; max-width:620px; margin-bottom:20px; }
  .page-hero p.sub{ font-size:17px; color:var(--slate); max-width:520px; }

  .map-block{
    aspect-ratio:16/6; background:
      repeating-linear-gradient(45deg, var(--paper-2) 0px, var(--paper-2) 1px, var(--paper) 1px, var(--paper) 24px);
    border:1px solid var(--line); border-radius:8px; position:relative;
    display:flex; align-items:center; justify-content:center; margin-bottom:70px;
  }
  .map-pin{ font-family:'IBM Plex Mono'; font-size:12px; background:var(--ink); color:var(--white); padding:10px 16px; border-radius:20px; display:flex; align-items:center; gap:8px; }
  .map-pin::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--amber); }

  .channels{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-bottom:70px; }
  @media (max-width:800px){ .channels{ grid-template-columns:1fr; } }
  .channel-card{ background:var(--paper); padding:30px 26px; }
  .channel-card .k{ font-family:'IBM Plex Mono'; font-size:11px; color:var(--blue-deep); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:12px; display:block; }
  .channel-card h4{ font-family:'IBM Plex Sans Condensed'; font-size:19px; margin-bottom:6px; }
  .channel-card p{ font-size:13.5px; color:var(--slate); }

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS — mobile nav + fluid type/spacing across all pages
   ========================================================================== */

/* Mobile menu toggle button (hidden on desktop) */
.menu-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:36px; height:36px;
  background:none; border:none; cursor:pointer;
  padding:0;
}
.menu-toggle span{
  display:block; width:100%; height:2px;
  background:var(--ink); border-radius:2px;
  transition:transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle.is-active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2){ opacity:0; }
.menu-toggle.is-active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* Menu items: strip default <li> bullets/margins since WP wraps items in <li> */
nav.links li{ list-style:none; margin:0; padding:0; }

@media (max-width:900px){
  .menu-toggle{ display:flex; }

  nav.links{
    display:none;
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--white);
    border-bottom:1px solid var(--line);
    box-shadow:0 16px 30px -18px rgba(11,28,51,0.25);
    flex-direction:column;
    gap:0;
    padding:8px 0;
  }
  nav.links.is-open{ display:flex; }
  nav.links li{ width:100%; }
  nav.links a{
    display:block;
    padding:14px 32px;
    font-size:15px;
    border-bottom:1px solid var(--line);
  }
  nav.links li:last-child a{ border-bottom:none; }

  header .nav{ position:relative; flex-wrap:wrap; }
}

@media (max-width:520px){
  .logo{ font-size:17px; gap:8px; }
  .logo small{ font-size:9px; }
  .logo .mark{ width:26px; height:26px; }
  .btn{ display: none;}
  .nav-right{ gap:12px; }
}

/* Headline / section-title fluid sizing on small screens */
@media (max-width:600px){
  .page-hero h1{ font-size:32px !important; }
  .section-head h2{ font-size:26px; }
  .cat-head h2{ font-size:24px; }
  .story h2{ font-size:26px; }
  .contact h2{ font-size:26px; }
  .strip p.lead{ font-size:17px; }
  h1.hero-h{ font-size:32px; }
  .hero-sub{ font-size:15.5px; }
}

/* Hero stat row wraps cleanly on narrow phones */
@media (max-width:480px){
  .hero-meta{ flex-wrap:wrap; gap:20px 28px; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-cta .btn{ justify-content:center; }
}

/* Status panel & rack units keep breathing room on very small screens */
@media (max-width:480px){
  .status-panel{ padding:20px; }
  .rack-unit{ padding:20px 0; }
  .rack-unit .tag{ justify-self:start; }
  .form-card{ padding:22px 18px; }
}

/* Section vertical rhythm tightens on phones */
@media (max-width:480px){
  section{ padding:48px 0; }
  .cat-block{ padding:48px 0; }
}

/* Footer stacks and centers on narrow screens */
@media (max-width:480px){
  footer .wrap{ flex-direction:column; text-align:center; gap:14px; }
}

/* Contact map keeps a sane minimum height on phones instead of going flat */
@media (max-width:600px){
  .map-block{ aspect-ratio:4/5; }
}
