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

:root {
  --cream: #f5f0e8;
  --sand: #ede5d0;
  --sage: #8a9e8a;
  --sage-light: #b8c9b4;
  --sage-dark: #4d6e4d;
  --clay: #c4956a;
  --clay-light: #ddb590;
  --stone: #242018;
  --stone-mid: #4a4540;
  --stone-light: #7a7268;
  --white: #faf8f4;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.25s;
  --t-med: 0.45s;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', sans-serif;
  background: var(--cream);
  color: var(--stone);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background var(--t-med) var(--ease),
              padding var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
nav.scrolled {
  background: rgba(245, 240, 232, 0.94);
  backdrop-filter: blur(14px);
  padding: 0.9rem 3rem;
  box-shadow: 0 1px 0 rgba(138,158,138,0.18);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--t-fast) var(--ease);
}
.nav-logo:hover { opacity: 0.80; }
.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--sage-dark); }

/* ── HERO ── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('fondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.10);
  z-index: 0;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(138,158,138,0.22);
  animation: breathe 8s ease-in-out infinite;
  z-index: 0;
  border-color: rgba(245, 240, 232, 0.12);
}
.hero-circle:nth-child(1) { width: 480px; height: 480px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 0s; }
.hero-circle:nth-child(2) { width: 680px; height: 680px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 1.5s; border-color: rgba(138,158,138,0.13); }
.hero-circle:nth-child(3) { width: 880px; height: 880px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 3s; border-color: rgba(138,158,138,0.07); }

@keyframes breathe {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%,-50%) scale(1.04); opacity: 0.55; }
}

.hero-content { position: relative; z-index: 1; }
.hero-logo-img {
  width: clamp(200px, 40vw, 420px);
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards 0.3s;
  margin-bottom: 0.5rem;
  mix-blend-mode: screen;

}
.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 400;
  color: var(--sage-light);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 1.2rem 0 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease forwards 0.6s;
}
.hero-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 3rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.9s;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.4rem;
  border: 1.5px solid var(--sage-dark);
  border-radius: var(--radius-xl);
  border-color: var(--sage-light);
  color: var(--sage-light);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  transition:
    background var(--t-med) var(--ease),
    color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 1.2s;
}
.hero-cta:hover {
  background: var(--sage-light);
  color: var(--stone);
  box-shadow: 0 8px 28px rgba(77,110,77,0.22);
  transform: translateY(-2px);
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 2s;
}
.hero-scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-light);
  font-weight: 400;
}
.scroll-line {
  width: 1px; height: 50px;
  background: rgba(138,158,138,0.35);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--clay);
  animation: scrollDown 2s ease-in-out infinite 2s;
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 1.5px;
  background: var(--sage-light);
  margin: 2rem auto;
  border-radius: 2px;
}

/* ── LAYOUT ── */
section { padding: 6rem 2rem; }
.container { max-width: 860px; margin: 0 auto; }
.container-wide { max-width: 1180px; margin: 0 auto; }

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.2rem;
  display: block;
  font-weight: 600;
}
.section-title {
  font-family: 'Figtree', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--stone);
  letter-spacing: -0.01em;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-dark);
}

/* ── INTRO ── */
.intro { background: var(--white); text-align: center; }
.intro-headline {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--stone);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  font-style: italic;
}
.intro-headline em { font-style: normal; font-weight: 500; color: var(--sage-dark); }
.intro-body {
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  color: var(--stone-light);
  font-weight: 300;
  line-height: 1.85;
  max-width: 500px;
  margin: 0 auto;
}

/* ── SERVICES ── */
.services { background: var(--cream); }
.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.service-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2rem;
  text-align: center;
  border: 1px solid rgba(138,158,138,0.12);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    background var(--t-med) var(--ease);
  cursor: default;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(77,110,77,0.1);
  border-color: rgba(77,110,77,0.25);
  background: var(--white);
}
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(138,158,138,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  transition:
    background var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}
.service-item:hover .service-icon-wrap {
  background: rgba(77,110,77,0.15);
  transform: scale(1.08) rotate(-2deg);
}
.service-icon-wrap .mdi {
  font-size: 1.55rem;
  color: var(--sage-dark);
  transition: color var(--t-fast) var(--ease);
}
.service-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--stone);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--stone-light);
  font-weight: 300;
}

/* ── ABOUT ── */
.about { background: var(--sand); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  display: block;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-frame {
  width: 300px; height: 380px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(77,110,77,0.25);
  background: rgba(245,240,232,0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: box-shadow var(--t-med) var(--ease);
  overflow: hidden;
}
.about-frame:hover {
  box-shadow: 0 20px 60px rgba(77,110,77,0.12);
}
.about-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: calc(var(--radius-xl) + 10px);
  border: 1px solid rgba(77,110,77,0.1);
}
.about-om-symbol {
  font-size: 8.5rem;
  font-weight: 300;
  color: var(--sage-light);
  line-height: 1;
  opacity: 0.5;
  letter-spacing: 0;
  font-family: 'Figtree', sans-serif;
}
.about-name-vertical {
  position: absolute;
  right: -2.2rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  white-space: nowrap;
  font-weight: 600;
}
.about-text .section-label { text-align: left; }
.about-text .section-title { margin-bottom: 2rem; }
.about-text p {
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--stone-mid);
  margin-bottom: 1.1rem;
  font-weight: 300;
}
.about-text strong { color: var(--stone); font-weight: 500; }
.about-quote {
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--sage-dark);
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--sage-light);
  border-radius: 0 0 0 2px;
}

/* ── PILLARS ── */
.pillars {
  background: var(--stone);
  padding: 5rem 2rem;
  text-align: center;
}
.pillars .section-title { color: var(--cream); margin-bottom: 0.5rem; }
.pillars .section-label { color: var(--clay-light); }
.pillars-sub {
  font-style: italic;
  font-size: 1rem;
  color: rgba(245,240,232,0.4);
  margin-bottom: 3.5rem;
  font-weight: 300;
}
.pillars-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  min-width: 140px;
  transition:
    background var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}
.pillar:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(196,149,106,0.25);
  transform: translateY(-4px);
}
.pillar-icon .mdi {
  font-size: 1.5rem;
  color: var(--clay-light);
  opacity: 0.75;
  transition: opacity var(--t-fast) var(--ease);
}
.pillar:hover .pillar-icon .mdi { opacity: 1; }
.pillar-line {
  width: 1px; height: 28px;
  background: rgba(196,149,106,0.25);
  border-radius: 2px;
}
.pillar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
  transition: transform var(--t-fast) var(--ease);
}
.pillar:hover .pillar-dot { transform: scale(1.4); }
.pillar-word {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.03em;
}

/* ── QUOTE ── */
.quote-section {
  background: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}
.quote-mark {
  font-size: 5rem;
  line-height: 0.5;
  color: var(--sage-light);
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
blockquote {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: var(--stone);
  max-width: 660px;
  margin: 0 auto 2rem;
  letter-spacing: -0.01em;
}
cite {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-light);
  font-style: normal;
  font-weight: 500;
}

/* ── CONTACT ── */
.contact { background: var(--cream); text-align: center; }
.contact .section-title { margin-bottom: 0.8rem; }
.contact-sub {
  font-size: 0.88rem;
  color: var(--stone-light);
  margin-bottom: 3rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
  font-weight: 300;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.4rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-xl);
  margin-bottom: 2.8rem;
  transition:
    background var(--t-med) var(--ease),
    transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}
.whatsapp-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.whatsapp-btn:hover {
  background: #1db955;
  transform: translateY(-3px);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border: 1.5px solid rgba(74,69,64,0.18);
  border-radius: var(--radius-xl);
  color: var(--stone-mid);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  transition:
    border-color var(--t-med) var(--ease),
    color var(--t-med) var(--ease),
    background var(--t-med) var(--ease),
    transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}
.social-link:hover {
  border-color: var(--stone);
  color: var(--stone);
  background: rgba(74,69,64,0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74,69,64,0.08);
}
.social-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  background: var(--stone);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  display: block;
  text-transform: uppercase;
}
footer p {
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  color: rgba(245,240,232,0.32);
  font-weight: 300;
}
.footer-line {
  width: 36px; height: 1px;
  background: rgba(196,149,106,0.35);
  margin: 1.2rem auto;
  border-radius: 2px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: 50%;
  opacity: 0.45;
  transition:
    opacity var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}
.footer-social a:hover {
  opacity: 1;
  border-color: rgba(196,149,106,0.5);
  transform: translateY(-2px);
}
.footer-social svg { width: 15px; height: 15px; }

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.52s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-frame { width: 230px; height: 280px; }
  .about-name-vertical { display: none; }
  .pillars-row { gap: 1rem; }
  .pillar { padding: 1.5rem 1.8rem; min-width: 120px; }
}
