/* =====================================================
   Sharan Digitech — styles
   Apple-inspired: system font (SF Pro on Apple devices),
   big type, soft grey sections, large rounded tiles.
   ===================================================== */

:root {
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --bg-dark: #000000;
    --tile-dark: #161617;
    --ink: #1d1d1f;
    --ink-2: #424245;
    --ink-3: #6e6e73;
    --line: #d2d2d7;
    --line-soft: #e8e8ed;
    --accent: #c8161d;
    --accent-dark: #a01016;
    --accent-tint: #fbeaea;
    --accent-on-dark: #ff5a5f;

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --container: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(72px, 9vw, 120px);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --pill: 980px;
    --ease: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.47;
    letter-spacing: -0.011em;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.125rem, 5vw, 3.5rem); line-height: 1.07; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); line-height: 1.2; letter-spacing: -0.012em; font-weight: 600; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
p { color: var(--ink-2); max-width: 68ch; }
.lead { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.42; letter-spacing: -0.012em; color: var(--ink-3); font-weight: 400; }
.eyebrow {
    display: block;
    font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.muted { color: var(--ink-3); }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #f5f5f7; }
.section--dark h2, .section--dark h3 { color: #f5f5f7; }
.section--dark p, .section--dark .lead { color: #a1a1a6; }
.section--dark .eyebrow { color: var(--accent-on-dark); }
.section--dark .checklist li { color: #d2d2d7; }
.section--dark .text-link { color: var(--accent-on-dark); }
.section--dark .art { background: var(--tile-dark); }

.section-head { display: grid; gap: 0.75rem; margin: 0 auto clamp(40px, 5vw, 64px); max-width: 760px; text-align: center; justify-items: center; }
.section-head p { font-size: clamp(1rem, 1.3vw, 1.125rem); color: var(--ink-3); }
.section-head .eyebrow { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }

/* ===== Buttons & links ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.7rem 1.35rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
    white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 34px; padding: 0.4rem 1rem; font-size: 0.875rem; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    color: var(--accent);
    font-size: 1.0625rem;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.arrow { display: inline-block; transition: transform var(--ease); font-size: 1.15em; line-height: 1; }
a:hover .arrow { transform: translateX(3px); }

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--ease), background var(--ease);
}
.navbar.scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { font-size: 0.875rem; color: var(--ink-2); transition: color var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a.active { font-weight: 600; }
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    place-items: center;
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    position: relative;
    transition: transform var(--ease), background 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 { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 8vw, 112px); }
.hero--center { text-align: center; }
.hero--center .container { display: flex; flex-direction: column; align-items: center; }
.hero--center h1 { max-width: 18ch; margin-bottom: 1rem; }
.hero--center .lead { max-width: 46ch; margin: 0 auto 1.75rem; }
.hero--center .btn-row { justify-content: center; }
.hero__art {
    width: 100%;
    margin: clamp(48px, 6vw, 80px) 0 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-alt);
}
.hero__art img { width: 100%; height: auto; }
.hero .stats { margin-top: clamp(48px, 6vw, 72px); width: 100%; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0.5rem; }
.stat dd {
    font-weight: 700;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.stat dd b { font-weight: inherit; }
.stat dd span { color: var(--accent); }
.stat dt { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-3); font-weight: 500; }

/* ===== Bento tiles ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #fff;
    min-height: 280px;
    transition: transform var(--ease), box-shadow var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.tile--span-2 { grid-column: span 2; }
.tile--span-3 { grid-column: span 3; }
.tile--span-4 { grid-column: span 4; }
.tile__body { display: grid; gap: 0.6rem; padding: clamp(28px, 3vw, 40px); align-content: start; }
.tile__kicker { font-size: 0.875rem; font-weight: 600; color: var(--ink-3); letter-spacing: -0.005em; }
.tile h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.14; letter-spacing: -0.016em; font-weight: 700; }
.tile p { font-size: 1rem; color: var(--ink-3); }
.tile .text-link { margin-top: 0.4rem; font-size: 1rem; }
.tile:hover .text-link .arrow { transform: translateX(3px); }
.tile__img { margin-top: auto; width: 100%; height: auto; transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1); }
.tile:hover .tile__img { transform: scale(1.03); }
.tile--dark { background: var(--tile-dark); }
.tile--dark h3 { color: #f5f5f7; }
.tile--dark p, .tile--dark .tile__kicker { color: #a1a1a6; }
.tile--dark .text-link { color: var(--accent-on-dark); }
.tile--split { flex-direction: row; align-items: stretch; }
.tile--split .tile__body { flex: 1 1 42%; align-content: center; }
.tile--split .tile__img { flex: 1 1 58%; width: 58%; margin: 0; object-fit: cover; border-radius: var(--radius) 0 0 var(--radius); align-self: center; }

/* ===== Horizontal gallery ===== */
.gallery { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 8px; }
.gallery::-webkit-scrollbar { display: none; }
.gallery__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 20px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.gallery__card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 300px;
    padding: clamp(28px, 3vw, 40px);
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
}
.gallery__num { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: #86868b; margin-bottom: auto; }
.gallery__card h3 { font-size: clamp(1.3125rem, 1.8vw, 1.5rem); letter-spacing: -0.016em; font-weight: 700; }
.gallery__card p { font-size: 1rem; color: var(--ink-3); }
.gallery__card--accent { background: var(--ink); }
.gallery__card--accent h3 { color: #fff; }
.gallery__card--accent p { color: #a1a1a6; }
.gallery__card--accent .gallery__num { color: var(--accent-on-dark); }

/* ===== Illustrations ===== */
.art { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }
.art img { width: 100%; height: auto; }
.art--tall { width: 100%; max-width: 520px; justify-self: end; }

/* ===== Tagline (from the logo) ===== */
.tagline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    white-space: nowrap;
}
.tagline::before, .tagline::after { content: ''; height: 1.5px; width: 16px; background: var(--accent); flex: none; }

/* ===== Checklist ===== */
.checklist { display: grid; gap: 0.85rem; margin: 1.75rem 0 2rem; }
.checklist li { display: flex; gap: 0.75rem; color: var(--ink-2); }
.checklist li::before {
    content: '';
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ===== Process steps (vertical, used on contact) ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { padding: 1.5rem; border-radius: var(--radius); background: var(--bg-alt); }
.step__num { display: block; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; font-size: 0.9375rem; }
.step h3 { margin-bottom: 0.4rem; font-size: 1.1875rem; }
.step p { font-size: 0.9375rem; color: var(--ink-3); }

/* ===== Values ===== */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--bg-alt); }
.value h3 { margin-bottom: 0.5rem; }
.value p { color: var(--ink-3); }
.value .icon-box { margin-bottom: 1.25rem; }

/* ===== CTA band ===== */
.cta { background: var(--bg-alt); padding: var(--section) 0; text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta h2 { max-width: 22ch; }
.cta p { font-size: clamp(1rem, 1.3vw, 1.125rem); color: var(--ink-3); }
.cta .btn-row { justify-content: center; margin-top: 1rem; }
.cta .btn--light { background: var(--ink); color: #fff; }
.cta .btn--light:hover { background: var(--accent); }
.cta .btn--ghost-light { border-color: var(--ink); color: var(--ink); }
.cta .btn--ghost-light:hover { background: var(--ink); color: #fff; }

/* ===== Page header (inner pages) ===== */
.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); text-align: center; }
.page-head__grid { display: grid; gap: clamp(40px, 5vw, 64px); justify-items: center; }
.page-head__grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
.page-head h1 { max-width: 20ch; margin-bottom: 1rem; }
.page-head .lead { max-width: 50ch; margin: 0 auto; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-hidden] { color: var(--line); }

/* facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; text-align: left; }
.fact { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--bg-alt); }
.fact .icon { color: var(--accent); }
.fact dt { font-size: 0.8125rem; color: var(--ink-3); }
.fact dd { font-weight: 600; letter-spacing: -0.015em; }

/* quick contact tiles */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; text-align: left; }
.quick a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    transition: transform var(--ease), box-shadow var(--ease);
}
.quick a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.quick__label { display: block; font-size: 0.8125rem; color: var(--ink-3); }
.quick__value { display: block; font-weight: 600; letter-spacing: -0.015em; word-break: break-word; }
.quick .arrow { margin-left: auto; color: var(--ink-3); }

/* ===== Icons ===== */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-box {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    color: var(--accent);
}
.icon-box--dark { background: var(--ink); color: #fff; }

/* ===== Services page ===== */
.services-wrap { padding-bottom: var(--section); }
.service-tabs {
    position: sticky;
    top: 60px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}
.service-tabs ul { position: relative; display: flex; justify-content: center; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; padding: 0.6rem 0; }
.service-tabs ul::-webkit-scrollbar { display: none; }
.service-tabs a {
    display: block;
    white-space: nowrap;
    font-size: 0.8125rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--pill);
    color: var(--ink-2);
    transition: background var(--ease), color var(--ease);
}
.service-tabs a:hover { color: var(--ink); background: var(--bg-alt); }
.service-tabs a.current { background: var(--ink); color: #fff; }

.service-block {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(32px, 5vw, 72px);
    padding: clamp(32px, 5vw, 64px);
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    scroll-margin-top: 130px;
}
.service-block__intro { position: sticky; top: 140px; align-self: start; }
.service-block__intro .icon-box { margin-bottom: 1.5rem; }
.service-row__num { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink-3); margin-bottom: 0.5rem; }
.service-block__intro h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.85rem; }
.service-block__intro p { color: var(--ink-3); }
.service-block__intro .text-link { margin-top: 1.5rem; }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.deliverable { padding: 1.4rem 1.5rem; border-radius: var(--radius); background: #fff; }
.deliverable h4 { margin-bottom: 0.35rem; }
.deliverable p { font-size: 0.9375rem; color: var(--ink-3); }

/* engagement & service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(28px, 3vw, 40px);
    border-radius: var(--radius-lg);
    background: #fff;
}
.section:not(.section--alt) .card { background: var(--bg-alt); }
.card h3 { font-size: 1.25rem; }
.card p { font-size: 1rem; color: var(--ink-3); }
.card ul { display: grid; gap: 0.5rem; margin-top: 0.5rem; font-size: 0.9375rem; color: var(--ink-2); }
.card ul li { display: flex; gap: 0.6rem; }
.card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.card__num { font-weight: 700; color: var(--accent); font-size: 0.9375rem; }
.card .icon-box { background: var(--bg-alt); }
.section--alt .card .icon-box { background: var(--bg-alt); }
.card--feature, .section:not(.section--alt) .card--feature { background: var(--ink); }
.card--feature h3 { color: #fff; }
.card--feature .card__num { color: var(--accent-on-dark); }
.card--feature p, .card--feature ul { color: #a1a1a6; }
a.card { transition: transform var(--ease), box-shadow var(--ease); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* tech stack */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stack__group { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--bg-alt); }
.stack__group h3 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { font-size: 0.875rem; font-weight: 500; padding: 0.4rem 0.85rem; border-radius: var(--pill); background: #fff; }

/* ===== About ===== */
.statement { padding: clamp(32px, 4vw, 56px); border-radius: var(--radius-lg); background: #fff; height: 100%; }
.statement p.statement__text { font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); max-width: none; }

.location { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }
.location__info { padding: clamp(32px, 5vw, 64px); display: grid; gap: 1.75rem; align-content: center; }
.location__info h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.location__rows { display: grid; gap: 1rem; }
.location__row { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--ink-2); }
.location__row .icon { color: var(--accent); margin-top: 1px; }
.location__row a:hover { color: var(--accent); }
.location__map { min-height: 340px; }
.location__map img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; margin: 0; text-align: left; justify-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    font-weight: 400;
    font-size: 1.25rem;
    transition: transform var(--ease), background var(--ease), color var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--ink-3); }
.faq summary:hover { color: var(--accent); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-aside { display: grid; gap: 2rem; }
.contact-aside .steps { grid-template-columns: 1fr !important; gap: 12px !important; }

.form { display: grid; gap: 1.25rem; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--bg-alt); }
.form__head h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.form__head p { font-size: 0.9375rem; margin-top: 0.4rem; color: var(--ink-3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 52px;
    padding: 0.8rem 1rem;
    border: 1px solid #86868b;
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 1.0625rem;
    transition: border-color var(--ease), box-shadow var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1rem center / 16px no-repeat;
    padding-right: 2.5rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 4px rgba(29, 29, 31, 0.08);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d70015; box-shadow: 0 0 0 4px rgba(215, 0, 21, 0.08); }
.form__note { font-size: 0.8125rem; color: var(--ink-3); }
.form .btn { justify-self: start; }

/* ===== Footer ===== */
.footer { background: var(--bg-alt); padding: 56px 0 28px; font-size: 0.8125rem; color: var(--ink-3); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer .logo img { height: 22px; }
.footer__brand p:not(.tagline) { margin-top: 1.25rem; font-size: 0.8125rem; color: var(--ink-3); max-width: 34ch; }
.footer h4 { font-size: 0.8125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.9rem; }
.footer ul { display: grid; gap: 0.6rem; }
.footer ul a, .footer ul li { color: var(--ink-3); }
.footer ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
}
.footer__bottom p { color: var(--ink-3); }

/* ===== WhatsApp button ===== */
.wa-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1f9d55;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform var(--ease), background var(--ease);
}
.wa-btn:hover { background: #17834a; transform: scale(1.06); }
.wa-btn svg { width: 26px; height: 26px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .tile, .tile__img, .btn, .quick a, a.card { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1060px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tile--span-2, .tile--span-3 { grid-column: span 1; }
    .tile--span-4 { grid-column: span 2; }
    .cards--4, .stack { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav-toggle { display: grid; }
    .nav {
        position: fixed;
        inset: 60px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem var(--gutter) 1.75rem;
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
    }
    .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
    .nav__links { flex-direction: column; gap: 0; }
    .nav__links a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
    .nav .btn { margin-top: 1.25rem; min-height: 48px; font-size: 1rem; }

    .grid-2, .service-block, .contact-grid, .location, .faq-grid { grid-template-columns: 1fr; }
    .facts, .quick { grid-template-columns: 1fr; }
    .service-block__intro, .faq-grid .section-head { position: static; }
    .service-tabs ul { justify-content: flex-start; }
    .tile--split { flex-direction: column; }
    .tile--split .tile__img { width: 100%; border-radius: 0; }
    .cards { grid-template-columns: 1fr; }
    .location__map { min-height: 240px; }
    .contact-grid .form-wrap { order: -1; }
    .art--tall { justify-self: center; }
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .bento { grid-template-columns: 1fr; }
    .tile--span-2, .tile--span-3, .tile--span-4 { grid-column: auto; }
    .tile { min-height: 0; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .values, .deliverables, .form__row, .footer__grid, .cards--4, .stack, .steps { grid-template-columns: 1fr; }
    .gallery__track { grid-auto-columns: 82%; }
    .gallery__card { min-height: 260px; }
    .faq details p { padding-right: 0; }
    .hero--center .btn-row { flex-direction: column; gap: 1rem; }
}

.is-resizing .nav { transition: none !important; }

/* ===== Accessibility helpers ===== */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 0.6rem 1rem;
    border-radius: var(--pill);
    background: var(--ink);
    color: #fff;
    font-size: 0.875rem;
    transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.gallery:focus-visible { outline-offset: -2px; }

/* ===== Footer legal ===== */
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer__legal a, .footer__legal .link-button { color: var(--ink-3); text-decoration: none; }
.footer__legal a:hover, .footer__legal .link-button:hover { color: var(--ink); text-decoration: underline; }

/* ===== Consent checkboxes ===== */
.field--check { display: flex; align-items: flex-start; gap: 0.75rem; }
.field--check input {
    flex: none;
    width: 22px;
    height: 22px;
    min-height: 0;
    margin-top: 1px;
    padding: 0;
    border: 1.5px solid #86868b;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.field--check input:checked {
    background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
    border-color: var(--ink);
}
.field--check label { font-weight: 400; font-size: 0.9375rem; color: var(--ink-2); cursor: pointer; }
.field--check label a, .form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.field--check.invalid input { border-color: #d70015; box-shadow: 0 0 0 4px rgba(215, 0, 21, 0.08); }

/* ===== Cookie banner ===== */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 150;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 32px));
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14);
}
.cookie-banner p { font-size: 0.875rem; color: var(--ink-2); max-width: none; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex: none; }
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; bottom: 12px; }
    .cookie-banner__actions .btn { flex: 1; }
}

/* ===== Legal pages ===== */
.page-head--legal { text-align: left; }
.page-head--legal .container { max-width: 820px; }
.page-head--legal h1 { max-width: none; }
.page-head--legal .lead { margin: 0; }
.legal__updated { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-3); }
.legal { max-width: 740px; margin: 0 auto; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.015em; margin: 2.5rem 0 0.75rem; scroll-margin-top: 90px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.6; }
.legal p + p { margin-top: 0.75rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: 0.5rem; margin: 0.75rem 0; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal .link-button { color: var(--accent); }
.legal code { font-size: 0.875em; background: var(--bg-alt); padding: 0.1em 0.4em; border-radius: 6px; }
.legal__table { overflow-x: auto; margin: 0.75rem 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.legal th, .legal td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; background: var(--bg-alt); }

/* ===== Contact form status ===== */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-wrap { position: relative; }
.form__status { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--bg-alt); margin-bottom: 20px; }
.form__status:focus { outline: none; }
.form__status h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); margin-bottom: 0.75rem; }
.form__status p + p { margin-top: 0.5rem; }
.form__status .btn-row { margin-top: 1.5rem; }
.form__status--error { background: #fff1f1; }
.form__status--error p { color: #8a0b10; }
.btn:disabled { opacity: 0.6; cursor: progress; }

[hidden] { display: none !important; }

/* ===== Booking pop-up ===== */
.booking {
    width: min(620px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    overflow: auto;
}
.booking::backdrop { background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.booking[open] { animation: booking-in 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }
@keyframes booking-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.booking__form, .booking__done { display: grid; gap: 1.25rem; padding: clamp(24px, 4vw, 40px); }
.booking__close {
    position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2;
    width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: var(--bg-alt); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.booking__close:hover { background: var(--line); }
.booking__kicker { font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.booking h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: -0.75rem; }
.booking__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 0.75rem; color: var(--ink-3); }
.booking__progress li { padding-top: 8px; border-top: 3px solid var(--line-soft); }
.booking__progress li.on { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.booking__step { border: 0; display: grid; gap: 0.9rem; min-width: 0; }
.booking__step legend { font-weight: 600; font-size: 1.0625rem; margin-bottom: 0.75rem; padding: 0; }
.booking__step legend.sub { margin: 0.75rem 0 0; }
.chips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 44px; padding: 0.55rem 1rem;
    border: 1px solid #86868b; border-radius: var(--radius-sm);
    font-size: 0.9375rem; transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip--day span { flex-direction: column; min-width: 64px; padding: 0.5rem; gap: 2px; line-height: 1.1; }
.chip--day b { font-size: 1.25rem; }
.chip--day small { font-size: 0.6875rem; color: inherit; opacity: 0.75; }
.booking__hint { font-size: 0.8125rem; color: var(--ink-3); }
.booking__error { font-size: 0.875rem; color: #8a0b10; background: #fff1f1; padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
.booking__error a { color: inherit; text-decoration: underline; }
.booking__nav { display: flex; justify-content: space-between; gap: 1rem; }
.booking__nav [type=submit] { margin-left: auto; }
.booking__done { text-align: center; justify-items: center; padding-top: clamp(40px, 6vw, 64px); }
.booking__done:focus { outline: none; }
.booking__done .btn-row { justify-content: center; }
.booking__tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.75rem; }
.book-card { padding: 1.75rem; border-radius: var(--radius); background: var(--ink); }
.book-card h3 { color: #fff; margin-bottom: 0.4rem; }
.book-card p { color: #a1a1a6; font-size: 0.9375rem; margin-bottom: 1.1rem; }
.book-card .btn--primary { background: #fff; color: var(--ink); }
.book-card .btn--primary:hover { background: var(--accent); color: #fff; }
@media (max-width: 600px) {
    .chips-grid { grid-template-columns: 1fr 1fr; }
    .booking .form__row { grid-template-columns: 1fr; }
}

/* ===== 404 ===== */
.notfound { padding: clamp(64px, 10vw, 140px) 0 var(--section); text-align: center; }
.notfound .container { display: flex; flex-direction: column; align-items: center; }
.notfound__code {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: var(--ink);
    margin-bottom: 1.5rem;
    max-width: none;
}
.notfound__code span { color: var(--accent); }
.notfound h1 { max-width: 18ch; margin-bottom: 1rem; }
.notfound .lead { max-width: 44ch; margin: 0 auto 2rem; }
.notfound .btn-row { justify-content: center; }
.notfound__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; max-width: 720px; margin-top: clamp(48px, 6vw, 72px); text-align: left; }
.notfound__link {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.35rem; border-radius: var(--radius); background: var(--bg-alt);
    transition: transform var(--ease), box-shadow var(--ease);
}
.notfound__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.notfound__link .icon { color: var(--accent); }
.notfound__link b { display: block; font-weight: 600; }
.notfound__link small { display: block; font-size: 0.875rem; color: var(--ink-3); }
.notfound__link .arrow { margin-left: auto; color: var(--ink-3); }
@media (max-width: 600px) { .notfound__links { grid-template-columns: 1fr; } }
