/* ===========================
   CELIA PAREJO · ABOGADA EXTRANJERÍA
   Estética latte — fondo claro, tipografía elegante
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400;1,600&family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --cream:      #faf6f0;
  --cream-md:   #f3ece0;
  --cream-dark: #e8d9c4;
  --latte:      #c4a882;
  --brown:      #8b6343;
  --dark:       #4a3220;
  --espresso:   #2d1e0f;
  --gold:       #c9a84c;
  --gold-lt:    #e8d08a;
  --white:      #ffffff;
  --tx:         #2d1e0f;
  --tx-2:       #6b4f34;
  --tx-3:       #9b8070;
  --border:     #e0d0bc;
  --sh-soft:    0 4px 32px rgba(139,99,67,.09);
  --sh-card:    0 2px 16px rgba(139,99,67,.10);
  --r-sm:       6px;
  --r-md:       12px;
  --r-lg:       20px;
  --r-xl:       28px;
  --display:    'Cormorant Garamond', serif;
  --body:       'Nunito', sans-serif;
  --nav-h:      70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--tx);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,240,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.navbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-seal {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-dark); border: 1.5px solid var(--latte);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 17px; color: var(--brown); font-weight: 600;
  flex-shrink: 0;
}
.logo-text { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--dark); line-height: 1.1; }
.logo-text small {
  display: block; font-family: var(--body); font-size: 10.5px; font-weight: 400;
  color: var(--brown); letter-spacing: .14em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tx-2); padding: 5px 0;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brown); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--espresso) !important; color: var(--cream) !important;
  padding: 9px 20px !important; border-radius: 24px !important;
  border-bottom: none !important; font-size: 12px !important;
  letter-spacing: .1em !important; transition: background .2s !important;
}
.nav-cta:hover { background: var(--brown) !important; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 1.5rem; z-index: 99; flex-direction: column; gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; font-weight: 600; color: var(--tx-2);
  padding: .9rem 0; border-bottom: 1px solid var(--border);
  letter-spacing: .06em; text-transform: uppercase;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--brown); }

/* ── LAYOUT ── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

/* ── TYPE HELPERS ── */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brown); margin-bottom: .75rem; display: flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1.5px; background: var(--gold); }
.h1 { font-family: var(--display); font-size: clamp(36px,5.5vw,62px); font-weight: 600; color: var(--espresso); line-height: 1.1; }
.h2 { font-family: var(--display); font-size: clamp(26px,3.8vw,42px); font-weight: 600; color: var(--espresso); line-height: 1.15; }
.h3 { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--espresso); }
.lead { font-size: 16.5px; color: var(--tx-2); line-height: 1.8; max-width: 560px; }
.divider { width: 48px; height: 2px; background: linear-gradient(90deg,var(--gold),var(--latte)); border-radius: 2px; margin: .9rem 0 2rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 12px 26px;
  border-radius: 28px; border: none; cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark:hover { background: var(--brown); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--latte); }
.btn-outline:hover { background: var(--cream-dark); border-color: var(--brown); }
.btn-gold { background: var(--gold); color: var(--espresso); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid rgba(250,246,240,.3); }
.btn-ghost:hover { background: rgba(250,246,240,.1); }

/* ── HERO ── */
.hero { background: var(--cream-md); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem;
  align-items: center; min-height: calc(92vh - var(--nav-h)); padding: 4rem 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--border);
  color: var(--brown); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero-sub { font-size: 17px; color: var(--tx-2); line-height: 1.8; max-width: 470px; margin: .9rem 0 2rem; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.stat-n { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--brown); display: block; }
.stat-l { font-size: 11px; color: var(--tx-3); text-transform: uppercase; letter-spacing: .08em; }

.photo-wrap { display: flex; justify-content: center; position: relative; }
.photo-frame {
  width: 100%; max-width: 400px; aspect-ratio: 768/780;
  border-radius: var(--r-xl); overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--sh-soft), 0 0 0 1px var(--border);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.photo-badge {
  position: absolute; bottom: -14px; left: -10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 11px 16px;
  box-shadow: var(--sh-card); font-size: 13px; font-weight: 700; color: var(--dark); white-space: nowrap;
}
.photo-badge span { display: block; font-size: 11px; font-weight: 400; color: var(--tx-3); }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--sh-card); transform: translateY(-2px); }
.card-ico {
  width: 48px; height: 48px; background: var(--cream-md);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem; font-size: 22px;
}
.card-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 1rem;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brown);
}

/* ── GRIDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-2r { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3.5rem; align-items: center; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; padding: 2rem 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); }
.step-n { font-family: var(--display); font-size: 52px; font-weight: 300; color: var(--cream-dark); line-height: 1; margin-bottom: .4rem; }
.step-t { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--espresso); margin-bottom: .4rem; }
.step-p { font-size: 13.5px; color: var(--tx-2); line-height: 1.7; }

/* ── DARK STRIP ── */
.dark-strip { background: var(--espresso); padding: 5rem 0; }
.dark-strip .eyebrow { color: var(--gold-lt); }
.dark-strip .eyebrow::before { background: var(--gold); }
.dark-strip .h2 { color: var(--cream); }
.dark-strip .lead { color: rgba(250,246,240,.72); max-width: 100%; }
.dark-strip .divider { background: linear-gradient(90deg,var(--gold),rgba(201,168,76,.25)); }
.about-inner { display: grid; grid-template-columns: 1fr 1.45fr; gap: 4.5rem; align-items: center; }
.about-photo { width: 100%; max-width: 320px; aspect-ratio: 768/780; border-radius: var(--r-xl); overflow: hidden; border: 4px solid rgba(250,246,240,.12); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 14px;
  background: rgba(250,246,240,.1); border: 1px solid rgba(250,246,240,.18); color: rgba(250,246,240,.82);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }

/* ── TESTIMONIALS ── */
.testi { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.75rem; }
.testi-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: .6rem; }
.testi-q { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--espresso); line-height: 1.6; margin-bottom: .9rem; }
.testi-a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--tx-3); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--cream-md); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; padding: 4.5rem 0; }

/* ── PAGE HERO ── */
.page-hero { background: var(--cream-md); border-bottom: 1px solid var(--border); padding: 3.5rem 0 2.5rem; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tx-3); margin-bottom: .9rem; }
.breadcrumb a { color: var(--brown); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.c-info { background: var(--espresso); color: var(--cream); border-radius: var(--r-lg); padding: 2.5rem; }
.c-info .eyebrow { color: var(--gold-lt); }
.c-info .eyebrow::before { background: var(--gold); }
.c-info .h2 { color: var(--cream); font-size: 26px; }
.c-info .divider { background: linear-gradient(90deg,var(--gold),rgba(201,168,76,.25)); }
.c-item { display: flex; align-items: flex-start; gap: 14px; margin-top: 1.75rem; }
.c-ico { width: 38px; height: 38px; background: rgba(250,246,240,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.c-lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(250,246,240,.45); margin-bottom: 2px; }
.c-val { font-size: 14px; color: var(--cream); }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2.5rem; box-shadow: var(--sh-soft); }
.form-title { font-family: var(--display); font-size: 27px; font-weight: 600; color: var(--espresso); margin-bottom: .2rem; }
.form-sub { font-size: 13.5px; color: var(--tx-3); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1.2rem; }
label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); margin-bottom: 5px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 11px 14px;
  font-family: var(--body); font-size: 14px; color: var(--tx);
  transition: border-color .2s, box-shadow .2s; outline: none; appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brown); box-shadow: 0 0 0 3px rgba(139,99,67,.12); background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 1.5rem; }
.check-row input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--brown); }
.check-row label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: var(--tx-3); }
.check-row label a { color: var(--brown); text-decoration: underline; }
.form-ok { display: none; background: #f0f9f0; border: 1px solid #b8e0b8; border-radius: var(--r-sm); padding: 14px 18px; font-size: 14px; color: #2d6a2d; margin-top: 1rem; }
.form-err { display: none; background: #fdf0f0; border: 1px solid #f0b8b8; border-radius: var(--r-sm); padding: 14px 18px; font-size: 14px; color: #8b2020; margin-top: 1rem; }

/* ── FAQ ── */
.faq { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 0; font-family: var(--body); font-size: 15.5px; font-weight: 600;
  color: var(--espresso); text-align: left; gap: 1rem;
}
.faq-q span { flex: 1; }
.faq-ico {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--latte);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 16px; color: var(--brown); transition: transform .3s, background .2s;
}
.faq-item.open .faq-ico { background: var(--brown); color: var(--white); transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-body p { padding: 0 0 1.2rem; font-size: 14px; color: var(--tx-2); line-height: 1.85; }

/* ── FOOTER ── */
footer { background: var(--espresso); color: rgba(250,246,240,.75); padding: 4rem 0 2rem; margin-top: auto; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(250,246,240,.1); }
.foot-brand { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--cream); margin-bottom: .3rem; }
.foot-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 1rem; }
.foot-desc { font-size: 13px; line-height: 1.8; color: rgba(250,246,240,.55); }
.foot-ttl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 1.2rem; }
.foot-links { display: flex; flex-direction: column; gap: .55rem; }
.foot-links a { font-size: 13px; color: rgba(250,246,240,.62); transition: color .2s; }
.foot-links a:hover { color: var(--cream); }
.foot-ci { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(250,246,240,.62); margin-bottom: .55rem; }
.foot-ci span { font-size: 15px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; font-size: 12px; color: rgba(250,246,240,.38); flex-wrap: wrap; gap: .5rem; }
.foot-bottom a { color: rgba(250,246,240,.38); transition: color .2s; }
.foot-bottom a:hover { color: var(--cream); }
.foot-bl { display: flex; gap: 1.5rem; }

/* ── WHATSAPP ── */
.wa-btn {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  border-radius: 50px; padding: 12px 20px 12px 14px;
  box-shadow: 0 4px 20px rgba(37,211,102,.33), 0 2px 8px rgba(0,0,0,.14);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  transition: transform .2s, box-shadow .2s; text-decoration: none;
  animation: wapulse 3s ease-in-out infinite;
}
.wa-btn:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,.42); animation: none; }
.wa-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
@keyframes wapulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.33),0 0 0 0 rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 20px rgba(37,211,102,.33),0 0 0 9px rgba(37,211,102,0); }
}

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; margin-top: 2.5rem; position: relative; }
.timeline::before { content:''; position:absolute; left:20px; top:0; bottom:0; width:2px; background:rgba(250,246,240,.15); }
.tl-item { display: flex; gap: 1.5rem; padding-bottom: 2.5rem; }
.tl-dot {
  width:42px; height:42px; border-radius:50%; border:3px solid rgba(250,246,240,.15);
  display:flex; align-items:center; justify-content:center;
  font-size:12px; color:var(--cream); font-weight:700; flex-shrink:0; z-index:1;
}
.tl-content { padding-top: 6px; }
.tl-title { font-size:15px; font-weight:700; color:var(--cream); margin-bottom:4px; }
.tl-text { font-size:13px; color:rgba(250,246,240,.6); line-height:1.7; }

.latte-box { background: var(--cream-md); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2.5rem; }
.quote-strip { background: var(--espresso); border-radius: var(--r-lg); padding: 2rem 2.25rem; display:flex; align-items:flex-start; gap:1rem; }
.quote-mark { font-family:var(--display); font-size:60px; line-height:.75; color:var(--gold); flex-shrink:0; }
.quote-t { font-family:var(--display); font-style:italic; font-size:16px; color:var(--cream); line-height:1.6; margin-bottom:6px; }
.quote-a { font-size:11.5px; color:rgba(250,246,240,.45); letter-spacing:.1em; text-transform:uppercase; }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .hero-grid { grid-template-columns:1fr; gap:2.5rem; }
  .photo-wrap { order:-1; }
  .photo-frame { max-width:300px; aspect-ratio:1/1; margin:0 auto; }
  .about-inner { grid-template-columns:1fr; }
  .about-photo { max-width:100%; aspect-ratio:4/3; }
  .foot-grid { grid-template-columns:1fr 1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .grid-2r { grid-template-columns:1fr; gap:2rem; }
}
@media(max-width:600px){
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .section { padding:3rem 0; }
  .hero-grid { min-height:auto; padding:2rem 0; }
  .hero-stats { gap:1.5rem; }
  .foot-grid { grid-template-columns:1fr; gap:1.75rem; }
  .foot-bottom { flex-direction:column; text-align:center; }
  .foot-bl { justify-content:center; }
  .wa-btn { bottom:16px; right:16px; }
  .steps { grid-template-columns:1fr; }
  .form-card,.c-info { padding:1.5rem; }
  .grid-2 { grid-template-columns:1fr; }
}
