:root {
  --bg: #f5f0e8;
  --bg-alt: #ece4d8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf9;
  --text: #4b392d;
  --muted: #6d5b4f;
  --line: rgba(75, 57, 45, 0.12);
  --gold: #b58b4f;
  --gold-soft: rgba(181, 139, 79, 0.16);
  --shadow: 0 20px 50px rgba(75, 57, 45, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(181, 139, 79, 0.12), transparent 30%),
    linear-gradient(180deg, #f7f2ea 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--text);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(31, 27, 23, 0.05);
}

.navbar,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
}

.brand small {
  color: var(--muted);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.brand-mark {
  width: 120px;
  height: 120px;
  display: block;
  position: relative;
  padding: 0;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--text);
  -webkit-mask: url("/public/logo-sa-transparent.png") center / contain no-repeat;
  mask: url("/public/logo-sa-transparent.png") center / contain no-repeat;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--muted);
}

.nav-menu a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 10px 14px;
  font: inherit;
  color: var(--text);
}

.section {
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 600;
  max-width: 9ch;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  font-weight: 500;
  max-width: 14ch;
}

h3 {
  font-size: 1.7rem;
  font-weight: 500;
}

p,
li,
dd {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.lead {
  max-width: 46ch;
  margin: 26px 0 0;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #8b796c;
  color: #fffaf3;
  border-color: #8b796c;
}

.button-primary:hover {
  background: #7b6a5e;
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-points,
.priority-list,
.profile-aside ul,
.band-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points {
  display: grid;
  gap: 10px;
}

.hero-points li::before,
.priority-list li::before,
.profile-aside li::before,
.band-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  display: inline-block;
  margin-right: 12px;
}

.hero-panel {
  display: grid;
  gap: 22px;
  align-items: end;
}

.hero-gallery-wrap {
  display: grid;
  gap: 12px;
}

.hero-gallery-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.hero-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.hero-carousel::-webkit-scrollbar {
  display: none;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(75, 57, 45, 0.18);
}

.hero-carousel-dots span.is-active {
  width: 26px;
  background: var(--gold);
}

.hero-portrait {
  position: relative;
  min-height: 760px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #8b5e41 0%, #7a533b 100%);
  box-shadow: 0 28px 70px rgba(75, 57, 45, 0.14);
  scroll-snap-align: start;
  margin: 0;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(75, 57, 45, 0.14), transparent 35%);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-card,
.service-card,
.profile-aside,
.contact-panel,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
}

.hero-card-compact {
  max-width: 460px;
  margin-left: auto;
}

.card-label {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.priority-list {
  display: grid;
  gap: 14px;
}

.hero-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 4px 0;
}

.hero-note-soft {
  max-width: 460px;
  margin-left: auto;
}

.note-line {
  width: 1px;
  min-height: 64px;
  background: var(--gold);
}

.band {
  width: 100%;
}

.band-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-title {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.band-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p:last-child {
  max-width: 60ch;
  margin-top: 16px;
}

.service-grid,
.timeline,
.faq-list {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 26px;
  min-height: 220px;
}

.service-card p,
.timeline-step p {
  margin: 14px 0 0;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.timeline-step span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.profile-copy p {
  max-width: 60ch;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.profile-tags span {
  padding: 8px 14px;
  background: var(--gold-soft);
  border: 1px solid rgba(181, 139, 79, 0.24);
  color: var(--text);
  font-size: 0.9rem;
}

.profile-aside,
.contact-panel,
.contact-map-card {
  padding: 28px;
}

.faq-list {
  grid-template-columns: 1fr;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.contact-panel,
.contact-map-card {
  display: grid;
  gap: 18px;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 0;
}

.contact-meta div,
.social-card {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
}

.contact-meta dt {
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-meta dd {
  margin: 6px 0 0;
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: grid;
  place-items: center;
  min-height: 112px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 139, 79, 0.36);
  background: rgba(255, 255, 255, 0.8);
}

.social-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--gold-soft);
  color: var(--text);
  flex-shrink: 0;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.contact-map-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top right, rgba(181, 139, 79, 0.12), transparent 42%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.map-label {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-card-head a {
  color: var(--gold);
  text-decoration: none;
}

.map-card-head a:hover {
  color: var(--text);
}

.map-frame {
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.map-caption {
  margin: 0;
  max-width: 48ch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-mark {
  width: 60px;
  height: 60px;
  display: inline-block;
  background-color: var(--text);
  -webkit-mask: url("/public/logo-sa-transparent.png") center / contain no-repeat;
  mask: url("/public/logo-sa-transparent.png") center / contain no-repeat;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.whatsapp-float {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #1fbd5b;
  box-shadow: 0 22px 42px rgba(37, 211, 102, 0.34);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex-shrink: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .profile-layout,
  .timeline,
  .service-grid,
  .contact-shell {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    gap: 36px;
  }

  .hero-portrait {
    min-height: 620px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .navbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .hero,
  .service-grid,
  .timeline,
  .contact-meta,
  .contact-shell,
  .contact-socials {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .hero-gallery-label {
    text-align: left;
  }

  .hero-portrait {
    order: -1;
    min-height: 520px;
    border-radius: 24px;
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 560px) {
  .navbar,
  .section,
  .site-footer,
  .band-inner {
    width: min(1120px, calc(100% - 24px));
  }

  .site-footer {
    flex-direction: column;
  }

  .faq-item summary {
    font-size: 1.25rem;
  }

  .social-card {
    min-height: 96px;
    padding: 14px 16px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .whatsapp-float {
    right: 10px;
    bottom: 12px;
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
