:root {
  --navy: #0f2c59;
  --logo-ink: #33343a;
  --navy-dark: #0a1f40;
  --blue: #3a7bd5;
  --ink: #1b2433;
  --muted: #5a6577;
  --line: #d9e0ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --placeholder: #dfe5ee;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(15, 44, 89, 0.08);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", cursive;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; background: var(--placeholder); }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.1; color: var(--navy); }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); }
p { margin: 0 0 1rem; }
a { color: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 80px 0; }

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow-light { color: #c9d6ec; }

svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1.4em;
  border: 0;
  border-radius: 999px;
  font: 600 0.85rem/1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-lg { padding: 1em 1.8em; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 48px; width: auto; background: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: "Montserrat", var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--logo-ink); letter-spacing: 0.04em; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.12em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a:not(.btn) {
  position: relative;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.site-nav a:not(.btn):hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 38%, rgba(255,255,255,0.15) 65%, rgba(255,255,255,0) 100%);
}
.hero-script {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: 40px;
  margin: 0;
  font: 600 1.8rem/1.05 var(--script);
  color: #fff;
  text-align: right;
  transform: rotate(-8deg);
  text-shadow: 0 2px 10px rgba(10, 31, 64, 0.6);
}
.hero-content { position: relative; z-index: 1; padding: 72px 0; }
.hero-content > * { max-width: 560px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
.hero-sub { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.hero-text { color: var(--muted); max-width: 440px; margin-bottom: 1.8rem; }

/* ---------- About ---------- */
.about { background: var(--bg-soft); }
.about-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.about-inner > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.about-text p { font-size: 1.05rem; color: var(--muted); }
.about-text .about-tagline { margin: 1.5rem 0 0; font: 600 1.9rem/1.1 var(--script); color: var(--navy); }

/* ---------- Services ---------- */
.services-inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.services-intro p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.5rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.service-card {
  position: relative;
  padding-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 44, 89, 0.14); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -26px auto 10px;
  position: relative;
  background: #fff;
  border-radius: 50%;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.15);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1rem; padding: 0 14px; margin-bottom: 0.35em; }
.service-card p { font-size: 0.88rem; color: var(--muted); padding: 0 16px; margin: 0; }

/* ---------- Why ---------- */
.why { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); color: #fff; padding: 56px 0; }
.why-inner { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; }
.why h2 { color: #fff; margin: 0; }
.why-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.why-list li + li { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.why-list svg { width: 38px; height: 38px; }
.why-list small { font-weight: 400; opacity: 0.8; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: minmax(240px, 0.8fr) 3fr; background: var(--bg-soft); }
.quote-media { position: relative; min-height: 320px; }
.quote-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-script {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  width: max-content;
  font: 600 2.4rem/1 var(--script);
  color: var(--navy);
  transform: translate(-50%, -50%) rotate(-10deg);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.95);
}
.quote-body { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 64px 40px; }
.quote-info h2 { font-size: 2rem; }
.quote-info > p { color: var(--muted); }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-list svg { width: 22px; height: 22px; color: var(--navy); flex: none; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--blue); }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.18);
}
.field .invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 0.92rem; font-weight: 500; flex: 1; }
.form-status.success { color: #1e7b4a; }
.form-status.error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #dbe4f3; }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #b5c3da; }
.footer-contact { list-style: none; margin: 0; padding: 0 0 0 24px; display: grid; gap: 6px; font-size: 0.88rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-social { text-align: center; padding: 0 32px; border-left: 1px solid rgba(255,255,255,0.2); }
.footer-social p { margin: 0 0 8px; font-size: 0.85rem; font-weight: 600; }
.footer-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--navy-dark); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.footer-script { margin: 0; font: 600 1.5rem/1.05 var(--script); color: #fff; text-align: right; transform: rotate(-6deg); }
.copyright { margin: 0; padding: 14px 16px; text-align: center; font-size: 0.78rem; border-top: 1px solid rgba(255,255,255,0.12); color: #9fb0cb; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { gap: 1.2rem; }
  .nav-cta { margin-left: 0.4rem; }
  .services-inner { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote-media { min-height: 220px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-contact { padding: 0; }
  .footer-social { border: 0; padding: 0; text-align: left; }
  .footer-script { text-align: left; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin: 16px 0 0; justify-content: center; }

  .about-inner { grid-template-columns: 1fr; gap: 12px; }
  .about-inner > div:first-child { position: static; }
  .service-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .why-list li + li { border-left: 0; }
  .quote-body { grid-template-columns: 1fr; padding: 48px 16px; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .brand-text strong { font-size: 0.8rem; }
  .brand-text small { font-size: 0.55rem; }
  .brand img { height: 40px; }
  .hero { min-height: 0; }
  .hero-media::after { background: rgba(255, 255, 255, 0.86); }
  .hero-script { display: none; }
  .hero-content { padding: 56px 0; }
  .service-grid, .gallery-grid { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
