/* =========================================================
   BERENISNAILS — Design tokens
   ========================================================= */
:root{
  --blush:      #FBEAE6;
  --cream:      #FFF9F6;
  --rose:       #C97B84;
  --rose-dark:  #7D3C4A;
  --terracotta: #D98C6B;
  --gold:       #C9A15A;
  --ink:        #2E1F22;
  --ink-soft:   #6B5459;
  --line:       rgba(46,31,34,.12);
  --white:      #ffffff;

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

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

  --shadow-soft: 0 20px 45px -25px rgba(125,60,74,.45);
  --shadow-card: 0 14px 34px -22px rgba(46,31,34,.35);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--blush);
  color:var(--ink);
  font-family:var(--font-body);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family:var(--font-display); font-weight:600; color:var(--rose-dark); margin:0; }
p{ margin:0; }
.wrap{ max-width:1200px; margin-inline:auto; padding-inline:24px; }
.ital{ font-style:italic; font-weight:500; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

:focus-visible{
  outline:2px solid var(--rose-dark);
  outline-offset:3px;
  border-radius:4px;
}

/* Reveal-on-scroll base state */
[data-reveal]{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{
  opacity:1;
  transform:translateY(0);
}

/* =========================================================
   Scroll progress bar
   ========================================================= */
.scroll-lacquer{
  position:fixed;
  top:0; left:0;
  height:3px;
  width:0%;
  background:linear-gradient(90deg,var(--gold),var(--rose),var(--rose-dark));
  z-index:9998;
  transition:width .1s linear;
}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:500;
  padding:18px 0;
  transition:background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled{
  background:rgba(255,249,246,.86);
  backdrop-filter:blur(10px);
  padding:12px 0;
  box-shadow:0 8px 30px -20px rgba(46,31,34,.4);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  color:var(--rose-dark);
}
.brand-mark{ color:var(--rose-dark); display:inline-flex; }
.brand-name{
  font-family:var(--font-display);
  font-size:1.5rem;
  font-weight:600;
  letter-spacing:.01em;
}
.brand-name em{ font-style:italic; color:var(--rose); font-weight:500; }

.main-nav{
  display:flex;
  align-items:center;
  gap:32px;
  font-size:.95rem;
  letter-spacing:.02em;
}
.main-nav a:not(.nav-cta){
  position:relative;
  color:var(--ink);
  padding-bottom:4px;
}
.main-nav a:not(.nav-cta)::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0;
  height:1px; background:var(--rose-dark);
  transition:right .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after{ right:0; }

.nav-cta{
  background:var(--rose-dark);
  color:var(--cream) !important;
  padding:10px 20px;
  border-radius:999px;
  font-size:.85rem;
  transition:background .25s ease, transform .25s ease;
}
.nav-cta:hover{ background:var(--rose); transform:translateY(-1px); }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:0;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  width:24px; height:2px; background:var(--rose-dark);
  transition:transform .3s ease, opacity .3s ease;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  padding:150px 0 0;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  top:-180px; right:-160px;
  width:520px; height:520px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(201,161,90,.28), transparent 70%);
  pointer-events:none;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
  padding-bottom:70px;
}

.eyebrow{
  font-family:var(--font-body);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--rose);
  font-weight:500;
  margin-bottom:16px;
}
.hero-title{
  font-size:clamp(2.6rem,4.6vw,4.1rem);
  line-height:1.05;
  color:var(--rose-dark);
  margin-bottom:22px;
}
.hero-text{
  font-size:1.06rem;
  line-height:1.7;
  color:var(--ink-soft);
  max-width:46ch;
  margin-bottom:34px;
}

.hero-actions{
  display:flex; gap:16px; flex-wrap:wrap;
  margin-bottom:42px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:15px 30px;
  border-radius:999px;
  font-size:.92rem;
  letter-spacing:.02em;
  font-weight:500;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn-primary{
  background:var(--rose-dark);
  color:var(--cream);
  box-shadow:var(--shadow-soft);
}
.btn-primary:hover{ background:var(--rose); transform:translateY(-2px); }
.btn-ghost{
  background:transparent;
  border-color:var(--rose-dark);
  color:var(--rose-dark);
}
.btn-ghost:hover{ background:var(--rose-dark); color:var(--cream); transform:translateY(-2px); }
.btn-sm{ padding:11px 22px; font-size:.85rem; }
.btn-block{ width:100%; }

.hero-stats{
  display:flex;
  align-items:center;
  gap:26px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.hero-stat{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.hero-stat strong{
  font-family:var(--font-display);
  font-size:1.7rem;
  font-weight:600;
  color:var(--rose-dark);
  line-height:1;
}
.hero-stat span{
  font-size:.76rem;
  letter-spacing:.02em;
  color:var(--ink-soft);
}
.hero-stat-divider{
  width:1px;
  height:32px;
  background:var(--line);
}

/* Hero photo collage */
.hero-gallery{
  position:relative;
  height:560px;
}
.hero-img{
  position:absolute;
  margin:0;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  border:6px solid var(--cream);
}
.hero-img img{ width:100%; height:100%; object-fit:cover; }

.hero-img--a{
  width:62%;
  height:64%;
  top:0; left:0;
  z-index:2;
  animation:float-a 9s ease-in-out infinite;
}
.hero-img--b{
  width:46%;
  height:46%;
  bottom:0; left:14%;
  z-index:3;
  animation:float-b 10s ease-in-out infinite;
}
.hero-img--c{
  width:48%;
  height:56%;
  top:6%; right:0;
  z-index:1;
  animation:float-c 11s ease-in-out infinite;
}
@keyframes float-a{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-6px);} }
@keyframes float-b{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(5px);} }
@keyframes float-c{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-7px);} }

.hero-badge{
  position:absolute;
  bottom:6%;
  right:2%;
  z-index:4;
  background:var(--cream);
  border-radius:var(--radius-md);
  padding:16px 20px;
  box-shadow:var(--shadow-card);
  display:flex;
  flex-direction:column;
  line-height:1.15;
  max-width:150px;
}
.hero-badge strong{
  font-family:var(--font-display);
  font-size:1.9rem;
  color:var(--rose-dark);
}
.hero-badge span{
  font-size:.72rem;
  color:var(--ink-soft);
  letter-spacing:.02em;
}

/* Services strip — barra fija y elegante, sin animación */
.services-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--rose-dark);
}
.services-strip-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:0;
  padding:20px 24px;
}
.services-strip-inner span{
  color:var(--cream);
  font-family:var(--font-display);
  font-size:1.05rem;
  letter-spacing:.04em;
  font-weight:500;
  padding:0 22px;
  position:relative;
}
.services-strip-inner span:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:4px; height:4px;
  border-radius:50%;
  background:var(--gold);
}

/* =========================================================
   Section head (shared)
   ========================================================= */
.section-head{
  max-width:640px;
  margin-bottom:52px;
}
.section-head h2{
  font-size:clamp(1.9rem,3vw,2.6rem);
  line-height:1.15;
  margin-bottom:14px;
}
.section-sub{
  color:var(--ink-soft);
  font-size:1rem;
  line-height:1.6;
}

section{ padding:100px 0; }

/* =========================================================
   Services
   ========================================================= */
.services{ background:var(--cream); }
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.service-card{
  background:var(--blush);
  border:1px solid transparent;
  border-radius:var(--radius-md);
  padding:36px 32px;
  position:relative;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-card);
  border-color:rgba(125,60,74,.15);
}
.service-swatch{
  display:block;
  width:36px; height:36px;
  border-radius:50% 50% 50% 6px;
  background:var(--sw);
  margin-bottom:20px;
  box-shadow:0 6px 14px -6px rgba(46,31,34,.4);
}
.service-card h3{
  font-size:1.4rem;
  margin-bottom:10px;
}
.service-card p{
  color:var(--ink-soft);
  font-size:.95rem;
  line-height:1.65;
}

/* Fotos reales de la galería y del estudio */
.gallery-item,
.about-photo{
  margin:0;
  border-radius:var(--radius-sm);
  overflow:hidden;
  position:relative;
  box-shadow:var(--shadow-card);
}
.gallery-item img,
.about-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s var(--ease);
}
.gallery-item:hover img{ transform:scale(1.06); }
.gallery-item{ aspect-ratio:1/1; }

.service-card--cta{
  background:var(--rose-dark);
  color:var(--cream);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.service-card--cta h3{ color:var(--cream); }
.service-card--cta p{ color:rgba(255,249,246,.8); }
.service-card--cta .btn-primary{
  background:var(--cream);
  color:var(--rose-dark);
  box-shadow:none;
  align-self:flex-start;
}
.service-card--cta .btn-primary:hover{ background:var(--gold); color:var(--ink); }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.gallery-note{
  margin-top:36px;
  text-align:center;
}
.ig-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--rose-dark);
  font-size:.92rem;
  border-bottom:1px solid var(--rose-dark);
  padding-bottom:2px;
  transition:opacity .25s ease;
}
.ig-link:hover{ opacity:.7; }

/* =========================================================
   About
   ========================================================= */
.about{ background:var(--cream); }
.about-inner{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:64px;
  align-items:center;
}
.about-photo{
  aspect-ratio:4/5;
  border-radius:var(--radius-lg);
}
.about-copy h2{
  font-size:clamp(1.9rem,3vw,2.5rem);
  margin-bottom:20px;
  line-height:1.2;
}
.about-copy p{
  color:var(--ink-soft);
  line-height:1.7;
  margin-bottom:22px;
}
.about-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.about-list li{
  position:relative;
  padding-left:26px;
  color:var(--ink);
  font-size:.96rem;
}
.about-list li::before{
  content:"";
  position:absolute;
  left:0; top:7px;
  width:14px; height:14px;
  border-radius:50%;
  background:var(--gold);
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials{ }
.testi-track{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.testi-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:34px 28px;
  margin:0;
  border-top:3px solid var(--gold);
  box-shadow:var(--shadow-card);
}
.testi-card p{
  font-family:var(--font-display);
  font-size:1.2rem;
  line-height:1.5;
  color:var(--ink);
  margin-bottom:18px;
  font-style:italic;
}
.testi-card cite{
  font-style:normal;
  font-size:.82rem;
  letter-spacing:.03em;
  color:var(--rose);
}

/* =========================================================
   Booking
   ========================================================= */
.booking{
  background:var(--rose-dark);
  color:var(--cream);
  border-radius:var(--radius-lg);
  max-width:1200px;
  margin:0 auto 100px;
  padding:0;
}
.booking-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
  padding:80px 24px;
}
.booking .eyebrow{ color:var(--gold); }
.booking h2{
  color:var(--cream);
  font-size:clamp(1.9rem,3vw,2.5rem);
  margin-bottom:16px;
  line-height:1.2;
}
.booking .section-sub{
  color:rgba(255,249,246,.82);
  margin-bottom:32px;
}
.booking-contact{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.booking .btn-ghost{
  border-color:var(--cream);
  color:var(--cream);
}
.booking .btn-ghost:hover{ background:var(--cream); color:var(--rose-dark); }
.booking .btn-primary{
  background:var(--gold);
  color:var(--ink);
  box-shadow:none;
}
.booking .btn-primary:hover{ background:var(--cream); }

.booking-form{
  background:var(--cream);
  border-radius:var(--radius-md);
  padding:34px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.form-row{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.form-row label{
  font-size:.78rem;
  letter-spacing:.03em;
  color:var(--rose-dark);
  font-weight:500;
}
.form-row input,
.form-row select,
.form-row textarea{
  font-family:var(--font-body);
  font-size:.95rem;
  padding:12px 14px;
  border-radius:var(--radius-sm);
  border:1px solid var(--line);
  background:var(--white);
  color:var(--ink);
  resize:vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline:none;
  border-color:var(--rose);
  box-shadow:0 0 0 3px rgba(201,123,132,.2);
}
.form-note{
  font-size:.85rem;
  min-height:1.2em;
  color:var(--rose-dark);
  text-align:center;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background:var(--ink);
  color:rgba(255,249,246,.75);
  padding-top:56px;
}
.footer-inner{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:32px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,249,246,.12);
}
.footer-brand .brand-name{
  color:var(--cream);
  font-size:1.3rem;
}
.footer-brand p{
  margin-top:10px;
  font-size:.85rem;
  color:rgba(255,249,246,.6);
}
.footer-links,.footer-social{
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:.9rem;
}
.footer-links a:hover,.footer-social a:hover{ color:var(--gold); }
.footer-bottom{
  padding:22px 24px;
  font-size:.78rem;
  color:rgba(255,249,246,.5);
  text-align:center;
}

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top{
  position:fixed;
  bottom:24px; right:24px;
  width:46px; height:46px;
  border-radius:50%;
  background:var(--rose-dark);
  color:var(--cream);
  border:none;
  cursor:pointer;
  font-size:1.1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow-soft);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s ease, background .25s ease;
  z-index:400;
}
.back-to-top.is-visible{
  opacity:1; visibility:visible; transform:translateY(0);
}
.back-to-top:hover{ background:var(--rose); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1024px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-gallery{ height:460px; order:-1; }
  .about-inner{ grid-template-columns:1fr; }
  .about-media{ order:-1; }
  .booking-inner{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .testi-track{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:760px){
  .main-nav{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:min(78vw,320px);
    background:var(--cream);
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:28px;
    padding:40px;
    transform:translateX(100%);
    transition:transform .4s var(--ease);
    box-shadow:-10px 0 40px rgba(46,31,34,.2);
  }
  .main-nav.is-open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
  .nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ opacity:0; }
  .nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  section{ padding:70px 0; }
  .hero{ padding-top:120px; }
  .hero-gallery{ height:380px; }
  .services-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .booking-inner{ padding:56px 22px; }
  .footer-inner{ grid-template-columns:1fr; gap:24px; }
}
