/* ═══════════════════════════════════════════════════════════
   GABRIELA ALARCÓN — BRAND KIT (PLACEHOLDERS LAYOUT)
   Premium Contrast & Structure
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Mulish:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --clr-crema: #fdf8f4;
  --clr-arena: #d3b294;
  --clr-terracota: #8c4f36;
  --clr-chocolate: #4c271d;
  --clr-gris: #2d2e2c;
  --clr-blanco: #ffffff;
  --clr-whatsapp: #25D366;

  --ff-heading: 'Cormorant Garamond', serif;
  --ff-body: 'Mulish', sans-serif;

  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 100px;
  --shadow-card: 0 4px 24px rgba(76, 39, 29, 0.06);
  --shadow-lift: 0 12px 40px rgba(76, 39, 29, 0.12);

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.4s;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--ff-body);
  color: var(--clr-gris);
  background-color: var(--clr-crema);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--ff-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--clr-chocolate);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--clr-gris);
}

em,
.text-gold {
  color: var(--clr-terracota);
  font-style: italic;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* ── Layout Defaults ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

section {
  padding: var(--sp-4xl) 0;
  position: relative;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* ── Decorative Elements ── */
.section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-terracota);
  margin-bottom: var(--sp-md);
  position: relative;
  padding-left: 40px;
}

.text-center .section-label {
  padding-left: 0;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--clr-terracota);
}

.text-center .section-label::before {
  display: none;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--clr-arena);
  margin: var(--sp-lg) 0;
}

.text-center .divider,
.list-center .divider,
.process-header .divider {
  margin: var(--sp-lg) auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: var(--sp-md) var(--sp-xl);
  border-radius: var(--radius-pill);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all var(--duration) var(--ease-smooth);
}

.btn-primary {
  background: var(--clr-terracota);
  color: var(--clr-blanco);
  box-shadow: 0 4px 15px rgba(140, 79, 54, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(140, 79, 54, 0.4);
}

.btn-whatsapp {
  background: var(--clr-whatsapp);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  background: #1ebe57;
}

.btn-outline {
  background: transparent;
  color: var(--clr-chocolate);
  border: 2px solid var(--clr-arena);
}

.btn-outline:hover {
  background: var(--clr-arena);
}

/* ── Image Placeholder Component ── */
.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background-color: rgba(211, 178, 148, 0.15);
  /* Arena muy sutil */
  border: 2px dashed rgba(140, 79, 54, 0.3);
  /* Terracota sutil */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-terracota);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--duration);
}

.navbar.scrolled {
  background: rgba(253, 248, 244, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(76, 39, 29, 0.05);
  padding: var(--sp-sm) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
}

.navbar-brand {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-chocolate);
}

.navbar-brand span {
  color: var(--clr-terracota);
  font-weight: 400;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: var(--sp-xl);
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-gris);
  transition: color var(--duration);
}

.nav-links a:hover {
  color: var(--clr-terracota);
}

.nav-links a.btn-primary:hover {
  color: var(--clr-blanco);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--clr-chocolate);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════
   HERO 
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: var(--clr-crema);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-3xl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: var(--sp-md);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-terracota);
  letter-spacing: 2px;
  border-bottom: 2px solid var(--clr-arena);
  padding-bottom: 5px;
}

.hero h1 {
  margin-bottom: var(--sp-lg);
}

.hero-subtitle {
  margin-bottom: var(--sp-2xl);
  font-size: 1.2rem;
}

.hero-ctas {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: var(--sp-3xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--clr-arena);
  display: flex;
  gap: var(--sp-2xl);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--clr-terracota);
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-chocolate);
}

.mobile-hero-image {
  display: none;
}

.hero-image-wrapper {
  height: 500px;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about {
  background: var(--clr-blanco);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}

.about-image {
  height: 550px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius-md);
}

.mobile-about-image {
  display: none;
}

.about-text {
  margin-bottom: var(--sp-xl);
  font-size: 1.15rem;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  width: 100%;
  text-align: left;
}

.credential-item .icon {
  font-size: 1.5rem;
}

.credential-item p {
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-chocolate);
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services {
  background: var(--clr-crema);
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--sp-3xl);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--clr-blanco);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.service-card-img {
  width: 100%;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.service-card-img .image-placeholder {
  border: none;
  border-bottom: 2px dashed rgba(140, 79, 54, 0.3);
  border-radius: 0;
}

.service-card-body {
  padding: var(--sp-2xl) var(--sp-xl);
}

.service-card-body h3 {
  margin-bottom: var(--sp-sm);
}

.service-benefits {
  margin: var(--sp-lg) 0;
  list-style: none;
  text-align: left;
}

.service-benefits li {
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--clr-chocolate);
}

.service-benefits .check {
  color: var(--clr-terracota);
  font-weight: 800;
  margin-right: 8px;
}

/* ═══════════════════════════════════════════════════════════
   PROCESS (HIGH CONTRAST DARK STYLING)
   ═══════════════════════════════════════════════════════════ */
.process {
  background: var(--clr-chocolate);
  color: var(--clr-blanco);
  text-align: center;
  padding: var(--sp-4xl) 0;
}

.process h2,
.process p,
.process h3 {
  color: var(--clr-crema);
}

.process p {
  opacity: 0.9;
}

.process .section-label {
  color: var(--clr-arena);
}

.process .divider {
  background: var(--clr-arena);
  margin: var(--sp-lg) auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-3xl);
}

.step-card {
  background: rgba(45, 46, 44, 0.4);
  padding: var(--sp-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(211, 178, 148, 0.15);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--clr-arena);
  color: var(--clr-chocolate);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--sp-md);
}

.step-card h3 {
  color: var(--clr-arena);
  margin-bottom: var(--sp-md);
}

.step-card p {
  color: var(--clr-crema);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS / GALLERY
   ═══════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--clr-blanco);
}

.testimonials-header {
  margin-bottom: var(--sp-3xl);
  text-align: center;
}

.photo-gallery-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-arrow {
  display: none;
}

.gallery-dots {
  display: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-case {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.photo-grid .image-placeholder {
  min-height: 250px;
}

.result-card img {
  width: 100%;
  height: 250px !important;
  object-fit: cover;
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════════════ */
.cta-section {
  padding: var(--sp-4xl) 0;
  background: var(--clr-blanco);
}

.cta-banner {
  display: flex;
  flex-direction: row;
  background: var(--clr-crema);
  border: 1px solid rgba(211, 178, 148, 0.3);
  /* Arena */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(76, 39, 29, 0.05);
  /* Chocolate shadow */
}

.cta-banner-content {
  flex: 1;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.cta-banner-title {
  font-family: var(--ff-heading);
  font-size: 2.5rem;
  color: var(--clr-chocolate);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta-banner-text {
  font-size: 1.05rem;
  color: var(--clr-gris);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.cta-banner-image {
  flex: 1;
  min-height: 400px;
  display: flex;
}

.cta-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--clr-gris);
  color: var(--clr-blanco);
  text-align: center;
  padding: var(--sp-2xl) 0;
  font-size: 0.9rem;
}

.footer .brand {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  color: var(--clr-blanco);
  margin-bottom: var(--sp-xs);
}

.footer .brand span {
  color: var(--clr-arena);
  font-style: italic;
}

@media (max-width: 992px) {

  .hero .container,
  .about .container {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .desktop-hero-image,
  .desktop-about-image {
    display: none;
  }

  .mobile-hero-image,
  .mobile-about-image {
    display: block;
    height: 350px;
    margin-bottom: var(--sp-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .mobile-hero-image img,
  .mobile-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
  }

  .mobile-about-image img {
    object-position: center 28%;
  }

  .services-grid,
  .steps-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  /* Mobile CTA Banner */
  .cta-banner {
    flex-direction: column;
  }

  .cta-banner-content {
    padding: 3rem 1.5rem;
    align-items: center;
    text-align: center;
  }

  .cta-banner-content .section-label {
    text-align: center !important;
  }

  .cta-banner-title {
    font-size: 2rem;
  }

  .cta-banner-image {
    height: 350px;
    min-height: unset;
  }

  /* Mobile CTA Banner */
  .cta-banner {
    flex-direction: column;
  }

  .cta-banner-content {
    padding: 3rem 1.5rem;
    align-items: center;
    text-align: center;
  }

  .cta-banner-content .section-label {
    text-align: center !important;
  }

  .cta-banner-title {
    font-size: 2rem;
  }

  .cta-banner-image {
    height: 350px;
    min-height: unset;
  }

  /* Mobile Carousel */
  .photo-grid {
    display: flex;
    gap: 0;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .gallery-case {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0 5px;
  }

  .gallery-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--clr-chocolate);
    font-size: 1.2rem;
    cursor: pointer;
  }

  .prev-arrow {
    left: -5px;
  }

  .next-arrow {
    right: -5px;
  }

  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-arena);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .dot.active {
    background: var(--clr-terracota);
    width: 24px;
    border-radius: 4px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.nav-active {
    right: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
    width: 100%;
    text-align: center;
  }

  .hamburger.toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  .hamburger.toggle span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
  }
}

@media (max-width: 576px) {
  /* En vez de grid 1fr, ahora es carousel así que no afecta */
}