:root {
  color-scheme: dark;
  --black: #050505;
  --deep-black: #0c0c0c;
  --muted-black: #141414;
  --charcoal: #1e1e1e;
  --gold: #d6b56c;
  --gold-bright: #f8d98e;
  --gold-soft: rgba(214, 181, 108, 0.2);
  --border-color: rgba(248, 217, 142, 0.18);
  --white: #ffffff;
  --text-primary: #f8f1df;
  --text-muted: rgba(248, 217, 142, 0.7);
  --surface: rgba(15, 15, 15, 0.75);
  --surface-strong: rgba(18, 18, 18, 0.95);
  --glow: 0 0 40px rgba(248, 217, 142, 0.12);
  --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  background-color: var(--black);
  color: var(--text-primary);
  line-height: 1.6;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(248, 217, 142, 0.14), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(214, 181, 108, 0.12), transparent 40%),
    linear-gradient(160deg, rgba(5, 5, 5, 0.95), rgba(12, 12, 12, 0.98));
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(248, 217, 142, 0.08) 1px, transparent 0);
  background-size: 48px 48px;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  background-color: rgba(7, 7, 7, 0.82);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: padding 0.25s ease;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  transition: font-size 0.25s ease;
}

.logo img {
  width: 46px;
  height: 46px;
  transition: width 0.25s ease, height 0.25s ease;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background-color: var(--muted-black);
  transition: padding 0.25s ease, font-size 0.25s ease, gap 0.25s ease;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.3rem;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  opacity: 1;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.2s ease-in-out;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.site-header.is-compact .header-content {
  padding: 0.85rem 0;
}

.site-header.is-compact .logo {
  font-size: 1rem;
}

.site-header.is-compact #site-logo {
  width: 180px;
  height: auto;
}

.site-header.is-compact .main-nav {
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  gap: 1rem;
}

.button {
  background-color: var(--gold);
  color: var(--black);
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--glow);
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(248, 217, 142, 0.18);
}

.button-small {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.button-ghost {
  background-color: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  box-shadow: none;
}

.hero {
  background:
    radial-gradient(circle at 20% 10%, rgba(248, 217, 142, 0.18), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(214, 181, 108, 0.12), transparent 40%),
    linear-gradient(135deg, #050505, #1a1a1a);
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.hero-content {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.eyebrow {
  color: var(--gold-bright);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 2vw + 2.4rem, 3.6rem);
  margin-bottom: 1rem;
  color: var(--gold-bright);
}

.hero p {
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(248, 217, 142, 0.7);
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-card {
  background-color: var(--deep-black);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.5rem;
  position: absolute;
  bottom: -2rem;
  right: 1.5rem;
  width: min(260px, 80%);
  box-shadow: var(--glow);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: rgba(248, 217, 142, 0.7);
}

.section {
  padding: clamp(3.8rem, 6vw, 5.5rem) 0;
  position: relative;
  background-color: var(--deep-black);
  box-shadow: inset 0 1px 0 rgba(248, 217, 142, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}

.section--light {
  background-color: #f7f4ee;
  color: #0d0d0d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(5, 5, 5, 0.18);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 1vw + 2rem, 2.8rem);
  color: var(--gold-bright);
}

.section-header p {
  max-width: 640px;
  color: rgba(248, 217, 142, 0.7);
}

.section--light .section-header h2 {
  color: #0b0b0b;
}

.section--light .section-header p {
  color: rgba(20, 20, 20, 0.7);
}

.featured .section-header h2,
.featured .section-header p {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.section--light p,
.section--light li {
  color: rgba(20, 20, 20, 0.75);
}

.intro-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.intro-card {
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.8rem;
  background-color: var(--muted-black);
}

.intro-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  color: rgba(248, 217, 142, 0.7);
}

.section--light .intro-card {
  background-color: #ffffff;
  border-color: rgba(12, 12, 12, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.section--light .intro-card ul {
  color: rgba(20, 20, 20, 0.7);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card {
  background-color: var(--deep-black);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  display: grid;
  gap: 0.8rem;
  box-shadow: var(--glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card--reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
}

.service-card img {
  border-radius: 14px;
  height: 160px;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(24px) scale(1.04);
  filter: blur(6px);
}

.service-card--reveal.is-visible img {
  animation: service-image-arrive 0.9s ease forwards;
}

.service-card--reveal:nth-child(2).is-visible img {
  animation-delay: 0.12s;
}

.service-card--reveal:nth-child(3).is-visible img {
  animation-delay: 0.24s;
}

.service-card--reveal:nth-child(4).is-visible img {
  animation-delay: 0.36s;
}

.service-card--reveal:nth-child(5).is-visible img {
  animation-delay: 0.48s;
}

.service-card--reveal:nth-child(6).is-visible img {
  animation-delay: 0.6s;
}

.service-card--reveal:nth-child(7).is-visible img {
  animation-delay: 0.72s;
}

.service-card--reveal:nth-child(8).is-visible img {
  animation-delay: 0.84s;
}

.service-card--reveal:nth-child(9).is-visible img {
  animation-delay: 0.96s;
}

.service-card h3 {
  color: var(--gold-bright);
}

.service-card p {
  color: rgba(248, 217, 142, 0.7);
}

.featured,
.gallery {
  background-color: var(--deep-black);
}

.iframe-wrapper {
  border-radius: 18px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background-color: var(--muted-black);
}

.section--light .iframe-wrapper {
  background-color: #ffffff;
  border-color: rgba(12, 12, 12, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.iframe-wrapper iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.gallery-link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2.5rem;
  color: rgba(248, 217, 142, 0.8);
}

.section--light .gallery-link-card {
  color: rgba(20, 20, 20, 0.8);
}


.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 2.5rem;
}

.contact-grid--split {
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.1fr);
  align-items: center;
}

.contact .section-header {
  align-items: center;
  text-align: center;
}

.contact .section-header p {
  margin: 0 auto;
}

.contact-info {
  display: grid;
  gap: 1rem;
  width: min(520px, 100%);
  text-align: left;
  margin: 0 auto;
}

.contact-card {
  background-color: var(--deep-black);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  padding: 1.4rem;
  text-align: left;
}

.contact-card a {
  display: block;
  margin-top: 0.35rem;
  color: var(--gold-bright);
}

.section--light .contact-card {
  background-color: #ffffff;
  border-color: rgba(12, 12, 12, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.section--light .contact-card a {
  color: #8c6420;
}

.map-wrapper {
  border-radius: 18px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

@media (max-width: 900px) {
  .contact-grid--split {
    grid-template-columns: 1fr;
  }
}


@keyframes service-image-arrive {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card img,
  .service-card--reveal {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
    filter: none;
  }
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border-color);
  background-color: #050505;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-content a {
  color: var(--gold-bright);
  display: inline-flex;
  margin-top: 0.4rem;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--gold);
  color: var(--black);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 20;
}

@media (max-width: 900px) {
  .hero-card {
    position: static;
    margin-top: 1.5rem;
    width: 100%;
  }

  .main-nav {
    flex-basis: 100%;
    justify-content: center;
  }

  .header-content {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 1rem;
    left: 1rem;
    justify-content: center;
  }
}

/* Logo sizing moved from inline styles */
#site-logo {
  width: 240px;
  height: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 480px) {
  #site-logo {
    width: 140px;
  }
}
