﻿/* ========================
   DESIGN SYSTEM
   ======================== */
:root {
  /* Marca oficial */
  --brand-strong: #BF6749;
  --brand-medium: #CE8A2F;
  --brand-light:  #F8BDB9;

  --cream:       #FFFBFA;
  --beige:       #FCE8E4;
  --rose:        #F8BDB9;
  --blush:       #F5B0AB;
  --wine:        #BF6749;
  --wine-dark:   #9E5239;
  --wine-light:  #D4846A;
  --gold:        #CE8A2F;
  --gold-light:  #F0D4A8;
  --taupe:       #8B6B5C;
  --taupe-light: #B89A8A;
  --charcoal:    #3D2E28;
  --white:       #FFFFFF;
  --shadow:      rgba(62, 46, 40, 0.08);
  --shadow-md:   rgba(62, 46, 40, 0.14);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --transition: 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ========================
   UTILITY
   ======================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--wine-dark);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wine);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(191, 103, 73, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--wine);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--wine);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--wine);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-gold:hover {
  background: #B57828;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(206, 138, 47, 0.35);
}

/* ========================
   NAV
   ======================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0;
  transition: var(--transition);
  background: var(--white);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--beige), 0 4px 20px var(--shadow);
}

nav.scrolled {
  box-shadow: 0 1px 0 var(--beige), 0 6px 28px var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}
.nav-logo-isotipo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--wine-dark);
  letter-spacing: 0.02em;
}
.nav-logo-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--wine);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--wine); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(191, 103, 73, 0.94) 0%,
    rgba(191, 103, 73, 0.78) 40%,
    rgba(191, 103, 73, 0.25) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  width: 100%;
  padding: 8rem 2rem 4rem clamp(1.5rem, 8vw, 8vw);
  color: var(--white);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.8rem;
}
.hero-line {
  width: 40px; height: 1px;
  background: var(--gold-light);
}
.hero-eyebrow span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(44, 36, 32, 0.25);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-content .btn-primary {
  background: var(--white);
  color: var(--wine);
}
.hero-content .btn-primary:hover {
  background: var(--gold-light);
  color: var(--wine-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hero-content .btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.hero-content .btn-outline:hover {
  background: var(--white);
  color: var(--wine);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.stat-item {}
.hero-content .stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.hero-content .stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.hero-img-main {
  position: absolute;
  inset: 0;
}
.hero-img-main img,
.hero-img-main picture,
.hero-img-main picture img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-img-main picture { display: block; width: 100%; height: 100%; }
.hero-banner-fade { transition: opacity 1.2s ease; }
.hero-banner-fade.is-fading { opacity: 0; }

/* ========================
   BRAND BAR
   ======================== */
.brand-bar {
  background: var(--wine);
  padding: 1.2rem 2rem;
  overflow: hidden;
}
.brand-bar-inner {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.brand-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================
   ABOUT PREVIEW
   ======================== */
.about-preview {
  padding: 7rem 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-imgs {
  position: relative;
  height: 580px;
}
.about-img-main {
  position: absolute;
  right: 0; top: 0;
  width: 75%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px var(--shadow-md);
}
.about-img-accent {
  position: absolute;
  left: 0; bottom: 40px;
  width: 48%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 48px var(--shadow-md);
  border: 6px solid var(--white);
  z-index: 2;
}
.about-img-badge {
  position: absolute;
  top: 40px; left: 20px;
  background: var(--wine);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  z-index: 3;
  box-shadow: 0 8px 24px rgba(191, 103, 73, 0.35);
}
.about-img-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}
.about-img-badge-txt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
}

.about-text {}
.about-intro {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  color: var(--wine);
  margin: 1.5rem 0;
  line-height: 1.6;
}
.about-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--taupe);
  line-height: 1.9;
  margin-bottom: 1.4rem;
}
.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 2rem 0 2.5rem;
  padding: 1.8rem;
  background: var(--rose);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--wine-light);
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--charcoal);
}
.credential-icon { color: var(--gold); font-size: 16px; }

/* ========================
   SERVICES
   ======================== */
.services {
  padding: 7rem 0;
  background: var(--beige);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}
.services-header p {
  font-size: 15px;
  color: var(--taupe);
  max-width: 520px;
  margin: 1rem auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 12px var(--shadow);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px var(--shadow-md);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.06);
}
.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90,42,42,0.5) 0%, transparent 60%);
}
.service-card-body {
  padding: 1.5rem;
}
.service-card-icon {
  font-size: 22px;
  margin-bottom: 10px;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--wine-dark);
  margin-bottom: 6px;
}
.service-card-desc {
  font-size: 13px;
  color: var(--taupe);
  line-height: 1.7;
  margin-bottom: 14px;
}
.service-card-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s;
}
.service-card:hover .service-card-link { gap: 12px; }

/* ========================
   EMOTIONAL SECTION
   ======================== */
.emotional {
  padding: 7rem 0;
  overflow: hidden;
}

.emotional-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px var(--shadow-md);
}

.emotional-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  min-height: 560px;
}
.gallery-cell {
  overflow: hidden;
  position: relative;
  min-height: 0;
}
.gallery-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.gallery-cell:hover img { transform: scale(1.04); }
.gallery-cell.tall { grid-row: span 2; }

.emotional-content {
  background: var(--wine-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  position: relative;
}
.emotional-content::before {
  content: '"';
  position: absolute;
  top: 2rem; left: 3rem;
  font-family: var(--font-display);
  font-size: 10rem;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
}
.emotional-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.emotional-title {
  font-family: var(--font-display);
  font-size: clamp(2rem,3.5vw,2.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.emotional-title em { font-style: italic; }
.emotional-body {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}
.emotional-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2.5rem;
}
.ef-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.ef-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ========================
   ECOGRAFÃAS SECTION
   ======================== */
.eco-section {
  padding: 7rem 0;
  background: var(--rose);
}

.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.eco-content {}
.eco-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 2rem 0 2.5rem;
}
.eco-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px var(--shadow);
  transition: var(--transition);
}
.eco-item:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px var(--shadow-md);
}
.eco-item-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blush);
  line-height: 1;
  min-width: 32px;
}
.eco-item-body {}
.eco-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wine-dark);
  margin-bottom: 3px;
}
.eco-item-desc {
  font-size: 12px;
  color: var(--taupe);
  line-height: 1.6;
}

.eco-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 12px;
}
.eco-img { border-radius: var(--radius-md); overflow: hidden; }
.eco-img.wide { grid-column: span 2; }

/* ========================
   TESTIMONIOS
   ======================== */
.testimonials {
  padding: 7rem 0;
  background: var(--cream);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  cursor: grab;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonials-track:active { cursor: grabbing; }

.testimonial-card {
  min-width: 360px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: 0 2px 16px var(--shadow);
  scroll-snap-align: start;
  position: relative;
  border-top: 3px solid var(--blush);
}
.testi-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--blush);
  line-height: 0.8;
  margin-bottom: 12px;
}
.testi-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--blush);
  flex-shrink: 0;
}
.testi-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--wine-dark);
}
.testi-service {
  font-size: 11px;
  color: var(--taupe);
  margin-top: 2px;
}
.testi-stars {
  color: var(--gold);
  font-size: 14px;
  margin-top: 4px;
}

/* ========================
   QUIRÃ“FANO / SALAS
   ======================== */
.spaces {
  padding: 7rem 0;
  background: var(--beige);
}

.spaces-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.spaces-header-right {
  text-align: right;
}

.spaces-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: 280px 240px;
  gap: 12px;
}
.space-cell { border-radius: var(--radius-md); overflow: hidden; position: relative; }
.space-cell.hero-cell { grid-row: span 2; }
.space-cell-label {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine-dark);
}
.space-cell img,
.space-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.space-cell:hover img,
.space-cell:hover .space-video { transform: scale(1.05); }
.testi-img video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.social-link-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
a.service-card-link:hover { color: var(--wine-dark); }
.contact-detail-value a { color: inherit; transition: color 0.25s; }
.contact-detail-value a:hover { color: var(--wine); }

/* ========================
   BLOG
   ======================== */
.blog {
  padding: 7rem 0;
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: inherit;
  box-shadow: 0 2px 12px var(--shadow);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow-md);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body {
  padding: 1.5rem;
}
.blog-tag {
  display: inline-block;
  background: var(--rose);
  color: var(--wine);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--wine-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card-desc {
  font-size: 13px;
  color: var(--taupe);
  line-height: 1.7;
}

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
  padding: 7rem 0;
  background: var(--wine-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.cta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.cta-title em { font-style: italic; }
.cta-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-wa:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.32);
}
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }

.cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.cta-btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

/* ========================
   MAPA / CONTACTO
   ======================== */
.contact {
  padding: 7rem 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 2rem 0 2.5rem;
}
.contact-social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 3px;
}
.contact-detail-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 4px 24px var(--shadow);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--wine-dark);
  margin-bottom: 0.5rem;
}
.form-subtitle {
  font-size: 13px;
  color: var(--taupe);
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-group.full { grid-column: span 2; }
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--beige);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--cream);
  outline: none;
  transition: border-color 0.25s;
}
.form-input:focus {
  border-color: var(--wine-light);
  background: var(--white);
}
textarea.form-input { resize: vertical; min-height: 90px; }

.map-placeholder {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--beige);
}
.map-placeholder iframe {
  width: 100%; height: 100%;
  border: none;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: var(--charcoal);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}
.footer-logo-isotipo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-logo-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.8;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col {}
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
}
.footer-bottom-copy { color: rgba(255,255,255,0.35); }

.footer-megaweb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  transition: color 0.2s, opacity 0.2s;
}
.footer-megaweb:hover { color: var(--gold); opacity: 1; }
.footer-megaweb-logo {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* ========================
   WA FLOAT
   ======================== */
.wa-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-float-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float-btn:hover { transform: scale(1.1); }
.wa-float-btn svg { width: 28px; height: 28px; fill: white; }
.wa-float-bubble {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
  box-shadow: 0 4px 16px var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
}
.wa-float:hover .wa-float-bubble {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 36px rgba(37,211,102,0.65), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ========================
   SCROLL ANIMATIONS
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   MOBILE MENU
   ======================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 850;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--wine-dark);
  transition: color 0.25s;
}
.mobile-menu a:hover { color: var(--wine); }
.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 100%;
    padding: 9rem 2rem 4rem;
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtitle {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-eyebrow { justify-content: center; }

  .about-grid,
  .eco-grid,
  .contact-grid { grid-template-columns: 1fr; }

  /* Sobre la Dra. Eliana Loy */
  .about-grid { gap: 3rem; }
  .about-imgs {
    height: 380px;
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-text .section-label,
  .about-text .section-title,
  .about-intro,
  .about-body {
    text-align: center;
    width: 100%;
  }
  .about-credentials {
    text-align: center;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .credential-item { justify-content: center; }
  .about-text .btn-primary { margin-left: auto; margin-right: auto; }

  /* Experiencia de Maternidad */
  .emotional-inner { grid-template-columns: 1fr; }
  .emotional-gallery {
    height: 300px;
    min-height: 300px;
    max-width: 520px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .emotional-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
  }
  .emotional-content::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .emotional-label,
  .emotional-title,
  .emotional-body {
    text-align: center;
    width: 100%;
  }
  .emotional-features {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }
  .ef-item {
    justify-content: center;
    text-align: center;
  }
  .emotional-content .btn-gold { margin-left: auto; margin-right: auto; }

  /* DiagnÃ³stico Prenatal */
  .eco-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .eco-content .section-label,
  .eco-content .section-title,
  .eco-content > p {
    text-align: center;
    width: 100%;
  }
  .eco-list {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .eco-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .eco-item-body { text-align: center; }
  .eco-content .btn-primary { margin-left: auto; margin-right: auto; }
  .eco-imgs {
    max-width: 520px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Instalaciones */
  .spaces-header {
    text-align: center;
    gap: 2rem;
  }
  .spaces-header > div:first-child {
    text-align: center;
  }
  .spaces-header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .spaces-header-right p {
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
  }
  .spaces-header-right .btn-outline { margin-top: 1.5rem; }
  .spaces-gallery { grid-template-columns: 1fr 1fr 1fr; }

  /* Contacto + formulario */
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-info .section-label,
  .contact-info .section-title,
  .contact-info > p {
    text-align: center;
    width: 100%;
  }
  .contact-social-row { justify-content: center; }
  .contact-details {
    align-items: center;
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-detail-item {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .contact-detail-item > div:last-child { text-align: center; }
  .map-placeholder {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form-wrap {
    text-align: center;
    max-width: 560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form-wrap .form-title,
  .contact-form-wrap .form-subtitle {
    text-align: center;
  }
  .contact-form-wrap .btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  .blog-header {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .footer-brand,
  .footer-col { text-align: center; }
  .footer-brand-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }
  .footer-social { justify-content: center; }
  .footer-links { align-items: center; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  .hero { min-height: 85vh; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(191, 103, 73, 0.92) 0%,
      rgba(191, 103, 73, 0.82) 55%,
      transparent 100%
    );
  }
  .hero-img-main img,
  .hero-img-main picture img {
    object-position: center center;
  }
  .hero-content {
    padding: 8rem 1.2rem 3rem;
  }
  .hero-stats { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .stat-item { min-width: 80px; text-align: center; }

  .services-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .spaces-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .space-cell.hero-cell { grid-column: span 2; height: 220px; }
  .eco-imgs { grid-template-columns: 1fr; grid-template-rows: auto; }
  .eco-img.wide { grid-column: span 1; }
  .hero-title { font-size: 2.4rem; }
  .emotional-gallery { grid-template-columns: 1fr 1fr; height: 240px; min-height: 240px; }
  .testimonial-card { min-width: 280px; }
  .container { padding: 0 1.2rem; }
  .cta-btns { flex-direction: column; align-items: center; }
}
