/* ===========================================================
   Titanium Tarps — high-rise enclosure flagship
   Dark architectural, steel-blue brand accent
   =========================================================== */

:root{
  --ink:        #0b0e13;
  --ink-2:      #0f141b;
  --panel:      #141a23;
  --panel-2:    #1a2230;
  --line:       rgba(255,255,255,.10);
  --line-2:     rgba(255,255,255,.06);

  --blue:       #1c6491;   /* brand steel blue */
  --blue-bright:#2f93cf;   /* accent on dark */
  --blue-light: #6fc1e8;
  --blue-deep:  #134a6d;

  --white:      #f4f7fa;
  --titanium:   #c6cfd8;
  --muted:      #8a97a6;
  --muted-2:    #6b7785;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;

  --f-head: "Archivo", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:hidden; }
body{
  margin:0;
  background:var(--ink);
  color:var(--titanium);
  font-family:var(--f-body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding-inline:var(--pad); }

/* ---------- Type ---------- */
h1,h2,h3,h4{ font-family:var(--f-head); color:var(--white); margin:0; letter-spacing:-.01em; }
.h-display{
  font-weight:800;
  font-size:clamp(2rem, 5vw, 3.4rem);
  line-height:1.04;
  letter-spacing:-.025em;
}
.h-display--center{ text-align:center; }
.text-white{ color:var(--white); }
.text-white-80{ color:rgba(244,247,250,.8); }
.text-white-70{ color:rgba(244,247,250,.7); }
.text-white-60{ color:rgba(244,247,250,.6); }
.text-blue{ color:var(--blue-bright); }
.text-blue-light{ color:var(--blue-light); }

.eyebrow{
  font-family:var(--f-head);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 18px;
}
.eyebrow--center{ text-align:center; }
.eyebrow--blue{ color:var(--blue-bright); }
.eyebrow--white{ color:rgba(255,255,255,.65); }

.lead{ font-size:clamp(1.05rem, 1.6vw, 1.25rem); color:var(--titanium); line-height:1.65; }
.lead--center{ text-align:center; }
.lead--narrow{ max-width:720px; margin-inline:auto; }
.lead--strong{ color:var(--white); font-weight:600; }

.footnote{ font-size:.85rem; color:var(--muted-2); }
.footnote--center{ text-align:center; max-width:680px; margin-inline:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family:var(--f-head); font-weight:700; font-size:.95rem;
  padding:.85em 1.4em; border-radius:999px; border:1.5px solid transparent;
  cursor:pointer; transition:transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn--lg{ font-size:1.02rem; padding:1em 1.7em; }
.btn--block{ width:100%; }
.btn--blue{ background:var(--blue-bright); color:#04121c; }
.btn--blue:hover{ background:var(--blue-light); }
.btn--ghost{ background:transparent; border-color:var(--line); color:var(--white); }
.btn--ghost-light{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.35); color:var(--white); backdrop-filter:blur(6px); }
.btn--ghost-light:hover{ background:rgba(255,255,255,.14); }

/* ---------- Nav ---------- */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:50;
  display:flex; align-items:center; gap:24px;
  padding:14px var(--pad);
  background:rgba(11,14,19,.55);
  backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:background .25s ease, border-color .25s ease, padding .25s ease;
}
.nav.is-scrolled{ background:rgba(11,14,19,.92); border-bottom-color:var(--line); padding-block:10px; }
.nav__logo img{ height:40px; width:auto; }
.nav__links{ display:flex; gap:26px; margin-left:8px; }
.nav__links a{ font-size:.93rem; font-weight:500; color:var(--titanium); transition:color .15s; }
.nav__links a:hover{ color:var(--white); }
.nav__actions{ display:flex; align-items:center; gap:18px; margin-left:auto; }
.nav__phone{ font-family:var(--f-head); font-weight:700; font-size:.95rem; color:var(--white); }
.nav__phone:hover{ color:var(--blue-light); }
.nav__burger{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; margin-left:auto; }
.nav__burger span{ width:24px; height:2px; background:var(--white); transition:.25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0; z-index:45;
  display:flex; flex-direction:column; justify-content:center; gap:8px;
  padding:80px var(--pad) 40px;
  background:rgba(8,11,16,.98); backdrop-filter:blur(8px);
  transform:translateY(-100%); transition:transform .35s cubic-bezier(.7,0,.2,1);
}
.mobile-menu.is-open{ transform:translateY(0); }
.mobile-menu a:not(.btn){ font-family:var(--f-head); font-weight:700; font-size:1.5rem; color:var(--white); padding:12px 0; border-bottom:1px solid var(--line-2); }
.mobile-menu .btn{ margin-top:14px; }

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:100svh; display:flex; align-items:flex-end; overflow:hidden; }
.hero__media{ position:absolute; inset:0; z-index:0; }
.hero__img{ width:100%; height:100%; object-fit:cover; object-position:center; filter:saturate(1.05) contrast(1.02); }
.hero__scrim{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(11,14,19,.55) 0%, rgba(11,14,19,.25) 30%, rgba(11,14,19,.75) 78%, var(--ink) 100%),
    radial-gradient(120% 90% at 15% 90%, rgba(19,74,109,.55), transparent 60%);
}
.hero__content{ position:relative; z-index:2; width:100%; max-width:var(--maxw); margin:0 auto; padding:0 var(--pad) clamp(48px, 9vh, 110px); }
.hero__eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--f-head); font-weight:600; font-size:.8rem; letter-spacing:.06em;
  color:var(--white); background:rgba(255,255,255,.08);
  border:1px solid var(--line); border-radius:999px; padding:8px 16px; margin-bottom:24px;
  backdrop-filter:blur(6px);
}
.hero__eyebrow .dot{ width:8px; height:8px; border-radius:50%; background:var(--blue-bright); box-shadow:0 0 12px var(--blue-bright); }
.hero__title{ font-family:var(--f-head); font-weight:900; font-size:clamp(2.7rem, 8vw, 6rem); line-height:.98; letter-spacing:-.03em; color:var(--white); margin-bottom:24px; overflow-wrap:break-word; }
.hero__title .line{ display:block; }
.hero__title em{ font-style:normal; color:var(--blue-light); }
.hero__sub{ max-width:620px; font-size:clamp(1.05rem,1.7vw,1.3rem); color:rgba(244,247,250,.88); line-height:1.6; margin-bottom:34px; overflow-wrap:break-word; }
.hero__ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:42px; }
.hero__trust{ list-style:none; display:flex; flex-wrap:wrap; gap:14px 40px; margin:0; padding:28px 0 0; border-top:1px solid var(--line); }
.hero__trust li{ font-size:.95rem; color:var(--titanium); }
.hero__trust strong{ display:block; font-family:var(--f-head); font-weight:800; font-size:1.5rem; color:var(--white); line-height:1.1; }
.hero__scroll{ position:absolute; bottom:24px; left:50%; transform:translateX(-50%); z-index:3; width:26px; height:42px; border:2px solid rgba(255,255,255,.4); border-radius:14px; }
.hero__scroll span{ position:absolute; top:8px; left:50%; transform:translateX(-50%); width:3px; height:8px; background:#fff; border-radius:2px; animation:scrolldot 1.6s infinite; }
@keyframes scrolldot{ 0%{opacity:0;transform:translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0;transform:translate(-50%,14px);} 100%{opacity:0;} }

/* ---------- Section rhythm ---------- */
section{ position:relative; }
.exposure, .applications, .scenario, .why, .membrane, .patents, .projects, .coverage, .contact{ padding-block:clamp(72px, 11vh, 140px); }

/* ---------- Exposure ---------- */
.exposure{ background:var(--ink); }
.exposure__inner{ max-width:var(--maxw); margin:0 auto; padding-inline:var(--pad); display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,80px); align-items:start; }
.exposure__sticky{ position:sticky; top:96px; }
.eyebrow--blue{ color:var(--blue-bright); }
.vs-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.vs{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--panel); }
.vs__bad,.vs__good{ padding:18px 20px; font-size:.98rem; }
.vs__bad{ color:var(--muted); background:rgba(255,255,255,.015); border-bottom:1px solid var(--line-2); }
.vs__good{ color:var(--white); }
.vs__label{ display:block; font-family:var(--f-head); font-weight:700; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:6px; }
.vs__bad .vs__label{ color:var(--muted-2); }
.vs__good .vs__label{ color:var(--blue-bright); }

/* ---------- Applications ---------- */
.applications{ background:var(--ink-2); border-block:1px solid var(--line-2); }
.app-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:48px; }
.app{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:28px; transition:transform .2s ease, border-color .2s ease, background .2s ease; }
.app:hover{ transform:translateY(-4px); border-color:rgba(47,147,207,.55); background:var(--panel-2); }
.app__num{ font-family:var(--f-head); font-weight:800; font-size:.85rem; letter-spacing:.1em; color:var(--blue-bright); margin-bottom:16px; }
.app h3{ font-size:1.2rem; margin-bottom:8px; }
.app p{ font-size:.96rem; color:var(--muted); margin:0; }

/* ---------- Scenario (glazing delayed) ---------- */
.scenario{ background:#0c151d; border-block:1px solid var(--line-2); }
.scenario__inner{ display:grid; grid-template-columns:1.04fr .96fr; gap:clamp(32px,5vw,72px); align-items:center; }
.scenario__visual{ margin:0; }
.scenario__visual img{ width:100%; border-radius:16px; border:1px solid var(--line); box-shadow:0 34px 80px -42px rgba(0,0,0,.85); }
.scenario__visual figcaption{ margin-top:12px; font-size:.82rem; color:var(--muted-2); text-align:center; }
.scenario__points{ list-style:none; margin:24px 0 32px; padding:0; display:flex; flex-direction:column; gap:13px; }
.scenario__points li{ position:relative; padding-left:32px; color:var(--titanium); font-size:1.04rem; }
.scenario__points li::before{ content:"✓"; position:absolute; left:0; top:0; width:21px; height:21px; line-height:21px; text-align:center; font-size:.8rem; font-weight:800; color:#04121c; background:var(--blue-bright); border-radius:6px; }

/* ---------- Why ---------- */
.why{ background:linear-gradient(180deg, var(--ink) 0%, #0c151d 100%); }
.why__cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:48px; }
.wcard{ background:var(--panel); border:1px solid var(--line); border-radius:18px; padding:34px 30px; }
.wcard--featured{ background:linear-gradient(165deg, var(--blue-deep), #0e2233); border-color:rgba(111,193,232,.4); box-shadow:0 24px 60px -30px rgba(47,147,207,.6); }
.wcard__kicker{ font-family:var(--f-head); font-weight:700; font-size:.75rem; letter-spacing:.14em; text-transform:uppercase; color:var(--blue-bright); margin-bottom:18px; }
.wcard--featured .wcard__kicker{ color:var(--blue-light); }
.wcard h3{ font-size:1.45rem; line-height:1.1; margin-bottom:14px; }
.wcard p{ font-size:1rem; color:var(--titanium); margin:0; }
.wcard--featured p{ color:rgba(244,247,250,.9); }

/* ---------- Membrane (spec) ---------- */
.membrane{ background:var(--ink); }
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:54px; background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.stat{ background:var(--ink-2); padding:38px 26px; text-align:center; }
.stat__num{ font-family:var(--f-head); font-weight:900; font-size:clamp(2.6rem,5vw,3.6rem); line-height:1; color:var(--white); letter-spacing:-.03em; }
.stat__unit{ font-family:var(--f-head); font-weight:700; font-size:1rem; color:var(--blue-bright); margin:8px 0 14px; }
.stat__label{ font-size:.9rem; color:var(--muted); max-width:200px; margin:0 auto; }

/* ---------- Patents ---------- */
.patents{ background:var(--ink-2); border-block:1px solid var(--line-2); }
.patent-grid{ list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin:44px 0 18px; padding:0; }
.patent-grid li{ display:flex; flex-direction:column; align-items:center; gap:4px; background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:18px 26px; min-width:150px; }
.patent-grid span{ font-size:.72rem; letter-spacing:.2em; color:var(--muted-2); }
.patent-grid strong{ font-family:var(--f-head); font-weight:800; font-size:1.05rem; color:var(--white); }

/* ---------- Projects ---------- */
.projects{ background:var(--ink); }
.proj-feature{ position:relative; margin-top:48px; border-radius:20px; overflow:hidden; border:1px solid var(--line); }
.proj-feature img{ width:100%; height:clamp(280px,46vh,520px); object-fit:cover; }
.proj-feature__tag{ position:absolute; left:20px; bottom:20px; font-family:var(--f-head); font-weight:700; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color:#fff; background:rgba(11,14,19,.7); border:1px solid var(--line); border-radius:999px; padding:9px 18px; backdrop-filter:blur(8px); }
.proj-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:18px; }
.proj{ margin:0; position:relative; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); }
.proj img{ width:100%; height:240px; object-fit:cover; transition:transform .4s ease; }
.proj:hover img{ transform:scale(1.05); }
.proj figcaption{ position:absolute; left:14px; bottom:12px; font-family:var(--f-head); font-weight:700; font-size:.85rem; color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.6); }

/* ---------- Coverage ---------- */
.coverage{ background:linear-gradient(180deg, #0c151d, var(--ink)); }
.coverage__inner{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(32px,5vw,72px); align-items:center; }
.coverage__list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.coverage__list li{ font-family:var(--f-head); font-weight:700; font-size:1.05rem; color:var(--white); padding:16px 18px; background:var(--panel); border:1px solid var(--line); border-radius:12px; border-left:3px solid var(--blue-bright); }

/* ---------- Contact ---------- */
.contact{ background:var(--ink-2); border-top:1px solid var(--line-2); }
.contact__inner{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,72px); align-items:start; }
.contact__direct{ list-style:none; margin:30px 0 0; padding:0; display:flex; flex-direction:column; gap:14px; }
.contact__direct li{ display:flex; align-items:baseline; gap:16px; font-size:1.05rem; color:var(--titanium); }
.contact__direct span{ font-family:var(--f-head); font-weight:700; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-2); min-width:88px; }
.contact__direct a{ color:var(--white); font-weight:600; }
.contact__direct a:hover{ color:var(--blue-light); }

.contact__form{ background:var(--panel); border:1px solid var(--line); border-radius:18px; padding:clamp(24px,3vw,38px); display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ display:flex; flex-direction:column; gap:7px; grid-column:span 2; }
.field--half{ grid-column:span 1; }
.field--full{ grid-column:span 2; }
.field label{ font-family:var(--f-head); font-weight:600; font-size:.8rem; letter-spacing:.04em; color:var(--titanium); }
.field input, .field select, .field textarea{
  width:100%; font-family:var(--f-body); font-size:1rem; color:var(--white);
  background:var(--ink); border:1px solid var(--line); border-radius:10px; padding:12px 14px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--blue-bright); box-shadow:0 0 0 3px rgba(47,147,207,.2); }
.field textarea{ resize:vertical; }
.field select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a97a6' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:36px; }
.contact__form .btn{ grid-column:span 2; margin-top:4px; }
.form-note{ grid-column:span 2; text-align:center; font-size:.85rem; color:var(--muted-2); margin:0; }
.form-note.is-ok{ color:var(--blue-light); font-weight:600; }

/* ---------- Footer ---------- */
.footer{ background:var(--ink); border-top:1px solid var(--line); padding-block:64px 32px; }
.footer__top{ display:grid; grid-template-columns:1.3fr 2fr; gap:48px; padding-bottom:40px; border-bottom:1px solid var(--line-2); }
.footer__brand img{ height:46px; width:auto; margin-bottom:18px; }
.footer__brand p{ font-size:.95rem; color:var(--muted); max-width:340px; }
.footer__cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.footer__cols h4{ font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-2); margin-bottom:14px; }
.footer__cols ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer__cols a{ font-size:.95rem; color:var(--titanium); }
.footer__cols a:hover{ color:var(--blue-light); }
.footer__patents{ font-family:var(--f-head); font-size:.8rem; letter-spacing:.04em; color:var(--muted-2); text-align:center; padding:26px 0; }
.footer__bottom{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.82rem; color:var(--muted-2); }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-in{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .nav__links, .nav__actions{ display:none; }
  .nav__burger{ display:flex; }
  .exposure__inner{ grid-template-columns:1fr; }
  .exposure__sticky{ position:static; }
  .scenario__inner{ grid-template-columns:1fr; }
  .app-grid, .why__cards, .stats, .proj-grid{ grid-template-columns:1fr 1fr; }
  .coverage__inner, .contact__inner, .footer__top{ grid-template-columns:1fr; }
  .footer__top{ gap:32px; }
}
@media (max-width: 620px){
  body{ font-size:16px; }
  .app-grid, .why__cards, .stats, .proj-grid, .coverage__list, .footer__cols{ grid-template-columns:1fr; }
  .contact__form{ grid-template-columns:1fr; }
  .field, .field--half, .field--full, .contact__form .btn, .form-note{ grid-column:span 1; }
  .hero__content{ padding-inline:22px; }
  .hero__trust{ gap:16px 18px; }
  .hero__trust li{ flex:1 1 calc(50% - 9px); min-width:0; }
  .hero__trust strong{ font-size:1.3rem; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}
