/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --sand: #f5f0e8;
  --sand-dark: #ede5d5;
  --stone: #c9bba8;
  --earth: #8b7355;
  --earth-dark: #6b5840;
  --green: #4a7c59;
  --green-light: #d4e8da;
  --green-muted: #7aaa8a;
  --charcoal: #2a2420;
  --charcoal-mid: #4a3f38;
  --text: #3d342c;
  --text-light: #7a6a5e;
  --white: #fdfaf6;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', sans-serif;

  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 40px rgba(42, 36, 32, 0.10);
  --shadow-lg: 0 20px 60px rgba(42, 36, 32, 0.15);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

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

/* ===========================
   REVEAL ANIMATIONS
=========================== */
.reveal, .reveal-slow {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1), transform 0.75s cubic-bezier(.22,1,.36,1);
}
.reveal-slow { transition-duration: 1s; transition-delay: 0.15s; }
.reveal.visible, .reveal-slow.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(42,36,32,0.08);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.nav-logo em {
  font-style: italic;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--charcoal-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-muted) !important; color: var(--white) !important; }

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

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mm-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--charcoal);
}
.mm-link.cta {
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-size: 1.25rem;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2.5rem 5rem;
  overflow: hidden;
  background: var(--sand);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.b1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #c3d9bc 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.b2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #e8d9c0 0%, transparent 70%);
  bottom: 0; left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}
.b3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #b5cfc0 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

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

.hero-badge {
  position: absolute;
  bottom: 3rem;
  right: 4rem;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: var(--shadow);
  animation: rotate 20s linear infinite;
}
.hero-badge strong, .hero-badge span { display: block; }
.hero-badge span:first-child { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; }

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* actually let the badge not spin, that looks bad for text */
.hero-badge { animation: none; }

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(74, 124, 89, 0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--earth);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 124, 89, 0.35);
}

.btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--stone);
  color: var(--charcoal-mid);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-full { width: 100%; }

/* ===========================
   SECTIONS COMMON
=========================== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.section-title em { color: var(--green); font-style: italic; }

/* ===========================
   AYUDAMOS
=========================== */
.ayudamos {
  padding: 7rem 0;
  background: var(--white);
}
.ayudamos .container { text-align: center; }
.ayudamos .section-title { margin-bottom: 3.5rem; }

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

.card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--green-light);
}
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===========================
   CENTRO
=========================== */
.centro {
  padding: 7rem 0;
  background: var(--sand);
}
.centro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.centro-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.centro-text p strong { color: var(--earth); }
.centro-text .btn-primary { margin-top: 1rem; }

.centro-visual {
  display: flex;
  justify-content: center;
}
.centro-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 360px;
}
.cc {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: transform 0.3s;
}
.cc:hover { transform: translateX(8px); }
.cc1 { margin-left: 0; }
.cc2 { margin-left: 2rem; }
.cc3 { margin-left: 4rem; }
.cc-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  min-width: 2rem;
}

/* ===========================
   PRINCIPIOS
=========================== */
.principios {
  padding: 7rem 0;
  background: var(--charcoal);
}
.principios .section-label { color: var(--green-muted); }
.principios .section-title { color: var(--white); margin-bottom: 3.5rem; }
.principios .section-title em { color: var(--green-muted); }

.principios-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.principio {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s;
}
.principio:last-child { border-bottom: none; }

.principio-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  min-width: 4rem;
  transition: color 0.3s;
}
.principio:hover .principio-num { color: var(--green-muted); }

.principio-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.principio-body p { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 640px; }

/* ===========================
   METODOLOGIA
=========================== */
.metodologia {
  padding: 7rem 0;
  background: var(--white);
}
.meto-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
}
.meto-divider {
  height: 1px;
  background: var(--sand-dark);
  margin: 0;
}
.meto-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 3rem 0;
  transition: background 0.2s;
}
.meto-tag {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  font-style: italic;
}
.meto-item p { color: var(--text-light); font-size: 0.95rem; max-width: 600px; }

/* ===========================
   SOBRE MI
=========================== */
.sobre-mi {
  padding: 7rem 0;
  background: var(--sand);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.sobre-img-wrap {
  position: relative;
  padding-bottom: 2rem;
}
.sobre-img-bg {
  position: absolute;
  width: 85%;
  height: 85%;
  bottom: 0; right: 0;
  background: var(--green-light);
  border-radius: var(--radius);
  z-index: 0;
}
.sobre-img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 85%;
}
.sobre-img img { width: 100%; height: 500px; object-fit: cover; object-position: top center; }

.sobre-badge {
  position: absolute;
  bottom: 0;
  right: -1rem;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.sobre-badge strong { font-family: var(--font-serif); font-size: 1.1rem; color: var(--charcoal); }
.sobre-badge span { font-size: 0.8rem; color: var(--green); font-weight: 500; }

.sobre-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}
.sobre-text p strong { color: var(--earth); }

.sobre-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand-dark);
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.stat span { font-size: 0.8rem; color: var(--text-light); margin-top: 0.3rem; }

/* ===========================
   CONTACTO
=========================== */
.contacto {
  padding: 7rem 0;
  background: var(--white);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contacto-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.contact-phone, .contact-wa {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1rem;
  transition: color 0.2s;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--sand);
  border: 1px solid var(--sand-dark);
}
.contact-phone:hover { color: var(--green); }
.contact-wa { background: #d4e8da; border-color: #b0d4bc; }
.contact-wa:hover { color: #2e7d46; }
.phone-icon { font-size: 1.2rem; }

.contact-location {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 1.5rem;
}

.contacto-form {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal-mid);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}
.form-success.show { display: block; }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--charcoal);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.footer-logo { font-size: 1.5rem; }
.footer p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer p a { color: rgba(255,255,255,0.7); }
.footer-copy { color: rgba(255,255,255,0.3) !important; font-size: 0.78rem !important; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .centro-grid, .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cc2, .cc3 { margin-left: 0; }
  .sobre-img-wrap { max-width: 420px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-badge { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .principio { flex-direction: column; gap: 1rem; }
  .principio-num { font-size: 2.5rem; }
  .meto-item { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contacto-form { padding: 1.75rem; }
  .sobre-stats { gap: 1.5rem; }
  .sobre-img img { height: 340px; }
  .nav { padding: 1rem 1.5rem; }
  .container { padding: 0 1.5rem; }
}
