/* Shibli Sadeque and Associates — rebuilt from the Dec 2022 site
   Original palette: theme gold #977838, sand #c8b290, navy #102135
   Original fonts: Playfair Display (headings) + Roboto (body) */
:root {
  --gold: #977838;
  --gold-dark: #7e6430;
  --sand: #c8b290;
  --navy: #102135;
  --navy-2: #0b1826;
  --ink: #1d2733;
  --muted: #646d78;
  --line: #e8e3d9;
  --light: #f7f5f0;
  --white: #fff;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1230px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; font: 400 16px/1.75 var(--sans); color: var(--muted); background: var(--navy-2); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1.15em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--gold); color: #fff; padding: 8px 14px; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

/* the page sits above a fixed "reveal" footer, like the original theme */
.page { position: relative; z-index: 2; background: var(--white); box-shadow: 0 30px 50px rgba(0,0,0,.35); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 34px; border: 0; border-radius: 0; cursor: pointer;
  font: 500 16px/1 var(--sans); letter-spacing: .02em;
  transition: background .25s, color .25s, transform .25s, filter .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--navy); }
.btn--sand { background: var(--sand); color: var(--navy); }
.btn--sand:hover { background: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sand); filter: brightness(1.1); }

/* ---------- Section titles (theme style) ---------- */
.title { margin-bottom: 34px; }
.title__sub { font: 500 15px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.title__main { font-size: clamp(32px, 4vw, 48px); margin: 0; }
.title__line { width: 70px; height: 3px; background: var(--gold); margin-top: 22px; position: relative; }
.title__line::after { content: ""; position: absolute; left: 80px; top: 0; width: 14px; height: 3px; background: var(--gold); }
.title--center { text-align: center; }
.title--center .title__line { margin-left: auto; margin-right: auto; left: -12px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); transition: background .35s, box-shadow .35s, height .35s; }
.header--transparent { position: fixed; left: 0; right: 0; background: transparent; }
.header.is-stuck { background: rgba(16,33,53,.97); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .35s; }
.header.is-stuck .header__inner { height: 78px; }

.brand { display: inline-flex; align-items: center; color: #fff; flex: none; }
.brand__logo { height: 72px; width: auto; }
.header.is-stuck .brand__logo { height: 58px; }
.brand.has-logo .brand__fallback { display: none; }
.brand__fallback { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 46px; color: var(--sand); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 22px/1 var(--serif); letter-spacing: .02em; }
.brand__sub { font: 400 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--sand); margin-top: 7px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 36px; }
.nav__list a { position: relative; display: block; padding: 10px 0; font: 500 16px/1 var(--sans); color: #fff; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--sand); transition: right .3s; }
.nav__list a:hover, .nav__list a.is-active { color: var(--sand); }
.nav__list a:hover::after, .nav__list a.is-active::after { right: 0; }
.nav__cta { min-height: 50px; padding: 0 30px; }
.nav__cta:hover { background: #fff; color: var(--navy); }

.nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; background: transparent; border: 1px solid rgba(255,255,255,.3); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Slider Revolution layout recreated) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero__bg { position: absolute; inset: 0; background: url("../img/giammarco-zeH-ljawHtg-unsplash-scaled.jpg") center/cover no-repeat; transform-origin: center; animation: kenburns 16s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: rgba(15,28,39,.6); }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 90px; }
.hero__kicker { font: 400 clamp(16px, 1.9vw, 24px)/1.3 var(--sans); letter-spacing: .04em; margin-bottom: 22px; opacity: 0; animation: up .9s .2s ease forwards; }
.hero__title { color: #fff; font: 400 clamp(46px, 7.3vw, 95px)/1.05 var(--serif); text-transform: capitalize; max-width: 800px; margin: 0 auto 34px; opacity: 0; animation: up 1s .7s ease forwards; }
.hero__rotator { position: relative; height: 50px; max-width: 760px; margin: 0 auto 46px; font: 400 clamp(16px, 1.75vw, 22px)/1.4 Arial, var(--sans); }
.hero__rotator span { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateX(-50px); transition: opacity .5s, transform .5s; }
.hero__rotator span.is-active { opacity: 1; transform: none; transition-delay: .55s; }
.hero__rotator span.is-leaving { opacity: 0; transform: translateX(50px); }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; opacity: 0; animation: up .9s 1.1s ease forwards; }
.hero__actions .btn { font-size: 17px; }
@keyframes up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Inner page title ---------- */
.page-title { position: relative; padding: 110px 0 100px; text-align: center; color: #fff; overflow: hidden; background: var(--navy); }
.page-title__bg { position: absolute; inset: 0; background: url("../img/giammarco-zeH-ljawHtg-unsplash-scaled.jpg") center/cover; opacity: .25; }
.page-title .container { position: relative; }
.page-title h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); margin-bottom: 14px; }
.crumbs { display: flex; justify-content: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.75); }
.crumbs a:hover { color: var(--sand); }
.crumbs span:last-child { color: var(--sand); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__text em strong { color: var(--navy); font-weight: 600; }
.about__text .btn { margin-top: 12px; }
.about__media { position: relative; }
.shine { position: relative; overflow: hidden; }
.shine img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; transition: transform .8s; }
.shine::before { 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,.35) 100%); transform: skewX(-25deg); }
.shine:hover::before { animation: shine .9s; }
.shine:hover img { transform: scale(1.04); }
@keyframes shine { 100% { left: 125%; } }
.about__media::after { content: ""; position: absolute; right: -20px; bottom: -20px; width: 55%; height: 55%; border: 3px solid var(--gold); z-index: -1; }
.since { position: absolute; left: -30px; bottom: 40px; z-index: 3; background: var(--gold); color: #fff; padding: 22px 30px; text-align: center; }
.since strong { display: block; font: 700 40px/1 var(--serif); }
.since span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.fields__title { font-size: 22px; margin-top: 30px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.fields li { position: relative; padding-left: 22px; color: var(--ink); }
.fields li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--gold); }
.fields--inline { display: flex; flex-wrap: wrap; gap: 10px; }
.fields--inline li { padding: 8px 18px; border: 1px solid var(--line); background: #fff; }
.fields--inline li::before { display: none; }

/* ---------- Practice carousel ---------- */
.practice { background: var(--light); }
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 90px) / 4); gap: 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 0 14px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.svc { scroll-snap-align: start; }
.svc__link { display: block; background: #fff; box-shadow: 0 10px 30px rgba(16,33,53,.06); height: 100%; }
.svc__thumb { overflow: hidden; }
.svc__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s; }
.svc__content { position: relative; padding: 52px 20px 34px; text-align: center; transition: background .35s; }
.svc__icon { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 78px; height: 78px; display: grid; place-items: center; background: var(--gold); border: 6px solid #fff; border-radius: 50%; transition: background .35s, transform .5s; }
.svc__icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc h4 { font-size: 22px; margin: 0; transition: color .3s; }
.svc__link:hover .svc__thumb img { transform: scale(1.08); }
.svc__link:hover .svc__content { background: var(--navy); }
.svc__link:hover h4 { color: #fff; }
.svc__link:hover .svc__icon { transform: translate(-50%, -50%) rotateY(180deg); background: var(--sand); }
.carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.carousel__btn { width: 50px; height: 50px; display: grid; place-items: center; background: #fff; color: var(--navy); border: 1px solid var(--line); cursor: pointer; transition: background .25s, color .25s; }
.carousel__btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.carousel__btn svg { width: 22px; height: 22px; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy) url("../img/giammarco-zeH-ljawHtg-unsplash-scaled.jpg") center/cover fixed; text-align: center; color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(16,33,53,.88); }
.cta__inner { position: relative; padding-top: 100px; padding-bottom: 100px; }
.cta__icon { display: inline-grid; place-items: center; width: 96px; height: 96px; border: 2px solid var(--sand); border-radius: 50%; margin-bottom: 26px; transition: transform .6s; }
.cta__icon:hover { transform: rotateY(180deg); }
.cta__icon svg { width: 42px; height: 42px; fill: var(--sand); }
.cta h5 { color: var(--sand); font: 400 20px/1.4 var(--sans); letter-spacing: .04em; margin-bottom: 12px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.2vw, 52px); max-width: 820px; margin: 0 auto 22px; }
.cta__phone { display: inline-block; font: 700 clamp(30px, 4.2vw, 52px)/1.2 var(--serif); color: var(--sand); border-bottom: 2px solid rgba(200,178,144,.4); }
.cta__phone:hover { color: #fff; border-color: #fff; }

/* ---------- World clocks ---------- */
.clocks { background: #fff; }
.clocks__top { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 30px; }
.clocks__col { display: grid; gap: 28px; justify-items: center; }
.clocks__main { display: grid; place-items: center; }
.clocks__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-top: 50px; justify-items: center; }
.clock { text-align: center; }
.clock__face { width: 130px; height: 130px; margin: 0 auto 10px; }
.clock--big .clock__face { width: 300px; height: 300px; }
.clock__face svg { width: 100%; height: 100%; display: block; overflow: visible; }
.clock__city { font: 700 18px/1.2 var(--serif); color: var(--navy); margin: 0; }
.clock--big .clock__city { font-size: 30px; margin-top: 8px; }
.clock__time { font-size: 13px; letter-spacing: .06em; color: var(--muted); margin: 4px 0 0; }
.clock--big .clock__time { font-size: 16px; }
.cf-ring { fill: #fff; stroke: var(--navy); stroke-width: 3; }
.cf-inner { fill: none; stroke: var(--line); stroke-width: 1; }
.cf-tick { stroke: var(--navy); stroke-width: 1.2; stroke-linecap: round; }
.cf-tick--h { stroke-width: 3; }
.cf-num { font: 600 11px var(--serif); fill: var(--navy); text-anchor: middle; dominant-baseline: central; }
.cf-hour, .cf-min { stroke: var(--navy); stroke-linecap: round; }
.cf-hour { stroke-width: 4.5; }
.cf-min { stroke-width: 3; }
.cf-sec { stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.cf-pin { fill: var(--gold); }
.clock--night .cf-ring { fill: var(--navy); }
.clock--night .cf-tick, .clock--night .cf-hour, .clock--night .cf-min { stroke: #fff; }
.clock--night .cf-num { fill: #fff; }
.clock--night .cf-inner { stroke: rgba(255,255,255,.15); }

/* ---------- Practice areas page ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.area { background: #fff; box-shadow: 0 10px 30px rgba(16,33,53,.07); scroll-margin-top: 110px; }
.area__img { position: relative; }
.area__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.area__img .svc__icon { top: 100%; left: 40px; transform: translateY(-50%); }
.area__body { padding: 52px 30px 34px; }
.area h3 { font-size: 24px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 500; }
.link svg { width: 18px; height: 18px; transition: transform .25s; }
.link:hover { color: var(--navy); }
.link:hover svg { transform: translateX(4px); }
.area:target { outline: 3px solid var(--gold); outline-offset: 4px; }
.more { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--line); text-align: center; }
.more h3 { font-size: 26px; margin-bottom: 22px; }
.more .fields { justify-content: center; }

/* ---------- About page values ---------- */
.values-wrap { background: var(--light); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value { background: #fff; padding: 40px 30px; border-bottom: 3px solid var(--gold); transition: transform .3s, box-shadow .3s; }
.value:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(16,33,53,.1); }
.value__num { font: 700 42px/1 var(--serif); color: var(--sand); display: block; margin-bottom: 18px; }
.value h3 { font-size: 21px; }
.value p { margin: 0; }

/* ---------- Panel page ---------- */
.lead { text-align: center; max-width: 700px; margin: 0 auto 50px; font-size: 18px; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 30px; }
.member { background: #fff; box-shadow: 0 10px 30px rgba(16,33,53,.08); text-align: center; }
.member__photo { aspect-ratio: 1; background: var(--navy); display: grid; place-items: center; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo span { font: 700 72px/1 var(--serif); color: var(--sand); letter-spacing: .05em; }
.member__body { padding: 30px; }
.member h3 { font-size: 24px; margin-bottom: 4px; }
.member__role { color: var(--gold); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.info li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info__icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; background: var(--gold); }
.info__icon svg { width: 22px; height: 22px; fill: #fff; }
.info strong { display: block; font: 700 18px/1.3 var(--serif); color: var(--navy); margin-bottom: 4px; }
.info a:hover { color: var(--gold); }
.form { background: var(--light); padding: 46px; display: grid; gap: 18px; align-content: start; }
.form h3 { font-size: 28px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #ddd6c8; border-radius: 0; transition: border-color .2s; }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .is-invalid { border-color: #b4412f; }
.form button { justify-self: start; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form__status { margin: 0; min-height: 1.5em; font-size: 15px; }
.form__status.ok { color: #2f6b3a; }
.form__status.err { color: #b4412f; }
.form__status a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map { margin-top: 80px; }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }

.notfound { text-align: center; }
.notfound__code { font: 700 120px/1 var(--serif); color: var(--sand); margin-bottom: 10px; }

/* ---------- Footer (fixed reveal) ---------- */
.footer { position: relative; z-index: 1; background: var(--navy-2); color: rgba(255,255,255,.7); font-size: 15px; }
.footer.is-fixed { position: fixed; left: 0; right: 0; bottom: 0; }
.footer__main { padding: 90px 0 60px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.6fr 1.3fr; gap: 50px; }
.footer__grid--4 { grid-template-columns: 1fr 1.6fr 1.3fr .7fr; }
.footer h5 { color: #fff; font-size: 22px; margin-bottom: 28px; position: relative; padding-bottom: 14px; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.brand--footer { margin-bottom: 22px; }
.brand--footer .brand__logo { height: auto; width: 100%; max-width: 240px; }
.footer__links { display: grid; gap: 10px; }
.footer__links--2col { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer__links a { position: relative; padding-left: 16px; display: inline-block; line-height: 1.4; }
.footer__links a::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-top: 1.5px solid var(--sand); border-right: 1.5px solid var(--sand); transform: rotate(45deg); }
.footer__links a:hover, .contact-list a:hover { color: var(--sand); }
.contact-list li { display: flex; gap: 14px; margin-bottom: 16px; line-height: 1.5; }
.contact-list svg { flex: none; width: 18px; height: 18px; fill: var(--sand); margin-top: 3px; }
.contact-list strong { display: block; color: #fff; font: 600 16px/1.4 var(--serif); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transition: background .25s, border-color .25s; }
.social a:hover { background: var(--gold); border-color: var(--gold); }
.social svg { width: 17px; height: 17px; fill: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; text-align: center; font-size: 14px; }
.footer__bottom p { margin: 0; }

/* ---------- Language switcher (GTranslate-style) ---------- */
.translate { position: fixed; right: 8%; bottom: 0; z-index: 60; font-size: 14px; }
.translate__toggle { display: flex; align-items: center; gap: 8px; min-width: 160px; padding: 9px 14px; background: #fff; color: var(--ink); border: 1px solid #ccc; border-bottom: 0; cursor: pointer; box-shadow: 0 -4px 20px rgba(0,0,0,.12); }
.translate__toggle svg { width: 18px; height: 18px; color: var(--gold); }
.translate__list { position: absolute; bottom: 100%; left: 0; right: 0; background: #fff; border: 1px solid #ccc; max-height: 260px; overflow-y: auto; box-shadow: 0 -10px 30px rgba(0,0,0,.15); }
.translate__list button { width: 100%; text-align: left; padding: 8px 14px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.translate__list button:hover, .translate__list button.is-current { background: var(--light); color: var(--gold); }
/* hide Google's own banner/tooltip */
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

.to-top { position: fixed; right: 20px; bottom: 60px; z-index: 60; width: 46px; height: 46px; display: grid; place-items: center; background: var(--gold); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__kicker, .hero__title, .hero__actions { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hero__bg { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .carousel__track { grid-auto-columns: calc((100% - 60px) / 3); }
  .nav, .nav__list { gap: 26px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid, .footer__grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 70;
    flex-direction: column; align-items: stretch; gap: 0; padding: 100px 30px 30px;
    background: var(--navy); box-shadow: -20px 0 40px rgba(0,0,0,.3);
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s ease; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 18px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 28px; }
  .nav-toggle { position: relative; z-index: 80; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__media { max-width: 640px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .clocks__top { grid-template-columns: 1fr; }
  .clocks__main { order: -1; }
  .clocks__col { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .clocks__row { grid-template-columns: repeat(5, 1fr); }
  .cta { background-attachment: scroll; }
  .section { padding: 80px 0; }
}
@media (max-width: 767px) {
  .carousel__track { grid-auto-columns: calc((100% - 30px) / 2); }
  .brand__logo { height: 50px; }
  .areas, .values { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .clocks__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 0; }
  .clocks__row .clock { flex: 0 0 33.333%; }
  .clock__face { width: 100px; height: 100px; }
  .clock--big .clock__face { width: 240px; height: 240px; }
  .since { left: 10px; }
  .about__media::after { right: -10px; bottom: -10px; }
  .form { padding: 30px 22px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid, .footer__grid--4 { grid-template-columns: 1fr; gap: 40px; }
  .footer__main { padding: 70px 0 40px; }
  .translate { right: auto; left: 16px; }
  .translate__toggle { min-width: 0; }
  .page-title { padding: 80px 0 70px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .carousel__track { grid-auto-columns: 82%; gap: 18px; }
  .hero__actions .btn { flex: 1 1 100%; max-width: 280px; margin: 0 auto; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 9px; }
  .brand__mark { width: 38px; height: 38px; }
  .clocks__col { gap: 12px; }
  .clock__face { width: 84px; height: 84px; }
  .clock__city { font-size: 15px; }
  .footer__links--2col { grid-template-columns: 1fr; }
}
