/* Door Installation — LabScience layout, logo colours */
:root {
  --primary: #2f6f88;
  --cyan: #5eb4d4;
  --ice: #8ad8f7;
  --brown: #704030;
  --ink: #243333;
  --gray: #3e5256;
  --fill: linear-gradient(135deg, #24586c, #2f6f88);
  --bg: #f4fafc;
  --bg-2: #e7f4f8;
  --line: rgba(47, 111, 136, 0.14);
  --shadow: 0 8px 32px rgba(47, 111, 136, 0.12);
  --radius: 12px;
  --font: "Space Grotesk", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ease: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 78px;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
button, input, select, textarea { font-family: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: #fff;
  padding: 8px 12px; z-index: 100000;
}
.skip-link:focus { top: 12px; }

/* Preloader */
#preloader {
  position: fixed; inset: 0; background: #fff; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; display: none; }
.preloader-logo { height: 64px; width: auto; }
.molecule { width: 80px; height: 80px; position: relative; }
.molecule-ring {
  position: absolute; inset: 0; border: 2px solid transparent; border-top-color: var(--primary);
  border-radius: 50%; animation: spin 1s linear infinite;
}
.molecule-ring:nth-child(2) { inset: 12px; border-top-color: var(--cyan); animation-duration: 0.75s; animation-direction: reverse; }
.molecule-ring:nth-child(3) { inset: 24px; border-top-color: var(--ice); animation-duration: 0.5s; }
.molecule-dot {
  position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--primary); box-shadow: 0 0 12px var(--cyan);
}
.preloader-bar { width: 200px; height: 2px; background: rgba(47, 111, 136, 0.15); border-radius: 2px; overflow: hidden; }
.preloader-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--cyan)); animation: loadBar 1.6s forwards; }
.preloader-text {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 3px; color: var(--gray);
  text-transform: uppercase; animation: pulse 1.5s ease-in-out infinite;
}

.crumbs { margin: 0 0 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--gray); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--primary); }
.crumbs a { color: var(--primary); text-decoration: none; }
.crumbs a:hover { color: var(--brown); }

/* Nav */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999; padding: 16px 0;
  transition: var(--ease);
}
#navbar.scrolled, #navbar.solid {
  background: rgba(244, 250, 252, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(47, 111, 136, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.navbar-brand { display: flex; align-items: center; text-decoration: none; }
.navbar-brand img { height: 52px; width: auto; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px;
  width: 44px; height: 40px; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--primary); margin: 5px 0; border-radius: 2px; }
.nav-collapse { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; color: rgba(36, 51, 51, 0.7); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.4px; padding: 8px 12px;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan)); transform: scaleX(0);
  transition: var(--ease); border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.btn-nav, .btn-primary-lab, .btn-submit, .btn-outline-lab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; cursor: pointer; transition: var(--ease); font-weight: 600;
}
.btn-nav {
  background: var(--fill); color: #fff !important;
  border-radius: 8px; padding: 8px 18px; font-size: 0.85rem; margin-left: 8px; border: 0;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(47, 111, 136, 0.3); }
.btn-primary-lab {
  background: var(--fill); color: #fff;
  border: 0; border-radius: 10px; padding: 14px 28px; font-size: 0.95rem;
  box-shadow: 0 4px 24px rgba(47, 111, 136, 0.22);
}
.btn-primary-lab:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(47, 111, 136, 0.32); }
.btn-outline-lab {
  background: transparent; color: var(--ink); border: 1px solid rgba(47, 111, 136, 0.35);
  border-radius: 10px; padding: 14px 28px; font-size: 0.95rem;
}
.btn-outline-lab:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); background: rgba(47, 111, 136, 0.05); }

/* Hero */
.hero, .page-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 72px; overflow: hidden;
  background: linear-gradient(135deg, #f3fafc 0%, #e5f3f8 50%, #f7fcfe 100%);
}
.page-hero { min-height: 0; padding: 140px 0 72px; }
.page-hero.short { padding: 150px 0 64px; }
.hero-grid, .particle-field { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  background-image:
    linear-gradient(rgba(47, 111, 136, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 136, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 30% 40%, #000 20%, transparent 75%);
}
.particle { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); opacity: 0.45; animation: float var(--dur, 7s) ease-in-out infinite; }
.hero-row, .split, .contact-grid, .two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
.hero-badge, .section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
}
.hero-badge {
  background: rgba(94, 180, 212, 0.14); border: 1px solid rgba(94, 180, 212, 0.45);
  color: var(--primary); padding: 8px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 1.5s infinite; }
.hero-title, .section-title, .page-hero h1 {
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; color: var(--ink); margin: 0 0 18px;
}
.hero-title, .page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 3.8rem); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.gradient-text { color: var(--primary); }
.hero-sub, .section-subtitle { color: var(--gray); font-size: 1.05rem; line-height: 1.8; max-width: 640px; }
.hero-actions, .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stat-num, .counter-num {
  font-size: 2rem; font-weight: 800; line-height: 1; color: var(--primary);
}
.hero-stat-label, .counter-label { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-top: 6px; }
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(47, 111, 136, 0.12), 0 32px 80px rgba(47, 111, 136, 0.14);
}
.hero-img-wrap img, .about-img-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(47, 111, 136, 0.22), rgba(142, 216, 247, 0.08));
}
.float-card {
  position: absolute; background: rgba(255,255,255,0.94); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(47, 111, 136, 0.12);
}
.float-card.one { left: -18px; bottom: 36px; }
.float-card.two { right: -12px; top: 28px; }
.float-card span { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); }
.float-card strong { color: var(--primary); font-size: 1.15rem; }

section { padding: 100px 0; position: relative; }
.bg-soft { background: var(--bg-2); }
.bg-plain { background: var(--bg); }
.center { text-align: center; }
.center .section-subtitle, .center .divider { margin-left: auto; margin-right: auto; }
.section-label { color: var(--primary); margin-bottom: 10px; }
.divider { width: 60px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--cyan)); margin: 16px 0 18px; }
.section-head { margin-bottom: 36px; }

/* About */
.about-img-wrap { position: relative; border-radius: 20px; overflow: visible; }
.about-img-wrap img { border-radius: 20px; transition: var(--ease); }
.about-img-wrap:hover img { transform: scale(1.02); }
.about-badge {
  position: absolute; right: -16px; bottom: 24px; color: #fff; text-align: center;
  background: var(--fill); border-radius: 16px; padding: 18px 22px;
  box-shadow: var(--shadow);
}
.about-badge .num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-badge .label { font-size: 0.78rem; color: #fff; }
.counter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.counter-card, .research-card, .service-card, .pub-card, .testimonial-card, .testing-card, .step-card, .info-card, .form-wrap, .faq-card, .blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 2px 16px rgba(47, 111, 136, 0.06); transition: var(--ease);
}
.counter-card { border-radius: var(--radius); padding: 22px; }
.counter-card:hover, .research-card:hover, .service-card:hover, .testing-card:hover, .pub-card:hover, .blog-card:hover, .step-card:hover,
[data-reveal].is-in.counter-card:hover, [data-reveal].is-in.research-card:hover, [data-reveal].is-in.service-card:hover,
[data-reveal].is-in.testing-card:hover, [data-reveal].is-in.pub-card:hover, [data-reveal].is-in.blog-card:hover, [data-reveal].is-in.step-card:hover {
  transform: translateY(-6px); border-color: rgba(94, 180, 212, 0.55);
  box-shadow: 0 16px 48px rgba(47, 111, 136, 0.14);
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.two { grid-template-columns: 1fr 1fr; }
.research-card, .testing-card, .service-card, .pub-card { padding: 28px 24px; height: 100%; display: flex; flex-direction: column; }
.icon-blob {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(47, 111, 136, 0.08); color: var(--primary); border: 1px solid rgba(94, 180, 212, 0.35);
  transition: var(--ease);
}
.research-card:hover .icon-blob, .service-card:hover .icon-blob, .testing-card:hover .icon-blob {
  background: var(--fill); color: #fff; border-color: transparent;
}
.icon-blob svg { width: 26px; height: 26px; }
.research-card h3, .testing-card h3, .service-card h3, .pub-card h3, .step-card h3, .blog-card h3 {
  margin: 0 0 10px; font-size: 1.12rem; letter-spacing: -0.3px;
}
.research-card p, .testing-card p, .service-card p, .pub-card p, .step-card p, .blog-card p { margin: 0; color: var(--gray); font-size: 0.9rem; flex: 1; }
.tag, .pub-tag, .blog-category {
  display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--primary); background: rgba(47, 111, 136, 0.08);
  padding: 4px 10px; border-radius: 100px;
}
.service-num { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 2px; color: var(--primary); }
.service-link, .pub-link {
  margin-top: 16px; color: var(--primary); font-weight: 600; font-size: 0.88rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-link:hover, .pub-link:hover { gap: 12px; color: var(--brown); }

/* Process */
.step-card { padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.step-number {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-family: var(--mono);
  background: var(--fill);
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 380px; gap: 16px; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(47, 111, 136, 0.08); }
.gallery-item:first-child { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-hover {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(36, 51, 51, 0.72));
  color: #fff; font-weight: 600; opacity: 0; transition: var(--ease);
}
.gallery-item:hover .gallery-hover { opacity: 1; }

/* Testimonials */
.testimonial-card { padding: 36px; position: relative; border-radius: 24px; }
.testimonial-card::before {
  content: "“"; position: absolute; top: 8px; right: 22px; font-size: 4.5rem; line-height: 1;
  color: rgba(47, 111, 136, 0.1); font-family: Georgia, serif;
}
.stars { color: #c4842a; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { color: #3e5256; font-style: italic; margin: 0 0 18px; }
.author-name { font-weight: 700; }
.author-role { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 1px; color: var(--primary); }

/* Contact */
.contact-grid { align-items: start; }
.info-card { padding: 18px 18px; display: flex; gap: 14px; margin-bottom: 12px; border-radius: 16px; }
.info-card:hover, [data-reveal].is-in.info-card:hover { transform: translateX(4px); border-color: rgba(94, 180, 212, 0.5); }
.info-card h3 { margin: 0 0 4px; font-size: 0.95rem; }
.info-card p, .info-card a { margin: 0; color: var(--gray); font-size: 0.9rem; text-decoration: none; }
.form-wrap { padding: 36px; border-radius: 24px; }
.form-wrap h2, .form-wrap h3 { margin: 0 0 6px; }
.review-stars { display: flex; flex-wrap: wrap; gap: 8px; }
.review-stars label { margin: 0; }
.review-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.review-stars span {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
  background: #f7fbfc; color: var(--ink); cursor: pointer; font-size: 0.92rem;
}
.review-stars input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.review-stars input:checked + span { background: var(--primary); color: #fff; border-color: var(--primary); }
.form-wrap .lede { color: var(--gray); margin: 0 0 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.86rem; font-weight: 500; margin-bottom: 6px; }
.form-group .req { color: var(--brown); }
.contact-form input, .contact-form textarea {
  width: 100%; background: #f7fbfc; border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 13px 14px; font-size: 0.95rem;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #4a5e62; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 3px rgba(94, 180, 212, 0.18);
}
.btn-submit {
  width: 100%; border: 0; border-radius: 10px; padding: 14px 20px; color: #fff; font-size: 1rem;
  background: var(--fill);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(47, 111, 136, 0.28); }
.btn-submit:disabled { opacity: 0.7; cursor: wait; }
.form-message { border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.form-success { background: #e7f6ee; color: #146c43; }
.form-errors { background: #fdecec; color: #8a2430; }
.hide { display: none; }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.check-list li { padding: 6px 0 6px 26px; position: relative; color: var(--gray); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Pills + trust */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 10px 16px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.88rem;
}
.pill:hover { border-color: var(--cyan); color: var(--primary); transform: translateY(-2px); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.trust-row img { height: 54px; width: auto; object-fit: contain; filter: grayscale(0.15); }

/* FAQ */
.faq-card { padding: 8px 22px; }
.faq-li { border-bottom: 1px solid var(--line); }
.faq-li:last-child { border-bottom: 0; }
.faq-title {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 28px 18px 0;
  font-weight: 650; font-size: 1.02rem; color: var(--ink); cursor: pointer; position: relative;
}
.faq-title::after { content: "+"; position: absolute; right: 0; top: 16px; color: var(--primary); font-size: 1.3rem; }
.faq-li.open .faq-title::after { content: "–"; }
.faq-content { display: none; color: var(--gray); padding: 0 0 16px; }
.faq-li.open .faq-content { display: block; }
.faq-group { margin-bottom: 28px; }
.faq-group h2 { font-size: 1.15rem; margin: 0 0 8px; }

/* Blog cards */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card .pad { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.15rem; }
.blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--primary); }

/* Areas */
.area-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-links a {
  display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.88rem;
}
.area-links a:hover { border-color: var(--cyan); color: var(--primary); }

/* Map */
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #243333, #2f6f88 70%);
  color: #fff; border-radius: 24px; padding: 42px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: center;
}
.cta-band h2 { margin: 0 0 8px; letter-spacing: -0.5px; }
.cta-band p { margin: 0; color: #fff; }

/* Legal */
.legal {
  background: #fff; border-radius: 24px; padding: 42px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.legal h2 { margin: 28px 0 8px; font-size: 1.35rem; }
.legal p, .legal li { color: #334448; }
.legal .updated { font-family: var(--mono); color: var(--gray); font-size: 0.85rem; }

/* Footer */
footer.site-footer { background: #1c2c2c; color: #c5d4d6; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand img { height: 58px; width: auto; background: #fff; border-radius: 10px; padding: 4px 8px; }
.footer-desc { color: #9eb0b3; max-width: 320px; font-size: 0.92rem; }
.footer-heading { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #9eb0b3; text-decoration: none; display: inline-flex; gap: 6px; padding: 5px 0; }
.footer-links a:hover { color: var(--ice); }
.footer-bottom {
  margin-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8aa0a3; font-size: 0.85rem;
}
.footer-bottom a { color: var(--ice); text-decoration: none; margin-left: 12px; }
.quote-note {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px;
}
.quote-note p { margin: 0 0 12px; color: #c5d4d6; font-size: 0.9rem; }
.quote-note p a { color: #e7f4f8; text-decoration: underline; }

/* Floats */
.whatsapp-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 9990; width: 56px; height: 56px;
  border-radius: 16px; background: #1fa855; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(31, 168, 85, 0.35);
}
.whatsapp-float img { width: 30px; height: 30px; }
#scrollTop {
  position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border: 0; border-radius: 12px;
  color: #fff; background: var(--fill); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: var(--ease); z-index: 9990;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; transform: none; }

.prose p { color: var(--gray); }
.include-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.include-col { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 22px 24px; }
.include-col h3 { margin-top: 0; }
.include-col ul { margin: 0; padding-left: 18px; color: var(--gray); }
.muted { color: var(--gray); }

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  #navbar { background: #fff; border-bottom: 1px solid var(--line); }
  .nav-collapse {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 40px rgba(36,51,51,0.08);
  }
  .nav-collapse.open { display: flex; }
  .nav-link { padding: 12px 4px; }
  .nav-link::after { left: 4px; right: auto; width: 36px; }
  .btn-nav { margin: 8px 0 0; text-align: center; }
  .hero-row, .split, .contact-grid, .two-col, .cta-band, .footer-grid, .card-grid, .card-grid.four, .include-grid { grid-template-columns: 1fr; }
  .card-grid.two { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .about-badge { right: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery-item:first-child { grid-column: span 2; }
  .hero-img-wrap img, .about-img-wrap img { height: 280px; }
}
@media (max-width: 640px) {
  .form-row, .hero-stats, .counter-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item:first-child { grid-column: auto; }
  .hero-title, .page-hero h1 { letter-spacing: -1px; }
  .form-wrap, .legal, .cta-band { padding: 22px; }
  section { padding: 64px 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: 0.4; } }
@keyframes loadBar { to { width: 100%; } }
@keyframes float {
  50% { transform: translateY(-16px); opacity: 0.8; }
}

html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 100px, 0);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js [data-reveal="right"] { transform: translate3d(-100px, 0, 0); }
html.js [data-reveal="left"] { transform: translate3d(100px, 0, 0); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
