/*
Theme Name: TWS Theme
Theme URI: https://thewebsitespace.com
Author: The Website Space
Author URI: https://thewebsitespace.com
Description: Custom holding-page theme built by The Website Space. Single-page React-rendered landing page with a wp_mail()-powered contact form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tws-theme
*/

  :root{
    --green:#00d387;
    --green-deep:#00b574;
    --ink:#0a0a0a;
    --ink-2:#141414;
    --line:rgba(255,255,255,0.10);
    --line-strong:rgba(255,255,255,0.22);
    --muted:rgba(255,255,255,0.62);
    --paper:#f4f4f1;
  }
  *{box-sizing:border-box}
  html,body{margin:0;padding:0;background:var(--ink);color:#fff;font-family:'Work Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
  body{overflow-x:hidden}
  a{color:inherit;text-decoration:none}
  button{font-family:inherit}
  img{display:block;max-width:100%}

  /* ===== Nav ===== */
  .nav{
    position:fixed; top:0; left:0; right:0; z-index:50;
    display:flex; align-items:center; justify-content:space-between;
    padding:22px 40px;
    transition:background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
    border-bottom:1px solid transparent;
  }
  .nav.scrolled{background:rgba(10,10,10,0.75); backdrop-filter:blur(14px); border-bottom-color:var(--line)}
  .logo{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:-0.01em;font-size:18px}
  .logo img{
    height:42px; width:auto; display:block;
    /* force the logo to render white regardless of its source color */
    filter:brightness(0) invert(1);
  }
  .logo.foot img{height:48px}
  .logo-text-fallback{display:none}
  .nav-right{display:flex;align-items:center;gap:28px}
  .nav-phone{display:flex;align-items:center;gap:10px;font-weight:500;font-size:14px;color:rgba(255,255,255,0.85)}
  .nav-phone .dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(0,211,135,0.18);animation:pulse 2s infinite}
  @keyframes pulse{0%,100%{box-shadow:0 0 0 4px rgba(0,211,135,0.18)}50%{box-shadow:0 0 0 8px rgba(0,211,135,0.05)}}
  .nav-cta{
    background:var(--green); color:#03261a;
    border:none; padding:12px 18px; border-radius:999px;
    font-weight:700; font-size:14px; cursor:pointer;
    transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .nav-cta:hover{background:#1ee598;transform:translateY(-1px);box-shadow:0 10px 30px -10px rgba(0,211,135,0.55)}

  /* ===== Hero ===== */
  .hero{
    position:relative; min-height:100vh; padding:120px 40px 60px;
    display:flex; flex-direction:column; justify-content:space-between;
    overflow:hidden;
  }
  .hero-video, .hero-video video{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
  }
  .hero-veil{
    position:absolute; inset:0; z-index:1;
    background:
      radial-gradient(120% 80% at 0% 100%, rgba(0,211,135,0.18) 0%, transparent 55%),
      linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 35%, rgba(10,10,10,0.85) 100%);
  }
  .hero-grain{
    position:absolute; inset:0; z-index:2; pointer-events:none; opacity:.5; mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }
  .hero-inner{position:relative; z-index:3; display:flex; flex-direction:column; gap:48px; flex:1; justify-content:space-between}

  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    padding:8px 14px; border:1px solid var(--line-strong); border-radius:999px;
    font-size:12px; letter-spacing:0.14em; text-transform:uppercase; font-weight:600;
    backdrop-filter:blur(8px); background:rgba(0,0,0,0.25);
    align-self:flex-start;
  }
  .eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--green)}

  h1.headline{
    font-size:clamp(48px, 9vw, 148px); line-height:1.05; letter-spacing:-0.04em;
    font-weight:800; margin:24px 0 0; max-width:14ch;
    text-wrap:balance;
  }
  h1.headline > span.line{display:block; padding-block:0.04em}
  h1.headline .accent{color:var(--green); font-style:italic; font-weight:500}
  h1.headline .stroke{
    -webkit-text-stroke:1.5px rgba(255,255,255,0.85);
    color:transparent;
  }

  .hero-meta{
    display:grid; grid-template-columns: 1fr auto; align-items:end; gap:32px; padding-top:32px;
    border-top:1px solid var(--line);
  }
  .hero-sub{
    max-width:46ch; color:rgba(255,255,255,0.82); font-size:18px; line-height:1.55; font-weight:400;
  }
  .hero-actions{display:flex; align-items:center; gap:16px}
  .btn-primary{
    background:var(--green); color:#03261a; border:none;
    padding:18px 26px; border-radius:999px; font-weight:700; font-size:16px;
    cursor:pointer; display:inline-flex; align-items:center; gap:12px;
    transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .btn-primary:hover{background:#1ee598;transform:translateY(-2px);box-shadow:0 16px 40px -16px rgba(0,211,135,0.7)}
  .btn-primary .arrow{
    width:28px;height:28px;border-radius:50%;background:#03261a;color:var(--green);
    display:grid;place-items:center;font-weight:900;font-size:14px;
    transition:transform .25s ease;
  }
  .btn-primary:hover .arrow{transform:translateX(4px)}
  .btn-ghost{
    background:transparent; color:#fff; border:1px solid var(--line-strong);
    padding:18px 22px; border-radius:999px; font-weight:600; font-size:15px;
    cursor:pointer; transition:background .2s ease, border-color .2s ease;
  }
  .btn-ghost:hover{background:rgba(255,255,255,0.08); border-color:#fff}

  .hero-marquee{
    position:relative; z-index:3; margin-top:48px;
    display:flex; gap:48px; align-items:center;
    color:rgba(255,255,255,0.5); font-size:14px; font-weight:500; letter-spacing:0.06em;
    text-transform:uppercase;
    overflow:hidden;
  }
  .hero-marquee-track{display:flex; gap:48px; align-items:center; animation:marquee 30s linear infinite; white-space:nowrap}
  @keyframes marquee{from{transform:translateX(0)} to{transform:translateX(-50%)}}
  .hero-marquee .star{color:var(--green)}

  /* ===== Section frame ===== */
  section{position:relative; padding:120px 40px}
  .container{max-width:1320px; margin:0 auto}
  .section-eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-size:12px; letter-spacing:0.18em; text-transform:uppercase; font-weight:700;
    color:var(--green);
  }
  .section-eyebrow .bar{width:28px; height:1px; background:var(--green)}
  h2.section-title{
    font-size:clamp(36px,5.4vw,84px); line-height:0.98; letter-spacing:-0.035em;
    font-weight:800; margin:18px 0 0; max-width:18ch; text-wrap:balance;
  }
  h2.section-title .accent{color:var(--green); font-style:italic; font-weight:500}

  /* ===== Services ===== */
  .services{background:var(--ink); border-top:1px solid var(--line)}
  .services-head{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:end; margin-bottom:64px}
  .services-head p{color:var(--muted); font-size:18px; line-height:1.6; max-width:48ch; margin:0}
  .services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:24px; overflow:hidden}
  .service{
    background:var(--ink-2); padding:40px 32px 32px;
    display:flex; flex-direction:column; gap:24px; min-height:380px;
    position:relative; cursor:pointer; transition:background .3s ease;
    border:none; color:inherit; text-align:left; font:inherit;
    width:100%;
  }
  .service:hover{background:#1a1a1a}
  .service:focus-visible{outline:2px solid var(--green); outline-offset:-2px}
  .service-tag{
    display:inline-flex; align-items:center; gap:8px;
    margin-top:10px; font-size:12px; font-weight:600; letter-spacing:0.08em;
    text-transform:uppercase; color:var(--green);
  }
  .service-tag .dot{width:6px;height:6px;border-radius:50%;background:var(--green)}
  .service-more{
    margin-top:auto; font-size:13px; font-weight:600; letter-spacing:0.04em;
    color:rgba(255,255,255,0.85); display:inline-flex; align-items:center; gap:8px;
    border-top:1px solid var(--line); padding-top:20px;
    transition:color .3s ease;
  }
  .service-more span{transition:transform .3s ease}
  .service:hover .service-more{color:var(--green)}
  .service:hover .service-more span{transform:translateX(4px)}
  .service-num{font-size:13px; color:var(--muted); font-weight:600; letter-spacing:0.08em}
  .service-icon{
    width:64px; height:64px; border-radius:18px;
    background:rgba(0,211,135,0.08); border:1px solid rgba(0,211,135,0.25);
    display:grid; place-items:center; color:var(--green);
    transition:background .3s ease, transform .3s ease;
  }
  .service:hover .service-icon{background:var(--green); color:#03261a; transform:rotate(-6deg) scale(1.05)}
  .service-icon svg{width:32px;height:32px}
  .service h3{font-size:28px; font-weight:700; letter-spacing:-0.02em; margin:0; line-height:1.1}
  .service p{color:var(--muted); font-size:15px; line-height:1.55; margin:0; flex:1}
  .service-arrow{
    position:absolute; top:32px; right:32px;
    width:36px; height:36px; border-radius:50%;
    border:1px solid var(--line-strong);
    display:grid; place-items:center; color:#fff;
    transition:background .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
  }
  .service:hover .service-arrow{background:var(--green); color:#03261a; transform:rotate(-45deg); border-color:var(--green)}

  /* ===== Why ===== */
  .why{background:var(--ink); border-top:1px solid var(--line); overflow:hidden}
  .why .container{display:grid; grid-template-columns:1fr 1.05fr; gap:80px; align-items:center}
  .why-copy h2.section-title{margin-bottom:0}
  .why-lead{color:var(--muted); font-size:18px; line-height:1.65; max-width:52ch; margin:28px 0 0}
  .why-points{display:grid; grid-template-columns:1fr 1fr; gap:16px 24px; margin-top:36px; padding-top:32px; border-top:1px solid var(--line)}
  .why-point{display:flex; gap:12px; align-items:flex-start}
  .why-point .tick{
    width:22px;height:22px;border-radius:50%;background:rgba(0,211,135,0.12);
    border:1px solid rgba(0,211,135,0.35); color:var(--green);
    display:grid;place-items:center; flex-shrink:0; margin-top:2px;
  }
  .why-point .tick svg{width:12px;height:12px}
  .why-point span.t{font-size:15px; color:#fff; font-weight:500; line-height:1.4}

  .why-media{
    position:relative; aspect-ratio:4/5; max-height:680px;
    border-radius:28px; overflow:hidden; border:1px solid var(--line);
    background:linear-gradient(135deg,#0a0a0a 0%, #0d2820 60%, #03261a 100%);
  }
  .why-media video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
  .why-media .overlay{
    position:absolute; left:24px; right:24px; bottom:24px;
    display:flex; align-items:center; justify-content:space-between; gap:16px;
    color:#fff; z-index:2;
  }
  .why-media .overlay-card{
    display:flex; align-items:center; gap:12px;
    padding:12px 16px; border-radius:999px;
    background:rgba(10,10,10,0.7); backdrop-filter:blur(14px);
    border:1px solid var(--line-strong); font-size:13px; font-weight:600;
  }
  .why-media .overlay-card .dot{width:8px;height:8px;border-radius:50%;background:var(--green);animation:pulse 2s infinite}
  .why-media .badge-stat{
    padding:14px 18px; border-radius:18px; background:rgba(10,10,10,0.7); backdrop-filter:blur(14px);
    border:1px solid var(--line-strong);
    display:flex; flex-direction:column; gap:2px; text-align:right;
  }
  .why-media .badge-stat .num{font-size:24px; font-weight:800; letter-spacing:-0.02em; color:var(--green); line-height:1}
  .why-media .badge-stat .lab{font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:rgba(255,255,255,0.7); font-weight:600}
  .why-media .gloss{
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background:linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.55) 100%);
  }

  /* ===== Reviews ===== */
  .reviews{background:var(--paper); color:var(--ink); border-top:1px solid var(--line); overflow:hidden}
  .reviews-head{display:grid; grid-template-columns:1.05fr 1fr; gap:60px; align-items:end; margin-bottom:56px}
  .reviews h2.section-title{color:var(--ink)}
  .reviews .section-eyebrow{color:var(--green-deep)}
  .reviews .section-eyebrow .bar{background:var(--green-deep)}
  .reviews-lead{color:#3a3a3a; font-size:18px; line-height:1.65; max-width:52ch; margin:0}
  .reviews-summary{
    display:flex; align-items:center; gap:18px;
    padding:18px 22px; background:#fff; border:1px solid rgba(0,0,0,0.08);
    border-radius:999px; align-self:flex-end;
    box-shadow:0 10px 40px -28px rgba(0,0,0,0.4);
  }
  .reviews-summary .g-mark{
    width:36px;height:36px;border-radius:50%; background:#fff;
    border:1px solid rgba(0,0,0,0.1); display:grid; place-items:center;
    font-weight:800; font-size:18px; letter-spacing:-0.04em;
  }
  .reviews-summary .g-mark span{
    background:linear-gradient(135deg,#4285F4 0%,#34A853 40%,#FBBC05 70%,#EA4335 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .reviews-summary .score{font-size:22px; font-weight:800; letter-spacing:-0.02em}
  .reviews-summary .stars{display:flex; gap:2px; color:var(--green-deep); font-size:16px}
  .reviews-summary .label{font-size:13px; color:#6a6a6a; font-weight:500}

  .reviews-rail-wrap{position:relative; margin:0 -40px; padding:0 40px}
  .reviews-rail-wrap::before, .reviews-rail-wrap::after{
    content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none;
  }
  .reviews-rail-wrap::before{left:0; background:linear-gradient(90deg, var(--paper), transparent)}
  .reviews-rail-wrap::after{right:0; background:linear-gradient(270deg, var(--paper), transparent)}
  .reviews-rail{display:flex; gap:24px; overflow-x:auto; scroll-behavior:smooth; padding:8px 4px 24px; scrollbar-width:none}
  .reviews-rail::-webkit-scrollbar{display:none}
  .review-card{
    flex:0 0 360px; background:#fff; border:1px solid rgba(0,0,0,0.08);
    border-radius:24px; padding:28px; display:flex; flex-direction:column; gap:16px;
    box-shadow:0 18px 50px -32px rgba(0,0,0,0.35);
  }
  .review-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
  .review-author{display:flex; align-items:center; gap:12px}
  .review-avatar{
    width:42px;height:42px;border-radius:50%; display:grid; place-items:center;
    color:#fff; font-weight:700; font-size:16px; letter-spacing:-0.01em;
  }
  .review-name{font-weight:700; font-size:15px; letter-spacing:-0.01em}
  .review-stars{display:flex; gap:2px; color:var(--green); font-size:14px; margin-top:2px}
  .review-google{
    width:28px;height:28px;border-radius:50%; border:1px solid rgba(0,0,0,0.08);
    display:grid; place-items:center; font-weight:800; font-size:14px;
  }
  .review-google span{
    background:linear-gradient(135deg,#4285F4 0%,#34A853 40%,#FBBC05 70%,#EA4335 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .review-body{color:#2a2a2a; font-size:15px; line-height:1.6; margin:0; flex:1}
  .review-foot{font-size:12px; color:#8a8a8a; font-weight:500; letter-spacing:0.02em; display:flex; align-items:center; gap:8px}
  .review-foot .dot{width:3px;height:3px;border-radius:50%;background:#cfcfcf}

  .reviews-controls{display:flex; align-items:center; justify-content:space-between; margin-top:24px; gap:24px}
  .reviews-nav{display:flex; gap:10px}
  .review-btn{
    width:48px;height:48px;border-radius:50%; border:1px solid rgba(0,0,0,0.15);
    background:#fff; cursor:pointer; display:grid; place-items:center; color:#0a0a0a;
    transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  }
  .review-btn:hover{background:#0a0a0a; color:#fff; border-color:#0a0a0a; transform:translateY(-1px)}
  .review-btn svg{width:18px;height:18px}
  .review-link{font-size:13px; color:#3a3a3a; font-weight:500; display:inline-flex; align-items:center; gap:8px}
  .review-link a{font-weight:700; color:var(--green-deep); border-bottom:1px solid currentColor; padding-bottom:1px}
  .review-link a:hover{color:#0a0a0a}

  /* ===== Contact ===== */
  .contact{background:var(--ink); border-top:1px solid var(--line); overflow:hidden}
  .contact .container{display:grid; grid-template-columns:1.05fr 1fr; gap:80px; align-items:start}
  .contact-left{position:sticky; top:120px}
  .contact-lead{color:var(--muted); font-size:18px; line-height:1.6; max-width:42ch; margin:24px 0 40px}
  .contact-details{display:flex; flex-direction:column; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:20px; overflow:hidden}
  .contact-detail{
    background:var(--ink-2); padding:24px 28px;
    display:flex; align-items:center; gap:20px;
    transition:background .25s ease;
  }
  .contact-detail:hover{background:#1a1a1a}
  .contact-detail .ico{
    width:44px;height:44px;border-radius:12px;
    background:rgba(0,211,135,0.08);border:1px solid rgba(0,211,135,0.25);
    display:grid;place-items:center;color:var(--green);
  }
  .contact-detail .ico svg{width:20px;height:20px}
  .contact-detail .label{font-size:12px; color:var(--muted); letter-spacing:0.12em; text-transform:uppercase; font-weight:600}
  .contact-detail .value{font-size:18px; font-weight:600; letter-spacing:-0.01em; margin-top:2px}

  /* Form */
  .form{
    background:var(--ink-2); border:1px solid var(--line); border-radius:24px;
    padding:40px; display:flex; flex-direction:column; gap:22px;
  }
  .form-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:8px}
  .form-header h3{margin:0; font-size:22px; font-weight:700; letter-spacing:-0.01em}
  .form-tag{font-size:12px; color:var(--green); font-weight:600; letter-spacing:0.1em; text-transform:uppercase; display:flex; align-items:center; gap:8px}
  .form-tag .dot{width:6px;height:6px;border-radius:50%;background:var(--green);animation:pulse 2s infinite}
  .row{display:grid; grid-template-columns:1fr 1fr; gap:16px}
  .field{display:flex; flex-direction:column; gap:8px; position:relative}
  .field label{font-size:12px; color:var(--muted); letter-spacing:0.1em; text-transform:uppercase; font-weight:600}
  .field input, .field textarea, .field select{
    background:#0a0a0a; border:1px solid var(--line); border-radius:12px;
    padding:14px 16px; color:#fff; font-family:inherit; font-size:15px;
    transition:border-color .2s ease, background .2s ease;
    width:100%;
  }
  .field input:focus, .field textarea:focus, .field select:focus{
    outline:none; border-color:var(--green); background:#0c0c0c;
    box-shadow:0 0 0 4px rgba(0,211,135,0.10);
  }
  .field textarea{resize:vertical; min-height:120px; font-family:inherit}
  .field.error input, .field.error textarea, .field.error select{border-color:#ff6b6b; box-shadow:0 0 0 4px rgba(255,107,107,0.10)}
  .field .err{font-size:12px; color:#ff8585; margin-top:-2px}
  .form-submit{
    margin-top:6px; display:flex; align-items:center; justify-content:space-between; gap:16px;
  }
  .form-note{font-size:12px; color:var(--muted); max-width:30ch; line-height:1.5}
  .submit-btn{
    background:var(--green); color:#03261a; border:none;
    padding:16px 24px; border-radius:999px; font-weight:700; font-size:15px;
    cursor:pointer; display:inline-flex; align-items:center; gap:12px;
    transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .submit-btn:hover:not(:disabled){background:#1ee598;transform:translateY(-1px);box-shadow:0 16px 40px -16px rgba(0,211,135,0.7)}
  .submit-btn:disabled{opacity:.7; cursor:not-allowed}
  .submit-btn .arrow{width:24px;height:24px;border-radius:50%;background:#03261a;color:var(--green);display:grid;place-items:center;font-weight:900;font-size:12px}

  .form-success{
    background:linear-gradient(135deg, rgba(0,211,135,0.10), rgba(0,211,135,0.02));
    border:1px solid rgba(0,211,135,0.35);
    border-radius:24px; padding:48px 40px;
    display:flex; flex-direction:column; align-items:center; text-align:center; gap:16px;
  }
  .form-success .check{
    width:64px;height:64px;border-radius:50%;background:var(--green);color:#03261a;
    display:grid;place-items:center;font-size:28px;
  }
  .form-success h3{margin:0; font-size:26px; font-weight:700; letter-spacing:-0.01em}
  .form-success p{margin:0; color:var(--muted); max-width:36ch; line-height:1.55}

  /* ===== Footer ===== */
  footer{
    background:#050505; border-top:1px solid var(--line);
    padding:80px 40px 40px;
  }
  .foot-grid{
    max-width:1320px; margin:0 auto;
    display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:60px;
    padding-bottom:60px; border-bottom:1px solid var(--line);
  }
  .foot-grid h4{font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--muted); font-weight:600; margin:0 0 18px}
  .foot-grid ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px}
  .foot-grid a{color:#cfcfcf; font-size:15px; font-weight:500; transition:color .2s ease}
  .foot-grid a:hover{color:var(--green)}
  .foot-brand .blurb{color:var(--muted); margin:18px 0 24px; max-width:38ch; line-height:1.6; font-size:15px}
  .socials{display:flex; gap:10px}
  .socials a{
    width:42px;height:42px;border-radius:50%;border:1px solid var(--line-strong);
    display:grid;place-items:center;color:#fff;transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  }
  .socials a:hover{background:var(--green); color:#03261a; border-color:var(--green); transform:translateY(-2px)}
  .socials svg{width:18px;height:18px}
  .foot-bottom{
    max-width:1320px; margin:0 auto; padding-top:32px;
    display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
    color:var(--muted); font-size:13px;
  }
  .foot-bottom .new-site{display:inline-flex; align-items:center; gap:8px; color:var(--green); font-weight:600; letter-spacing:0.04em}
  .foot-bottom .new-site .dot{width:6px;height:6px;border-radius:50%;background:var(--green);animation:pulse 2s infinite}

  /* ===== Reveal ===== */
  .reveal{opacity:0; transform:translateY(24px); transition:opacity .9s ease, transform .9s ease}
  .reveal.in{opacity:1; transform:none}

  /* ===== Responsive ===== */
  /* ===== Service modal extras ===== */
  .service-modal-hero{
    display:flex; align-items:center; gap:18px; padding:20px 32px;
    background:linear-gradient(135deg, rgba(0,211,135,0.10), rgba(0,211,135,0.02));
    border-bottom:1px solid var(--line);
  }
  .service-modal-hero .ico{
    width:56px;height:56px;border-radius:16px;
    background:rgba(0,211,135,0.12); border:1px solid rgba(0,211,135,0.3);
    display:grid;place-items:center;color:var(--green);
    flex-shrink:0;
  }
  .service-modal-hero .ico svg{width:28px;height:28px}
  .service-modal-hero .tag{
    font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color:var(--green); font-weight:700;
  }
  .service-modal-cta{
    margin-top:20px; display:flex; gap:12px; flex-wrap:wrap;
    padding-top:20px; border-top:1px solid var(--line);
  }
  .modal-body p.lead{font-size:17px; line-height:1.6; color:rgba(255,255,255,0.92); margin-bottom:16px}

  /* ===== Modal ===== */
  .modal-backdrop{
    position:fixed; inset:0; background:rgba(5,5,5,0.78); backdrop-filter:blur(8px);
    z-index:200; display:flex; align-items:center; justify-content:center; padding:32px;
    animation:fade-in .25s ease;
  }
  @keyframes fade-in{from{opacity:0} to{opacity:1}}
  .modal{
    background:var(--ink-2); border:1px solid var(--line);
    border-radius:24px; width:100%; max-width:780px; max-height:88vh;
    display:flex; flex-direction:column; overflow:hidden;
    box-shadow:0 60px 160px -40px rgba(0,0,0,0.8);
    animation:modal-in .35s cubic-bezier(0.16,1,0.3,1);
  }
  @keyframes modal-in{from{transform:translateY(20px) scale(0.98); opacity:0} to{transform:none; opacity:1}}
  .modal-head{
    display:flex; align-items:center; justify-content:space-between;
    padding:24px 32px; border-bottom:1px solid var(--line); flex-shrink:0;
  }
  .modal-head h3{margin:0; font-size:22px; font-weight:700; letter-spacing:-0.02em}
  .modal-head .badge{font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--green); font-weight:700; margin-top:4px; display:block}
  .modal-close{
    width:40px; height:40px; border-radius:50%; border:1px solid var(--line-strong);
    background:transparent; color:#fff; cursor:pointer; display:grid; place-items:center;
    transition:background .2s ease, border-color .2s ease;
  }
  .modal-close:hover{background:rgba(255,255,255,0.08); border-color:#fff}
  .modal-body{
    overflow-y:auto; padding:28px 32px 32px; color:rgba(255,255,255,0.78);
    font-size:15px; line-height:1.7;
  }
  .modal-body h4{font-size:13px; letter-spacing:0.14em; text-transform:uppercase; color:var(--green); margin:28px 0 8px; font-weight:700}
  .modal-body h4:first-child{margin-top:0}
  .modal-body p{margin:0 0 12px}
  .modal-body ul{margin:0 0 14px; padding-left:20px}
  .modal-body li{margin:4px 0}
  .modal-body strong{color:#fff; font-weight:600}
  .modal-body a{color:var(--green); border-bottom:1px solid rgba(0,211,135,0.35)}
  .modal-body a:hover{border-bottom-color:var(--green)}

  @media (max-width: 960px){
    .nav{padding:16px 22px}
    .nav-phone{display:none}
    .hero{padding:110px 22px 40px}
    .hero-meta{grid-template-columns:1fr; gap:24px}
    section{padding:80px 22px}
    .services-head{grid-template-columns:1fr; gap:24px}
    .services-grid{grid-template-columns:1fr}
    .why .container{grid-template-columns:1fr; gap:40px}
    .why-media{aspect-ratio:1/1; max-height:none}
    .why-points{grid-template-columns:1fr}
    .reviews-head{grid-template-columns:1fr; gap:24px; align-items:flex-start}
    .reviews-summary{align-self:flex-start}
    .reviews-rail-wrap{margin:0 -22px; padding:0 22px}
    .review-card{flex-basis:300px}
    .contact .container{grid-template-columns:1fr; gap:48px}
    .contact-left{position:static}
    .form{padding:28px}
    .row{grid-template-columns:1fr}
    .foot-grid{grid-template-columns:1fr 1fr; gap:40px}
    .foot-bottom{flex-direction:column; align-items:flex-start}
    .modal-backdrop{padding:16px}
    .modal-head{padding:20px 22px}
    .modal-body{padding:22px}
  }
  @media (max-width: 560px){
    .foot-grid{grid-template-columns:1fr}
    .form-submit{flex-direction:column; align-items:flex-start}
  }
