:root {
  --bg-deep: #0a0c0f;
  --bg-elevated: #12151b;
  --bg-card: #181c24;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-primary: #f5f3ef;
  --text-muted: #9aa3ae;
  --accent: #c8a962;
  --accent-soft: rgba(200, 169, 98, 0.15);
  --whatsapp: #25d366;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-display: "Cormorant Garamond", serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #121212;
  border-radius: 8px;
  clip: auto;
  width: auto;
  height: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent) 0%, #8b7340 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1610;
  box-shadow: 0 4px 24px rgba(200, 169, 98, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-main a {
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 12, 15, 0.92) 0%,
    rgba(10, 12, 15, 0.55) 45%,
    rgba(10, 12, 15, 0.92) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-lede {
  max-width: 34rem;
  font-size: 1.075rem;
  margin-bottom: 1.75rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #b3924e);
  color: #17140d;
  box-shadow: 0 8px 28px rgba(200, 169, 98, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200, 169, 98, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  max-width: 520px;
}

.stat-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  animation: fadeUp 1s ease 0.15s both;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections layout */
.section {
  padding: 4.5rem 1.25rem;
}

.section-muted {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border-subtle);
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 600;
}

/* Value grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.65rem;
  transition: transform 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease;
  box-shadow: var(--shadow-soft);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 98, 0.35);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.review-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
}

.review-head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.review-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.review-name {
  font-weight: 600;
  color: var(--text-primary);
}

.review-city {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

/* Split / banners */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.split-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-img:hover img {
  transform: scale(1.04);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.07);
}

.gallery figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-card);
}

/* CTA stripe */
.cta-stripe {
  margin: 0 auto;
  max-width: 1160px;
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(200, 169, 98, 0.18),
    rgba(24, 28, 36, 0.95)
  );
  border: 1px solid rgba(200, 169, 98, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-stripe h2 {
  margin: 0 0 0.35rem;
}

.cta-stripe p {
  margin: 0;
  max-width: 460px;
}

/* Forms */
.form-card {
  max-width: 560px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid .double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 98, 0.2);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: var(--text-primary);
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
  animation: fadeUp 0.5s ease;
}

/* Footer */
.site-footer {
  padding: 3rem 1.25rem 6.5rem;
  border-top: 1px solid var(--border-subtle);
  background: #07080a;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1160px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
}

/* WhatsApp FAB */
.btn-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Cookie banner */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  background: rgba(7, 8, 10, 0.96);
  border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem 1.1rem;
  transform: translateY(100%);
  transition: transform 0.45s ease;
}

.cookie-bar.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  flex: 1;
  min-width: 260px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-actions button {
  font-family: inherit;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.62rem 1.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--border-subtle);
}

.btn-cookie-secondary {
  background: transparent;
  color: var(--text-primary);
}

.btn-cookie-primary {
  background: var(--accent);
  color: #17140d;
  border-color: transparent;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
}

.cookie-modal h3 {
  margin-top: 0;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Inner page hero small */
.page-hero {
  padding: 4.5rem 1.25rem 2.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(
    180deg,
    rgba(200, 169, 98, 0.08),
    transparent
  );
}

.page-hero .section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.page-hero p {
  max-width: 620px;
  font-size: 1.06rem;
}

/* Legal prose */
.prose {
  max-width: 740px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
  font-size: 1.5rem;
}

.prose ul {
  color: var(--text-muted);
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Services list page */
.services-list article {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.services-list article:last-child {
  border-bottom: none;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: rgba(10, 12, 15, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    transform-origin: top;
    transform: scaleY(0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
  }

  .nav-main.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scaleY(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-main a {
    padding: 0.85rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split-img img {
    height: 280px;
  }

  .cta-stripe {
    padding: 1.85rem;
  }

  .form-grid .double {
    grid-template-columns: 1fr;
  }

  body.nav-open .site-header {
    border-bottom-color: transparent;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
