/* ==========================================================================
   Eyconstruction
   Modern construction layout: dark hero, pill labels, tight Inter headings,
   6px radii, scroll reveals. Palette: deep slate + copper.
   ========================================================================== */
:root {
  --dark: #15222c;
  --accent: #c4622f;
  --accent-soft: #f6e6dc;
  --ink: #15222c;
  --text: #4a5560;
  --muted: #6c7680;
  --bg-soft: #f2f2f0;
  --card: #f7f7f5;
  --line: #e3e3e0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --white: #ffffff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1270px;
  --gutter: 24px;
  --radius: 6px;
  --ease: 0.35s ease;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--ease), background-color var(--ease), border-color var(--ease); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; }
.bg-soft { background: var(--bg-soft); }
.dark { background: var(--dark); color: rgba(255, 255, 255, 0.78); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }

/* ---------- Section titles ---------- */
.pill {
  display: inline-block;
  position: relative;
  margin-bottom: 18px;
  padding: 7px 16px 7px 30px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.pill::before { content: ""; position: absolute; left: 15px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); }
.dark .pill, .hero .pill { border-color: rgba(255, 255, 255, 0.2); color: var(--white); }
.h2 { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.03em; }
.sec-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: 60px; }
.sec-row p { margin-bottom: 18px; }
.sec-center { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-center p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--ease);
}
.btn::after {               /* fill sweeps across on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s ease;
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.dark .btn::after, .hero .btn::after, .site-header .btn::after, .cta .btn::after, .why-intro .btn::after { background: var(--white); }
.dark .btn:hover, .hero .btn:hover, .site-header .btn:hover, .cta .btn:hover, .why-intro .btn:hover { color: var(--ink); }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform var(--ease); }
.btn:hover svg { transform: rotate(45deg); }
.btn-light { background: var(--white); color: var(--ink); }
.why-intro .btn-light::after { background: var(--dark); }
.why-intro .btn-light:hover { color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.dark .link-arrow { color: var(--white); }
.link-arrow .circ { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); transition: transform var(--ease); }
.link-arrow .circ svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.link-arrow:hover .circ, a:hover .link-arrow .circ { transform: rotate(45deg); }
.link-arrow:hover { color: var(--accent); }

.note-line { margin-top: 50px; text-align: center; font-size: 15px; }
.note-line .tag { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: 100px; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 600; }
.note-line a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.dark .note-line a { color: var(--white); }

/* ==========================================================================
   Header (transparent over the hero, dark when scrolled)
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid var(--line-dark); transition: background-color 0.35s ease; }
.site-header.scrolled, .site-header.nav-open { background: var(--dark); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 40px; transition: height 0.35s ease; }
.site-header.scrolled .bar { height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--white); }
.brand .mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand .name { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.brand .name i { font-style: normal; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { position: relative; display: block; padding: 8px 0; font-weight: 600; color: var(--white); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-header .btn { padding: 15px 22px; }
.show-sm { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; padding: 0; border-radius: 4px; background: var(--accent); color: var(--white); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; margin: 0 auto; background: currentColor; position: relative; transition: transform var(--ease), background-color var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 100px); overflow: hidden; color: var(--white); background: var(--dark); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 22s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 34, 44, 0.92) 0%, rgba(21, 34, 44, 0.62) 55%, rgba(21, 34, 44, 0.35) 100%); }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-content { max-width: 720px; margin-bottom: 100px; }
.hero h1 { font-size: clamp(42px, 5.5vw, 78px); line-height: 1.08; letter-spacing: -0.04em; color: var(--white); }
.hero p.sub { max-width: 640px; margin: 26px 0 44px; font-size: 18px; font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.hero .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.hero-call { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; color: var(--white); }
.hero-call .ring { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-out infinite; }
.hero-call .ring svg { width: 20px; height: 20px; fill: var(--white); }
.hero-call small { display: block; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 98, 47, 0.55); } 70% { box-shadow: 0 0 0 16px rgba(196, 98, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 98, 47, 0); } }

.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 26px 0 34px; border-top: 1px solid var(--line-dark); }
.hero-foot .facts { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-foot .facts li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.hero-foot .facts svg { width: 20px; height: 20px; fill: var(--accent); flex: none; }

.badge-circle { position: relative; width: 130px; height: 130px; flex: none; }
.badge-circle .ring-text { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-circle text { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; fill: var(--white); }
.badge-circle .core { position: absolute; inset: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); }
.badge-circle .core svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Inner page header
   ========================================================================== */
.page-header { position: relative; padding: calc(var(--header-h) + 110px) 0 110px; color: var(--white); background: var(--dark) center / cover no-repeat; isolation: isolate; text-align: center; overflow: hidden; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(21, 34, 44, 0.74); }
.page-header h1 { color: var(--white); font-size: clamp(40px, 5vw, 66px); letter-spacing: -0.04em; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-weight: 500; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { color: var(--accent); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.collage { position: relative; padding: 0 70px 70px 0; }
.collage .main { border-radius: var(--radius); overflow: hidden; }
.collage .main img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.collage .inset { position: absolute; right: 0; top: 50px; width: 46%; border: 8px solid var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.35); }
.collage .inset img { width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; }
.collage .stamp { position: absolute; left: 30px; bottom: 30px; display: flex; align-items: center; gap: 16px; max-width: 340px; padding: 22px 26px; border-radius: var(--radius); background: var(--dark); color: var(--white); }
.collage .stamp svg { width: 40px; height: 40px; flex: none; fill: var(--accent); }
.collage .stamp strong { display: block; font-size: 20px; letter-spacing: -0.02em; }
.collage .stamp span { font-size: 14px; color: rgba(255, 255, 255, 0.75); }

.dots { display: grid; gap: 12px; margin: 26px 0 34px; }
.dots li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink); }
.dots li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-points .ico { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; background: var(--accent-soft); }
.about-points .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.about-points h3 { font-size: 20px; margin-bottom: 6px; }
.about-points p { font-size: 15px; }
.about-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 34px; }
.about-foot .who { display: flex; align-items: center; gap: 12px; }
.about-foot .who .av { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--dark); color: var(--white); }
.about-foot .who .av svg { width: 20px; height: 20px; fill: currentColor; }
.about-foot .who strong { display: block; color: var(--ink); }
.about-foot .who small { color: var(--muted); }
.about-foot .who a:hover strong { color: var(--accent); }

/* ==========================================================================
   Services (image cards)
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.svc-grid.three { grid-template-columns: repeat(3, 1fr); }
.svc-card { display: block; }
.svc-card figure { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; }
.svc-card img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; transition: transform 0.7s ease; }
.svc-grid.three .svc-card img { aspect-ratio: 4 / 3; }
.svc-card:hover img { transform: scale(1.07); }
.svc-card h3 { font-size: 20px; margin-bottom: 10px; transition: color var(--ease); }
.svc-card:hover h3 { color: var(--accent); }
.svc-card p { font-size: 15px; }
.svc-grid.light .svc-card p { border-bottom-color: var(--line); }

/* Bento service grid: one large card + four */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, 300px); gap: 24px; }
.bento-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--dark); color: var(--white); isolation: isolate; }
.bento-card:first-child { grid-row: span 2; }
.bento-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.bento-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 34, 44, 0) 35%, rgba(21, 34, 44, 0.92) 100%); transition: background-color var(--ease); }
.bento-card:hover img { transform: scale(1.07); }
.bento-card:hover::before { background-color: rgba(21, 34, 44, 0.25); }
.bento-card .num { position: absolute; top: 20px; left: 22px; padding: 5px 12px; border-radius: 100px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; }
.bento-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.bento-card .title-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bento-card h3 { color: var(--white); font-size: 24px; }
.bento-card:first-child h3 { font-size: 32px; }
.bento-card .go { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); transition: transform var(--ease); }
.bento-card .go svg { width: 15px; height: 15px; fill: none; stroke: var(--white); stroke-width: 2.2; }
.bento-card:hover .go { transform: rotate(45deg); }
.bento-card p { max-height: 0; margin: 0; overflow: hidden; opacity: 0; font-size: 15px; color: rgba(255, 255, 255, 0.85); transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease; }
.bento-card:first-child p, .bento-card:hover p, .bento-card:focus-visible p { max-height: 120px; margin-top: 10px; opacity: 1; }
@media (hover: none) {
  .bento-card p { max-height: 120px; margin-top: 10px; opacity: 1; }
  .bento-card::before { background: linear-gradient(180deg, rgba(21, 34, 44, 0.1) 20%, rgba(21, 34, 44, 0.95) 100%); }
}

/* image shine on hover */
.shine { position: relative; }
.shine::after { content: ""; position: absolute; top: 0; left: -75%; z-index: 2; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%); transform: skewX(-25deg); pointer-events: none; }
a:hover .shine::after, .shine:hover::after { animation: shine 0.85s; }
@keyframes shine { 100% { left: 125%; } }

/* ==========================================================================
   Building services (feature cards)
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 40px 34px; border-radius: var(--radius); background: var(--accent); color: rgba(255, 255, 255, 0.92); }
.why-intro .pill { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.why-intro .pill::before { background: var(--white); }
.why-intro h3 { color: var(--white); font-size: 30px; letter-spacing: -0.03em; margin-bottom: 14px; }
.feat { display: flex; flex-direction: column; padding: 36px 32px; border-radius: var(--radius); background: var(--card); transition: background-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.bg-soft .feat { background: var(--white); }
.feat:hover { background: var(--white); transform: translateY(-6px); box-shadow: 0 20px 50px -30px rgba(21, 34, 44, 0.4); }
.feat img { height: 76px; width: auto; align-self: flex-start; margin-bottom: 26px; transition: transform 0.6s ease; }
.feat:hover img { transform: rotateY(180deg); }
.feat h3 { font-size: 20px; margin-bottom: 12px; }
.feat p { font-size: 15px; flex: 1; }
.feat .link-arrow { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }

/* ==========================================================================
   Why us (list + image)
   ========================================================================== */
.why-us { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.why-list li { padding: 28px; border-radius: var(--radius); background: var(--card); transition: transform var(--ease); }
.why-list li:hover { transform: translateY(-4px); }
.bg-soft .why-list li, .bg-soft .contact-cards li { background: var(--white); }
.why-list .ico { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--dark); }
.why-list .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; }
.why-list h3 { font-size: 18px; margin-bottom: 8px; }
.why-list p { font-size: 15px; }
.why-photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.why-photo img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; }
.why-photo .tagline { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--radius); background: rgba(21, 34, 44, 0.9); color: var(--white); font-weight: 500; }
.why-photo .tagline svg { width: 28px; height: 28px; fill: var(--accent); flex: none; }

/* ==========================================================================
   CTA banner (parallax)
   ========================================================================== */
.cta { position: relative; padding: 140px 0; color: var(--white); background: var(--dark) center / cover no-repeat fixed; isolation: isolate; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 34, 44, 0.94) 0%, rgba(21, 34, 44, 0.5) 100%); }
.cta .inner { max-width: 640px; }
.cta h2 { color: var(--white); }
.cta p { margin: 20px 0 38px; font-size: 17px; color: rgba(255, 255, 255, 0.85); }
.cta .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.faq { display: grid; gap: 16px; }
.faq details { border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq summary { position: relative; padding: 22px 60px 22px 28px; font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; transition: color var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 28px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--ease), margin var(--ease); }
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .ans { margin: 0 28px; padding: 18px 0 24px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Quote / contact
   ========================================================================== */
.quote-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: center; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form input, .form textarea { width: 100%; padding: 18px; border: 1px solid transparent; border-radius: 4px; background: var(--card); color: var(--ink); font: inherit; transition: border-color var(--ease), background-color var(--ease); }
.bg-soft .form input, .bg-soft .form textarea { background: var(--white); }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.form .btn { justify-self: start; }
.form-note { font-size: 15px; color: var(--muted); min-height: 1.4em; }
.quote-photo { border-radius: var(--radius); overflow: hidden; }
.quote-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-cards li { padding: 34px 28px; border-radius: var(--radius); background: var(--card); transition: transform var(--ease); }
.contact-cards li:hover { transform: translateY(-4px); }
.contact-cards .ico { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--accent); }
.contact-cards .ico svg { width: 22px; height: 22px; fill: var(--white); }
.contact-cards h3 { font-size: 19px; margin-bottom: 6px; }
.contact-cards a:hover { color: var(--accent); }
.map { display: block; width: 100%; height: 440px; border: 0; border-radius: var(--radius); }

/* ==========================================================================
   Inner content
   ========================================================================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.two-col .ph { border-radius: var(--radius); overflow: hidden; }
.two-col .ph img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.prose p { font-size: 17px; }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scope li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); font-weight: 600; color: var(--ink); transition: transform var(--ease), box-shadow var(--ease); }
.scope li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -22px rgba(21, 34, 44, 0.5); }
.scope li span { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.icon-box { display: grid; place-items: center; padding: 70px; border-radius: var(--radius); background: var(--card); }
.icon-box img { height: 170px; width: auto; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: v; }
.values li { counter-increment: v; padding: 34px 28px; border-radius: var(--radius); background: var(--white); font-weight: 500; color: var(--ink); }
.values li::before { content: "0" counter(v); display: block; margin-bottom: 18px; font-size: 38px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); }
.cert-chip { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 10px 18px 10px 10px; border-radius: 100px; background: var(--accent-soft); font-weight: 600; color: var(--ink); }
.cert-chip svg { width: 30px; height: 30px; fill: var(--accent); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-top: 50px; background: var(--dark); color: rgba(255, 255, 255, 0.75); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.foot-top .btn { padding: 15px 22px; }
.foot-top .btn::after { background: var(--white); }
.foot-top .btn:hover { color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 0.9fr 1.1fr 1.2fr; gap: 50px; padding: 60px 0; }
.foot-grid h4 { margin-bottom: 26px; color: var(--white); font-size: 20px; }
.foot-grid ul { display: grid; gap: 12px; }
.foot-grid ul a:hover { color: var(--accent); }
.foot-grid .foot-contact { gap: 22px; align-content: start; }
.foot-contact li { display: flex; align-items: flex-start; gap: 14px; font-size: 18px; font-weight: 600; color: var(--white); }
.foot-contact svg { width: 22px; height: 22px; margin-top: 3px; fill: var(--accent); flex: none; }
.foot-contact a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-dark); font-size: 15px; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 4px; background: var(--accent); color: var(--white); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--ease), visibility var(--ease), transform var(--ease), background-color var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--dark); }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }

/* ==========================================================================
   Scroll reveal animations (only when JS is running)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-img { position: relative; overflow: hidden; }
.js .reveal-img::before { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--reveal-bg, var(--white)); transform-origin: right; transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1); transition-delay: var(--d, 0s); }
.js .reveal-img img { transform: scale(1.25); transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal-img.in::before { transform: scaleX(0); }
.js .reveal-img.in img { transform: none; }
.bg-soft { --reveal-bg: var(--bg-soft); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 0.05s); }
.js .split.in .w > span { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-links { gap: 24px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards, .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .site-header .bar, .site-header.scrolled .bar { height: var(--header-h); }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 20px; background: var(--dark); border-top: 1px solid var(--line-dark); }
  .nav-open .nav-links { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line-dark); }
  .nav-links a { padding: 14px 0; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
  .site-header .bar { gap: 14px; }
  .sec-row, .about-grid, .why-us, .faq-grid, .quote-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .sec-row { margin-bottom: 44px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 380px repeat(2, 280px); }
  .bento-card:first-child { grid-row: auto; grid-column: span 2; }
  .why-grid, .svc-grid.three { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta { background-attachment: scroll; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .brand .name { font-size: 22px; }
  .brand .mark { width: 40px; height: 40px; font-size: 15px; }
  .site-header .btn { padding: 13px 16px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero-content { margin-bottom: 60px; }
  .hero-foot .facts { flex-direction: column; }
  .badge-circle { display: none; }
  .collage { padding: 0 0 50px; }
  .collage .inset { display: none; }
  .collage .stamp { left: 16px; right: 16px; bottom: 0; max-width: none; }
  .svc-grid, .svc-grid.three, .why-grid, .why-list, .about-points, .scope, .values, .contact-cards, .form, .foot-grid { grid-template-columns: 1fr; }
  .svc-card img { aspect-ratio: 4 / 3; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 320px; }
  .bento-card:first-child { grid-column: auto; }
  .bento-card p { max-height: 120px; margin-top: 10px; opacity: 1; }
  .foot-top, .foot-bottom { flex-direction: column; align-items: flex-start; }
  .cta { padding: 100px 0; }
  .icon-box { padding: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .split .w > span, .js .reveal-img img { opacity: 1; transform: none; }
  .js .reveal-img::before { display: none; }
}
