/* ==========================================================================
   ArtTech Appliance Repair — styles.css
   Palette: navy (#0B1D3A family) + brand blue (#106DFD, sampled from the logo)
   Fonts:   Poppins (headings) + Open Sans (body)
   ========================================================================== */

:root {
  --navy-900: #071431;
  --navy-800: #0B1D3A;
  --navy-700: #10294D;
  --navy-600: #173B6E;
  --blue: #106DFD;
  --blue-600: #0B5AD6;
  --blue-700: #0949B0;
  --blue-200: #8DB8FF;
  --blue-100: #E3EEFF;
  --blue-50: #F2F7FF;
  --bg: #ffffff;
  --bg-alt: #F4F7FB;
  --border: #E2E8F0;
  --text: #0F1F3A;
  --muted: #4E5D75;
  --star: #F5B301;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 58, .06), 0 1px 3px rgba(11, 29, 58, .08);
  --shadow-md: 0 6px 18px rgba(11, 29, 58, .10);
  --shadow-lg: 0 18px 40px rgba(11, 29, 58, .16);
  --container: 1160px;
  --header-h: 76px;
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--navy-800);
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-800); color: #CBD5E4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p:last-child { margin-bottom: 0; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px;
}
.eyebrow--light { color: var(--blue-200); }
.lead { font-size: 1.125rem; color: var(--muted); }
.section--dark .lead { color: #B8C6DC; }
.text-blue { color: var(--blue); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; overflow: hidden; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(16, 109, 253, .28); }
.btn--primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 10px 22px rgba(16, 109, 253, .34); }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg); transition: left .65s var(--ease); pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--blue-50); color: var(--navy-800); }
.btn[disabled] { opacity: .7; cursor: default; transform: none; }

/* ---------- Skip link / progress ---------- */
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--blue); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 29, 58, .10); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
@media (max-width: 479px) { .brand img { height: 36px; } }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  position: relative; display: inline-block; padding: 8px 0;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--navy-800); text-decoration: none;
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--blue-600); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--blue-600); }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy-800); cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 959px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px rgba(11, 29, 58, .14);
    padding: 8px 20px 20px; margin: 0 -20px;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 16px; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 768px) and (max-width: 959px) { .nav { margin: 0 -32px; padding-left: 32px; padding-right: 32px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, #0E3A7A 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(7, 20, 49, .97) 0%, rgba(7, 20, 49, .9) 38%, rgba(7, 20, 49, .55) 72%, rgba(7, 20, 49, .4) 100%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 109, 253, .5), transparent 65%);
  filter: blur(30px); top: -180px; right: -140px; pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-160px, 140px) scale(1.15); } }
.hero__inner { position: relative; padding-top: 88px; padding-bottom: 80px; }
@media (min-width: 768px) { .hero__inner { padding-top: 128px; padding-bottom: 118px; } }
.hero__title { color: #fff; max-width: 760px; margin-bottom: 20px; }
.hero__text { font-size: 1.125rem; color: #D4DEEE; max-width: 600px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: #E4ECF7; }
.trust-list svg { width: 22px; height: 22px; color: #fff; background: var(--blue); border-radius: 50%; padding: 4px; flex-shrink: 0; }
html.js .hero__anim > * { animation: slideUp .8s var(--ease) both; }
html.js .hero__anim > :nth-child(1) { animation-delay: .05s; }
html.js .hero__anim > :nth-child(2) { animation-delay: .17s; }
html.js .hero__anim > :nth-child(3) { animation-delay: .29s; }
html.js .hero__anim > :nth-child(4) { animation-delay: .41s; }
html.js .hero__anim > :nth-child(5) { animation-delay: .53s; }
@keyframes slideUp { from { transform: translateY(28px); } to { transform: translateY(0); } }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-800); color: #fff; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(7, 20, 49, .96), rgba(7, 20, 49, .78) 55%, rgba(7, 20, 49, .55));
}
.page-hero__inner { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .page-hero__inner { padding-top: 92px; padding-bottom: 92px; } }
.page-hero h1 { color: #fff; margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { max-width: 640px; font-size: 1.1rem; color: #CBD5E4; margin: 0; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--6 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid--6 { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); z-index: 1;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue); margin-bottom: 20px;
  transition: background-color .25s, color .25s;
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--navy-800); color: var(--blue-200); }
.card__title { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--blue-600); text-decoration: none;
}
.card__link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card:hover .card__link svg, .card__link:hover svg { transform: translateX(6px); }
.card--photo { padding: 0; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card--photo:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }

/* ---------- Split section ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--reverse .split__media { order: 2; } }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__badge {
  position: absolute; left: 16px; bottom: 24px; display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) { .split__badge { left: -24px; bottom: 36px; } }
.split__badge svg { width: 40px; height: 40px; color: var(--blue); background: var(--blue-100); border-radius: 10px; padding: 8px; }
.split__badge strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--navy-800); line-height: 1.1; }
.split__badge span { font-size: .85rem; color: var(--muted); }
.split__text h2 { margin-bottom: 16px; }
.split__text p { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 24px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--text); }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); background: var(--blue-100); border-radius: 50%; padding: 4px; margin-top: 2px; }
.check-list--compact { gap: 8px; margin: 12px 0 22px; }
.check-list--compact li { font-size: .92rem; }
.check-list--compact svg { width: 20px; height: 20px; padding: 4px; }
.section--dark .check-list li { color: #E4ECF7; }
.section--dark .check-list svg { background: rgba(16, 109, 253, .25); color: var(--blue-200); }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); padding: 64px 0; }
@media (min-width: 768px) { .stats { padding: 80px 0; } }
.stat { text-align: center; padding: 8px; }
.stat__num {
  display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800;
  color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 6px; color: #AFC1DD; font-weight: 500; }

/* ---------- Process steps ---------- */
.step { position: relative; padding: 8px 8px 0; }
.step__num {
  display: block; font-family: var(--font-head); font-size: 3.6rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--blue); margin-bottom: 16px; transition: color .3s;
}
.step:hover .step__num { color: var(--blue); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial blockquote { margin: 0 0 22px; font-size: 1.02rem; color: var(--text); font-style: italic; }
.stars { display: flex; gap: 3px; color: var(--star); margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; }
.testimonial__meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy-800); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}
.testimonial__meta strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy-800); line-height: 1.2; }
.testimonial__meta span { font-size: .85rem; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-800); color: #fff; }
.cta-banner__bg { position: absolute; inset: 0; z-index: -1; }
.cta-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 49, .97), rgba(11, 29, 58, .9) 55%, rgba(16, 109, 253, .5));
}
.cta-banner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 768px) { .cta-banner__inner { padding-top: 88px; padding-bottom: 88px; } }
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: #CBD5E4; margin: 0; max-width: 540px; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { max-width: 780px; }
.legal__meta { font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.legal__intro { font-size: 1.08rem; color: var(--muted); }
.legal h2 {
  font-size: 1.3rem; margin: 40px 0 12px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p { margin: 0 0 1em; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue-600); }
.legal__related {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--border); font-weight: 600;
}

/* ---------- 24/7 availability band ---------- */
.availability { background: linear-gradient(120deg, var(--blue-600), var(--blue)); color: #fff; padding: 26px 0; }
.availability__inner { display: grid; gap: 16px; justify-items: center; text-align: center; }
.availability__icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .16);
}
.availability__icon svg { width: 28px; height: 28px; }
.availability h2 { font-size: 1.4rem; color: #fff; margin: 0 0 2px; }
.availability p { margin: 0; color: var(--blue-100); }
@media (min-width: 900px) {
  .availability__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center; justify-items: start; text-align: left; gap: 22px;
  }
}

/* ---------- Brands ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; gap: 18px; padding-right: 18px; }
.marquee__list li {
  width: 176px; height: 88px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 22px;
}
.marquee__list img { max-height: 46px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.brand-grid li {
  display: grid; place-items: center; height: 92px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.brand-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C9D8F0; }
.brand-grid img { max-height: 48px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* ---------- Service areas ---------- */
.areas__list li {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy-800);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.areas__list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.areas__list svg { width: 40px; height: 40px; color: var(--blue); background: var(--blue-100); border-radius: 10px; padding: 9px; flex-shrink: 0; }
.areas__list small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .85rem; line-height: 1.4; }

/* ---------- Product tiles ---------- */
.tile {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 16px; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile__img { height: 140px; display: grid; place-items: center; margin-bottom: 14px; }
.tile__img img { max-height: 140px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.tile h3 { font-size: 1rem; margin-bottom: 4px; }
.tile p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
/* Grid items default to min-width:auto and grow to fit unbreakable content; let them shrink. */
.contact-grid > *, .split > * { min-width: 0; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  padding: 12px 14px; min-height: 48px; border: 1px solid #C9D2DF; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(16, 109, 253, .15); }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; border: 1px solid; }
.form-alert svg { width: 24px; height: 24px; flex-shrink: 0; }
.form-alert p { margin: 0; }
.form-alert strong { display: block; font-family: var(--font-head); }
.form-alert--success { background: #ECFDF3; border-color: #A7F3C9; color: #065F46; }
.form-alert--error { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.form-alert--error a { color: inherit; font-weight: 600; }
.info-card { background: var(--navy-800); color: #CBD5E4; border-radius: 16px; padding: 32px; }
.info-card h3 { color: #fff; margin-bottom: 8px; }
.info-card > p { margin-bottom: 0; }
.info-list { display: grid; gap: 22px; margin: 26px 0; }
.info-list li { display: flex; gap: 14px; }
.info-list svg { width: 40px; height: 40px; color: var(--blue-200); background: rgba(16, 109, 253, .2); border-radius: 10px; padding: 9px; flex-shrink: 0; }
.info-list strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; margin-bottom: 2px; }
.info-list a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--blue-200); text-decoration: underline; }
.info-list span { display: block; font-size: .92rem; }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); aspect-ratio: 16 / 7; background: var(--bg-alt); }
@media (max-width: 639px) { .map { aspect-ratio: 4 / 3; } }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #AFC1DD; padding-top: 64px; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 360px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #AFC1DD; text-decoration: none; display: inline-block; transition: transform .2s var(--ease), color .2s; }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer__contact svg { width: 20px; height: 20px; color: var(--blue-200); flex-shrink: 0; margin-top: 3px; }
.footer__contact a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--blue-200); }
.footer__contact span { display: block; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .88rem; }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a { color: #AFC1DD; text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Scroll reveal (transform only, JS-gated) ---------- */
html.js .reveal { transition: transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js .reveal:not(.is-in) { transform: translateY(28px); }
html.js .reveal.is-done { transition: transform .25s var(--ease), box-shadow .25s var(--ease); transition-delay: 0s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .reveal:not(.is-in) { transform: none; transition: none; }
  html.js .hero__anim > * { animation: none; }
  .hero__glow { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .btn, .btn::after, .card, .card::before, .card__media img, .brand-grid li, .areas__list li, .tile, .footer__links a, .nav__link::after, .card__link svg { transition: none; }
  .btn:hover, .card:hover, .brand-grid li:hover, .areas__list li:hover, .tile:hover, .footer__links a:hover { transform: none; }
}
