:root {
  --brand: #e20935;
  --brand-dark: #b8062a;
  --green-900: #16171a;
  --green-800: #e20935;
  --green-700: #e20935;
  --green-100: #fbe3e8;
  --cream: #f7f3f1;
  --sand: #f2edeb;
  --ink: #16171a;
  --muted: #727272;
  --line: #e3dbd8;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 23, 26, 0.06);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 15px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 80px 0; }
.section-tight { padding: 50px 0; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h1 span { color: var(--green-700); display: block; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1rem; font-weight: 600; }
.eyebrow { text-transform: uppercase; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--green-800); margin-bottom: 10px; }
.lead { color: var(--muted); max-width: 480px; margin-top: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: .25s; white-space: nowrap; }
.btn-dark { background: var(--green-900); color: var(--white); }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-dark:hover { background: var(--brand); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--line); background: var(--white); }
.btn-outline:hover { border-color: var(--green-900); }
.arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.circle-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--white); flex-shrink: 0; transition: .25s; }
.circle-btn:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }

.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.icon-circle.sm { width: 42px; height: 42px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 241, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: .3s; }
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { display: flex; flex-direction: column; font-family: "Quicksand", var(--sans); line-height: 1.1; }
.logo-text strong { font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.logo-text small { font-size: .7rem; font-weight: 600; color: var(--brand); letter-spacing: .02em; }
.logo.light .logo-text strong { color: var(--white); }
.logo-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--white); overflow: hidden; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(22, 23, 26, .08); }
.logo-mark img { width: 128%; height: 128%; max-width: none; object-fit: contain; }
.logo.light { color: var(--white); }
.nav-links { display: flex; gap: 30px; font-size: .9rem; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 2px; background: var(--brand); transition: .25s; transform: translateX(-50%); }
.nav-links a:hover::after, .nav-links a.active::after { width: 22px; }
.nav-links .nav-cta-mobile { display: none; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* Hero */
.hero { padding: 50px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.play-link { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9rem; }
.play-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: .25s; }
.play-link:hover .play-btn { background: var(--green-900); color: var(--white); border-color: var(--green-900); }

.hero-media { position: relative; }
.hero-img { border-radius: 150px 32px 32px 32px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-100); box-shadow: 0 30px 60px rgba(22, 23, 26, .15); }
.exp-card { position: absolute; right: 18px; bottom: 18px; background: rgba(226, 9, 53, .92); color: var(--white); padding: 22px; border-radius: 20px; display: flex; flex-direction: column; gap: 4px; min-width: 140px; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.exp-card strong { font-size: 2.4rem; font-family: var(--serif); font-weight: 400; line-height: 1; margin-top: 6px; }
.exp-card span { font-size: .85rem; line-height: 1.3; }
.exp-card .exp-icon { font-size: 1.4rem; }
.exp-card i { width: 40px; height: 2px; background: var(--white); margin-top: 14px; }
.dots { position: absolute; top: 8px; right: 8px; width: 70px; height: 50px; background-image: radial-gradient(var(--white) 1.5px, transparent 1.5px); background-size: 12px 12px; opacity: .8; }

/* Section head */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.head-note { color: var(--muted); max-width: 320px; font-size: .9rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; transition: .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card p { color: var(--muted); font-size: .85rem; flex-grow: 1; }
.service-card h3 { margin-top: 10px; }
.learn { font-size: .82rem; font-weight: 600; display: inline-flex; gap: 8px; }
.learn span { transition: .25s; }
.learn:hover span { transform: translateX(4px); }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .3s; }
.project-card:hover { box-shadow: var(--shadow); }
.project-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); }
.project-img img { transition: transform .6s; }
.project-card:hover img { transform: scale(1.06); }
.project-info { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; gap: 12px; }
.project-info span { font-size: .8rem; color: var(--muted); }

/* Stats */
.stats { margin-top: 44px; background: var(--green-900); color: var(--white); border-radius: 18px; padding: 30px 20px; display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 10px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .2); }
.stat-icon { color: var(--brand); }
.stat-icon svg { width: 34px; height: 34px; stroke-width: 1.4; }
.stat strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; }
.stat span { display: block; font-size: .78rem; opacity: .85; margin-top: 4px; }

/* Training */
.training { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.training-img { border-radius: 32px 150px 32px 32px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--green-100); }
.training-list { display: grid; gap: 16px; margin-top: 28px; }
.training-item { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); padding: 18px; border-radius: var(--radius); }
.training-item p { color: var(--muted); font-size: .86rem; }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; font-weight: 500; font-size: .9rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: .65rem; display: grid; place-items: center; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 40px; align-items: center; }
.t-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 30px 90px; position: relative; box-shadow: var(--shadow); min-height: 190px; }
.quote-mark { position: absolute; left: 28px; top: 14px; font-family: var(--serif); font-size: 5rem; color: var(--brand); line-height: 1; }
.t-slider { position: relative; }
.t-slide { display: none; animation: fade .5s ease; }
.t-slide.active { display: block; }
.t-slide p { color: var(--muted); }
.t-author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.t-author strong { display: block; font-size: .9rem; }
.t-author span { font-size: .8rem; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-900); color: var(--white) !important; display: grid; place-items: center; font-weight: 600; font-size: .8rem !important; }
.t-nav { display: flex; gap: 12px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Offices (blog style) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.chips span { background: var(--white); border: 1px solid var(--line); padding: 6px 16px; border-radius: 999px; font-size: .82rem; font-weight: 500; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-100); }
.blog-body { padding: 18px 20px 22px; }
.blog-body p { color: var(--muted); font-size: .85rem; margin: 6px 0 12px; }
.blog-body h3 { font-size: 1.05rem; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.tag { background: var(--green-100); color: var(--brand); padding: 3px 10px; border-radius: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; }
.blog-link { font-weight: 600; font-size: .88rem; display: inline-flex; gap: 8px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); outline: none; transition: .2s; resize: vertical; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green-700); background: var(--white); }
.contact-form .btn { justify-self: start; }

/* CTA band */
.cta-band { background: var(--sand); margin-top: 50px; overflow: hidden; }
.cta-inner { display: flex; align-items: center; gap: 30px; padding: 34px 0; position: relative; }
.cta-inner > div { flex-grow: 1; }
.cta-inner h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.cta-inner p { color: var(--muted); font-size: .9rem; }
.cta-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; font-size: 1.6rem; flex-shrink: 0; margin-left: 140px; }
.leaf { position: absolute; left: -30px; bottom: -10px; width: 180px; height: 110px; stroke: #e9a3b2; stroke-width: 2; opacity: .8; }

/* Footer */
.footer { background: #16171a; color: #c8cdc9; padding: 60px 0 0; font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.3fr; gap: 30px; }
.footer-grid > div > p { margin-top: 14px; max-width: 260px; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; font-weight: 600; }
.footer-grid a:not(.logo) { display: block; margin-bottom: 6px; transition: .2s; }
.footer-grid a:hover { color: var(--white); }
.f-line { margin-bottom: 10px; }
.f-line a { display: inline !important; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding: 20px 0; font-size: .8rem; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { margin-left: 24px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .stat:nth-child(4) { border-left: 0; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: var(--cream); flex-direction: column; gap: 0; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s ease; z-index: -1; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: 16px; border: 0; padding: 14px; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-grid, .training, .contact { grid-template-columns: 1fr; }
  .hero-img { border-radius: 90px 24px 24px 24px; }
  .project-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .cta-icon { margin-left: 0; }
  .leaf { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .container { width: calc(100% - 32px); }
  .service-grid, .project-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { justify-content: flex-start; }
  .stat + .stat { border-left: 0; }
  .stat:last-child { grid-column: span 2; }
  .t-card { padding: 70px 24px 24px; }
  .contact-form { padding: 22px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom a { margin: 0 16px 0 0; }
}

/* ===== EA brand sections ===== */
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.footer-grid a:hover { color: var(--brand); }
.f-line a:hover { color: var(--white); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; padding: 0 60px 60px 0; }
.about-img { border-radius: 32px 150px 32px 32px; overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--green-100); }
.about-img img { object-position: top; }
.about-img.small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3.4; border-radius: 24px; border: 6px solid var(--cream); box-shadow: var(--shadow); }
.badge { position: absolute; left: -16px; bottom: 30px; width: 112px; height: 112px; border-radius: 50%; background: var(--white); padding: 16px; border: 4px solid var(--cream); box-shadow: var(--shadow); object-fit: contain; }
.value-list { display: grid; gap: 14px; margin-top: 26px; }
.value-item { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); padding: 16px 18px; border-radius: var(--radius); transition: .3s; }
.value-item:hover { border-color: var(--brand); }
.value-item p { color: var(--muted); font-size: .86rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-img { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--sand); }
.team-img img { object-position: top; transition: transform .6s; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-info { padding: 16px 20px; border-top: 3px solid var(--brand); }
.team-info h3 { font-size: 1.05rem; }
.team-info span { font-size: .82rem; color: var(--brand); font-weight: 600; }

/* Countries & offices */
.country-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 30px; }
.country { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .88rem; transition: .25s; }
.country:hover { border-color: var(--brand); }
.country img { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.office-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: .3s; }
.office-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.office-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.office-card h3 { font-size: 1.1rem; }
.office-card p { color: var(--muted); font-size: .86rem; flex-grow: 1; }
.office-link { font-weight: 600; display: inline-flex; gap: 8px; }
.office-link:hover { color: var(--brand); }
.office-mail { font-size: .84rem; color: var(--muted); }

@media (max-width: 1080px) {
  .country-row { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 22px; }
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .team-grid, .office-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-grid, .office-grid { grid-template-columns: 1fr; }
  .country-row { grid-template-columns: 1fr 1fr; }
  .about-media { padding: 0 30px 40px 0; }
  .badge { width: 84px; height: 84px; left: -6px; }
  .logo-text strong { font-size: 1.05rem; }
  .logo-text small { font-size: .6rem; }
  .logo-mark { width: 42px; height: 42px; }
}
@media (max-width: 600px) {
  .exp-card { padding: 14px 16px; min-width: 0; right: 12px; bottom: 12px; border-radius: 16px; }
  .exp-card strong { font-size: 1.8rem; }
  .exp-card .exp-icon, .exp-card i { display: none; }
}

/* ===== Multi-page: dropdown navigation ===== */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.has-sub.active > a { color: var(--brand); }
.has-sub.active > a::after { width: 22px; }
.caret { font-size: .7rem; opacity: .7; }
.sub-toggle { display: none; }
.submenu { position: absolute; top: 100%; left: -16px; min-width: 250px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px rgba(22, 23, 26, .12); padding: 10px; display: grid; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 60; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(6px); }
.submenu a { padding: 9px 12px !important; border-radius: 8px; font-size: .86rem; font-weight: 500; color: var(--ink); }
.submenu a::after { display: none; }
.submenu a:hover { background: var(--sand); color: var(--brand); }
.nav-links > a, .has-sub > a { padding: 26px 0 !important; }
.nav-links > a::after, .has-sub > a::after { bottom: 18px !important; }

/* ===== Inner page hero ===== */
.page-hero { position: relative; background: var(--ink); color: var(--white); padding: 80px 0 70px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid var(--brand); opacity: .9; }
.page-hero::after { content: ""; position: absolute; right: 300px; bottom: 30px; width: 120px; height: 80px; background-image: radial-gradient(rgba(255,255,255,.5) 1.5px, transparent 1.5px); background-size: 12px 12px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #ff8aa1; }
.page-hero h1 { color: var(--white); max-width: 720px; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.crumbs { margin-top: 18px; font-size: .88rem; color: rgba(255,255,255,.7); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: var(--white); }
.crumbs strong { color: var(--white); font-weight: 600; }

/* grid variants */
.service-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.about-btn { margin-top: 26px; }
.project-img { display: block; }

/* ===== Service detail ===== */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.detail-img { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--sand); }
.detail-banner { border-radius: 24px; background: var(--sand); padding: 40px; display: flex; gap: 26px; align-items: center; position: relative; overflow: hidden; }
.detail-banner::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(226, 9, 53, .12); }
.detail-banner h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.detail-banner-icon { width: 90px; height: 90px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.detail-banner-icon svg { width: 40px; height: 40px; }
.detail-intro { margin-top: 36px; }
.detail-intro h2 { margin-bottom: 14px; }
.detail-intro p { color: var(--muted); margin-bottom: 14px; }
.detail-sub { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 34px 0 18px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { display: flex; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: .3s; }
.feature:hover { border-color: var(--brand); transform: translateY(-3px); }
.feature h4 { font-size: .95rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .86rem; }
.feature-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; font-weight: 700; font-size: .85rem; }
.feature-badge svg { width: 18px; height: 18px; stroke-width: 2.4; }
.numbered .feature-badge { background: var(--brand); color: var(--white); }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; transition: .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin-top: 10px; font-size: .9rem; }

.sidebar { display: grid; gap: 24px; position: sticky; top: 100px; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 8px; }
.side-box h4 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin-bottom: 8px; }
.side-box a { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 10px; background: var(--cream); font-weight: 500; font-size: .9rem; transition: .2s; }
.side-box a:hover, .side-box a.current { background: var(--brand); color: var(--white); }
.side-cta { background: var(--ink); color: var(--white); border-radius: 20px; padding: 28px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 150px; height: 150px; border-radius: 50%; border: 24px solid var(--brand); }
.side-cta h4 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; position: relative; z-index: 1; max-width: 220px; }
.side-cta p { color: rgba(255,255,255,.7); font-size: .88rem; }
.side-cta-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.side-phone { font-size: 1.2rem; font-weight: 700; }
.btn-light { background: var(--white); color: var(--ink); justify-self: start; }
.btn-light:hover { background: var(--brand); color: var(--white); }

/* ===== Responsive (multi-page) ===== */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; font-size: .86rem; }
  .nav-cta { padding: 12px 18px; }
}
@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; max-height: calc(100vh - 76px); overflow-y: auto; background: var(--cream); flex-direction: column; gap: 0; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s ease; z-index: -1; }
  .nav-links.open { transform: none; }
  .nav-links > a, .has-sub > a { padding: 14px 0 !important; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .caret { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; align-self: stretch; border-bottom: 1px solid var(--line); color: var(--brand); transition: transform .25s; }
  .has-sub.open .sub-toggle { transform: rotate(180deg); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; width: 100%; padding: 4px 0 8px 12px; display: none; min-width: 0; }
  .has-sub.open .submenu { display: grid; }
  .has-sub:hover .submenu { transform: none; }
  .nav-links .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: 16px; border: 0; padding: 14px; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .service-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .service-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .page-hero::before { width: 300px; height: 300px; border-width: 40px; right: -140px; }
  .page-hero::after { display: none; }
}
@media (max-width: 600px) {
  .service-grid.cols-3, .service-grid.cols-4 { grid-template-columns: 1fr; }
  .feature-grid, .sidebar { grid-template-columns: 1fr; }
  .detail-banner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .page-hero { padding: 56px 0 50px; }
}
@media (max-width: 1080px) { .submenu a { border-bottom: 0 !important; } }
@media (max-width: 600px) { .page-hero::before { right: -190px; top: -120px; opacity: .55; } }
/* 404 */
.notfound { text-align: center; max-width: 640px; }
.notfound-code { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--brand); }
.notfound .lead { margin: 14px auto 0; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
