/*
Theme Name: DBJ Coaching
Theme URI: https://dibujatucarrera.com
Author: Diana Vicente Morata
Description: DBJ Coaching — Dibuja tu carrera. Página web de una sola página.
Version: 2.0
*/

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg:          #f4ebe2;   /* terracota suave */
  --text:        #3d3030;
  --text-light:  #7a7060;
  --accent:      #9c4040;   /* terracota oscuro / ladrillo */
  --accent-dark: #7a3030;
  --green:       #4f6040;   /* oliva oscuro — botones primarios */
  --green-dark:  #3d4d30;
  --logo-green:  #7a8f56;   /* verde oliva del logo (letra D) */
  --white:       #ffffff;
  --card:        #ffffff;
  --border:      #e2d5ca;
  --shadow:      rgba(80, 40, 20, 0.09);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
strong { font-weight: 700; }

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}
/* Verde oliva — acción principal */
.btn-dark   { background: var(--green);  color: var(--white); border-color: var(--green); }
.btn-dark:hover { background: var(--green-dark); border-color: var(--green-dark); }
/* Terracota — destacado */
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
/* Outline beige — secundario */
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--border); }
/* Outline terracota */
.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: var(--white); }

/* ============================================================
   LAYOUT COMÚN
   ============================================================ */
section { padding: 80px 40px; background-color: var(--bg); }
.inner  { max-width: 1100px; margin: 0 auto; }

/* Títulos de sección */
.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  text-align: center;
  margin-bottom: 6px;
}
.sec-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 52px;
}
/* Separador decorativo tipo ─── Texto ─── */
.ruled-title {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 10px;
}
.ruled-title::before,
.ruled-title::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--border);
}
.ruled-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  white-space: nowrap;
}

/* Eyebrow label */
.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
/* Eyebrow con líneas laterales */
.eyebrow-ruled {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.eyebrow-ruled::before,
.eyebrow-ruled::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   NAVEGACIÓN FIJA
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(244, 235, 226, 0.93);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 14px var(--shadow);
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ============================================================
   SECCIÓN 1 — HERO
   ============================================================ */
.hero {
  padding: 120px 40px 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Izquierda */
.hero-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--accent);
  margin-bottom: 22px;
}
.hero-title span { display: block; font-weight: 300; }
.hero-body {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text);
}
.hero-card {
  background: var(--card);
  border-radius: 6px;
  padding: 26px 28px;
  margin-top: 28px;
  box-shadow: 0 2px 18px var(--shadow);
}
.hero-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--text);
}
.hero-card ul { margin-bottom: 22px; }
.hero-card li {
  padding: 4px 0 4px 22px;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-light);
}
.hero-card li::before {
  content: '◎';
  position: absolute;
  left: 0; top: 7px;
  color: var(--accent);
  font-size: 0.6rem;
}

/* Derecha — logo */
.hero-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}
.logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.logo-dbj {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.1em;
}
.logo-dbj .d { color: var(--logo-green); }
.logo-dbj .bj { color: var(--accent); }
.logo-leaf {
  width: 110px;
  margin: -6px auto 2px;
}
.logo-tucarrera {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 8px;
}

/* Tarjeta flotante */
.float-card {
  background: var(--card);
  border-radius: 6px;
  padding: 18px 22px;
  box-shadow: 0 4px 22px var(--shadow);
  text-align: center;
  min-width: 190px;
  align-self: flex-end;
}
.float-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 3px;
}
.float-card-sub {
  font-size: 0.73rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* ============================================================
   SECCIÓN 2 — PROGRAMAS
   ============================================================ */
.programs .inner { max-width: 1080px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.pcard {
  background: var(--card);
  border-radius: 6px;
  padding: 32px 24px 24px;
  box-shadow: 0 2px 14px var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pcard h3 { color: var(--accent); font-size: 1.2rem; margin-bottom: 4px; }
.pcard-sub { font-size: 0.83rem; color: var(--text-light); font-style: italic; margin-bottom: 14px; }
.pcard-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--text);
}
.pcard-feats { flex: 1; margin-bottom: 24px; }
.pcard-feats li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.87rem;
  line-height: 1.5;
}
.pcard-feats li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
/* Tarjeta destacada */
.pcard.featured {
  border: 2px solid var(--accent);
  padding-top: 38px;
}
.badge-top {
  position: absolute;
  top: -1px; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--white);
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Programa personalizado */
.custom-wrap {
  background: var(--card);
  border-radius: 6px;
  padding: 38px 44px;
  box-shadow: 0 2px 14px var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.custom-left h3 { color: var(--accent); font-size: 1.35rem; margin-bottom: 4px; }
.custom-left .pcard-sub { margin-bottom: 18px; }
.custom-left li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 0.88rem;
}
.custom-left li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.custom-badge {
  background: var(--green);
  border-radius: 6px;
  padding: 24px 28px;
  text-align: center;
  min-width: 190px;
}
.custom-badge .float-card-title { color: var(--white); }
.custom-badge .float-card-sub   { color: rgba(255,255,255,0.75); }
.custom-badge .btn {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.custom-badge .btn:hover { background: var(--bg); }

/* ============================================================
   SECCIÓN 3 — SOBRE MÍ
   ============================================================ */
.about .ruled-title h2 { color: var(--text); }
.about-accent-sub {
  text-align: center;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 48px;
}

/* Foto + bio */
.about-top {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}
.about-photo {
  border-radius: 6px;
  overflow: hidden;
}
.about-photo img { width: 100%; height: auto; display: block; }
.about-bio p  { font-size: 0.92rem; line-height: 1.8; margin-bottom: 12px; }
.about-bio ul { list-style: none; margin-left: 0; }
.about-bio li {
  padding: 3px 0 3px 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
}
.about-bio li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Dos columnas del medio */
.about-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.about-mid h3 { color: var(--accent); font-size: 1.05rem; margin-bottom: 10px; }
.about-mid p  { font-size: 0.9rem; color: var(--text-light); line-height: 1.75; margin-bottom: 8px; }
.about-mid li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
}
.about-mid li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Cómo acompaño hoy */
.about-how {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 8px;
}
.about-how-left { flex: 1; }
.about-how-left h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}
.about-how-left li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.9rem;
}
.about-how-left li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ============================================================
   SECCIÓN 4 — TESTIMONIOS
   ============================================================ */
.testimonials .inner { max-width: 900px; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.tcard {
  background: var(--card);
  border-radius: 6px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 14px var(--shadow);
}
.tcard-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 14px;
  display: block;
}
.tcard-body {
  font-size: 0.87rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}
.tcard-name { font-weight: 700; color: var(--accent); font-size: 0.88rem; }

/* ============================================================
   SECCIÓN 5 — CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}
.contact-title {
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 32px;
}

/* Formulario */
.cform { display: flex; flex-direction: column; gap: 16px; }
.frow  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg    { display: flex; flex-direction: column; gap: 5px; }
.fg label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text);
}
.fg input, .fg textarea {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 11px 13px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-light); }
.fg input:focus, .fg textarea:focus { border-color: var(--accent); }
.fg textarea { resize: vertical; min-height: 115px; }
.form-note { font-size: 0.74rem; color: var(--text-light); font-style: italic; }
.form-msg {
  padding: 11px 15px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.form-msg.ok  { background: #edf4ec; color: #2e6b2e; border: 1px solid #b2d8b2; }
.form-msg.err { background: #fbeaea; color: #8c2a2a; border: 1px solid #e0aaaa; }

/* Info de contacto */
.cinfo h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-bottom: 26px;
}
.cinfo-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.cinfo-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(156, 64, 64, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.cinfo-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.cinfo-item a, .cinfo-item span { font-size: 0.87rem; }
.cinfo-item a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #3a3030;
  color: #c0aeae;
  text-align: center;
  padding: 26px 20px;
  font-size: 0.78rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid      { grid-template-columns: 1fr; }
  .hero-logo-col  { display: none; }
  .cards-grid     { grid-template-columns: 1fr; }
  .custom-wrap    { grid-template-columns: 1fr; }
  .about-top      { grid-template-columns: 1fr; }
  .about-mid      { grid-template-columns: 1fr; }
  .about-how      { flex-direction: column; text-align: center; }
  .testi-grid     { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .frow           { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 60px 20px; }
  .hero   { padding: 100px 20px 60px; min-height: auto; }
  .site-nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .custom-wrap { padding: 28px 20px; }
}
