/* ============================================
   DOMI WENZEL — CSS Principal
   Paleta: Verde Botella, Crema, Terracota, Lila
   Tipografía: Fraunces + DM Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ---------- TOKENS ---------- */
:root {
  --verde:    #2D4A3E;
  --crema:    #FAF3E8;
  --terracota:#A0522D;
  --beige:    #E8D5B7;
  --cafe:     #2C1A0E;
  --lila:     #8B7BA8;
  --gris:     #9E9488;
  --tierra:   #7B4F2E;

  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1120px;
  --pad-x: clamp(1.25rem, 5vw, 2.5rem);
  --section-gap: clamp(3rem, 6vw, 5rem);
}

/* ---------- BASE ---------- */
body {
  font-family: var(--ff-body);
  background: var(--crema);
  color: var(--cafe);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--crema);
  border-bottom: 0.5px solid rgba(44,26,14,0.12);
  padding: 0 var(--pad-x);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--verde);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--cafe);
  opacity: 0.65;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--crema);
  background: var(--verde);
  border: none;
  padding: 9px 20px;
  border-radius: 100px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }

/* Hamburger — sólo mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cafe);
  transition: all 0.25s;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
  text-align: center;
}
.btn:hover { opacity: 0.85; }
.btn:active { transform: scale(0.98); }

.btn-verde       { background: var(--verde);     color: var(--crema); }
.btn-terracota   { background: var(--terracota); color: var(--crema); }
.btn-outline-verde {
  background: transparent;
  color: var(--verde);
  border: 1px solid var(--verde);
  font-weight: 400;
}
.btn-outline-terracota {
  background: transparent;
  color: var(--terracota);
  border: 1px solid var(--terracota);
  font-weight: 400;
}
.btn-outline-crema {
  background: transparent;
  color: rgba(250,243,232,0.8);
  border: 1px solid rgba(250,243,232,0.35);
  font-weight: 400;
}
.btn-crema { background: var(--crema); color: var(--verde); }

/* ---------- UTILIDADES ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow-lila   { color: var(--lila); }
.eyebrow-gris   { color: var(--gris); }
.eyebrow-crema  { color: rgba(250,243,232,0.5); }

.divider {
  height: 0.5px;
  background: rgba(44,26,14,0.1);
  margin: 0 var(--pad-x);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- HERO INICIO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.hero-left {
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 300;
  color: var(--verde);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 1.25rem 0 1.5rem;
}
.hero-title em { font-style: italic; color: var(--terracota); }

.hero-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cafe);
  opacity: 0.72;
  max-width: 400px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-right {
  background: var(--verde);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-tag {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
  background: rgba(250,243,232,0.12);
  border: 0.5px solid rgba(250,243,232,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(250,243,232,0.8);
  text-transform: uppercase;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(250,243,232,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-placeholder p {
  font-size: 12px;
  color: rgba(250,243,232,0.4);
  font-style: italic;
}

/* ---------- INTRO TEXT ---------- */
.intro-section {
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad-x);
  max-width: 720px;
}
.intro-section p {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--cafe);
  letter-spacing: -0.01em;
}
.intro-section p em { font-style: italic; color: var(--verde); }

/* ---------- SERVICIOS GRID ---------- */
.servicios-section {
  padding: 0 var(--pad-x) clamp(3rem, 5vw, 5rem);
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 1.75rem;
}
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(44,26,14,0.1);
  border: 0.5px solid rgba(44,26,14,0.1);
}
.servicio-card {
  background: var(--crema);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}
.servicio-card:hover { background: var(--beige); }
.servicio-card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lila);
  margin-bottom: 1rem;
}
.servicio-card h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 300;
  color: var(--verde);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.servicio-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--cafe);
  opacity: 0.68;
  margin-bottom: 1.75rem;
  flex: 1;
}
.servicio-arrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--verde);
  display: flex;
  align-items: center;
  gap: 6px;
}
.servicio-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.servicio-card:hover .servicio-arrow svg { transform: translateX(3px); }

/* ---------- FRASE DESTACADA ---------- */
.frase-section {
  padding: clamp(3rem, 5vw, 4.5rem) var(--pad-x);
  background: var(--verde);
}
.frase-section blockquote {
  font-family: var(--ff-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: var(--crema);
  line-height: 1.45;
  max-width: 600px;
  letter-spacing: -0.01em;
  opacity: 0.92;
}
.frase-section cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--ff-body);
  font-size: 11px;
  font-style: normal;
  color: rgba(250,243,232,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- SERVICE HERO ---------- */
.service-hero {
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) clamp(2.5rem, 4vw, 3.5rem);
}
.service-hero.verde-bg { background: var(--verde); }
.service-hero.terracota-bg { background: var(--terracota); }

.service-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 520px;
  margin: 1rem 0 1.5rem;
}
.service-hero.verde-bg h1,
.service-hero.terracota-bg h1 { color: var(--crema); }

.service-hero .lead {
  font-size: 15px;
  line-height: 1.75;
  max-width: 500px;
}
.service-hero.verde-bg .lead,
.service-hero.terracota-bg .lead { color: rgba(250,243,232,0.72); }

/* ---------- INFO CHIPS ---------- */
.info-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem var(--pad-x);
  border-bottom: 0.5px solid rgba(44,26,14,0.1);
}
.info-chip-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gris);
  font-weight: 500;
  margin-bottom: 3px;
}
.info-chip-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--verde);
}

/* ---------- DIFERENCIAL GRID ---------- */
.diferencial-section {
  padding: clamp(2.5rem, 4vw, 3.5rem) var(--pad-x);
}
.diferencial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(44,26,14,0.1);
  border: 0.5px solid rgba(44,26,14,0.1);
}
.diferencial-item {
  background: var(--crema);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.diferencial-item h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--verde);
  margin-bottom: 0.5rem;
}
.diferencial-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--cafe);
  opacity: 0.65;
}
.diferencial-tag {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lila);
  margin-bottom: 0.6rem;
  display: block;
}

/* ---------- PARA QUIÉN ---------- */
.para-quien {
  margin: 0 var(--pad-x) clamp(2rem, 4vw, 3rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--beige);
}
.para-quien h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--verde);
  margin-bottom: 1.5rem;
}
.para-quien-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.para-quien-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cafe);
  opacity: 0.8;
  padding-left: 1rem;
  border-left: 2px solid var(--terracota);
}

/* ---------- CTA BLOCK ---------- */
.cta-block {
  padding: clamp(2rem, 4vw, 3rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.cta-block.verde-bg { background: var(--verde); }
.cta-block.terracota-bg { background: var(--terracota); }
.cta-block h3 {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  color: var(--crema);
  margin-bottom: 0.25rem;
}
.cta-block p {
  font-size: 14px;
  color: rgba(250,243,232,0.65);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 0.5rem;
}
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- SOBRE MÍ ---------- */
.sobre-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.sobre-left {
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sobre-left h1 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  color: var(--verde);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 1rem 0 1.5rem;
}
.sobre-left h1 em { font-style: italic; color: var(--terracota); }
.sobre-left p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cafe);
  opacity: 0.7;
  max-width: 380px;
}
.sobre-right {
  background: var(--beige);
  overflow: hidden;
}
.sobre-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sobre-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sobre-placeholder p {
  font-size: 12px;
  color: rgba(44,26,14,0.35);
  font-style: italic;
}

.historia-section {
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.historia-col p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--cafe);
  opacity: 0.72;
  margin-bottom: 1.25rem;
}
.historia-col p:last-child { margin-bottom: 0; }

.formacion-col h3 {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--verde);
  margin-bottom: 1.5rem;
}
.formacion-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.formacion-list li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--cafe);
  opacity: 0.68;
  padding-left: 1rem;
  border-left: 1px solid var(--lila);
}
.formacion-list li strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--cafe);
  opacity: 1;
  margin-bottom: 2px;
}

/* ---------- CONTACTO ---------- */
.contacto-hero {
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) clamp(2rem, 4vw, 3rem);
}
.contacto-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 300;
  color: var(--verde);
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 500px;
  margin-bottom: 1rem;
}
.contacto-hero p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cafe);
  opacity: 0.68;
  max-width: 460px;
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(44,26,14,0.1);
  border: 0.5px solid rgba(44,26,14,0.1);
  margin: 0 var(--pad-x) clamp(2rem, 4vw, 3rem);
}
.contacto-card {
  background: var(--crema);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contacto-card-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lila);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.contacto-card h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--verde);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.contacto-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--cafe);
  opacity: 0.62;
  margin-bottom: 1.5rem;
  flex: 1;
}
.contacto-card .btn { font-size: 13px; padding: 10px 20px; }
.contacto-card .btn + .btn { margin-top: 8px; }

.email-block {
  margin: 0 var(--pad-x) clamp(3rem, 5vw, 4rem);
  background: var(--beige);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.email-block-text strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--verde);
  margin-bottom: 4px;
}
.email-block-text p {
  font-size: 14px;
  color: var(--cafe);
  opacity: 0.68;
  max-width: 380px;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 0.5px solid rgba(44,26,14,0.1);
  padding: clamp(1.5rem, 3vw, 2rem) var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--verde);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 12px;
  color: var(--gris);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cafe); }
.footer-copy {
  font-size: 11px;
  color: var(--gris);
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--crema);
    padding: 2rem var(--pad-x);
    gap: 1.5rem;
    border-bottom: 0.5px solid rgba(44,26,14,0.12);
    z-index: 199;
  }
  .nav-links.open a { font-size: 16px; }

  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 260px; order: -1; }

  .servicios-grid { grid-template-columns: 1fr; }
  .diferencial-grid { grid-template-columns: 1fr; }
  .sobre-hero { grid-template-columns: 1fr; }
  .sobre-right { min-height: 280px; }
  .historia-section { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }

  .footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
