/* ============================================================
   BUFETE JURÍDICO MONZÓN & FRANCO — css/style.css
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --c-base:       #232022;
  --c-white:      #ffffff;
  --c-gold:       #c9a84c;
  --c-gold-h:     #b8973d;
  --c-gray:       #4a4a4a;
  --c-light:      #f7f5f0;
  --c-border:     #e5e0d8;
  --f-head:       'Playfair Display', Georgia, serif;
  --f-body:       'Inter', system-ui, -apple-system, sans-serif;
  --trans:        0.3s ease;
  --sh-sm:        0 2px 8px rgba(35,32,34,.08);
  --sh-md:        0 6px 24px rgba(35,32,34,.12);
  --sh-lg:        0 12px 48px rgba(35,32,34,.18);
  --r:            3px;
  --r-lg:         8px;
  --max-w:        1200px;
  --hh:           72px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--f-body);
  color: var(--c-gray);
  background: var(--c-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--f-body); border: none; }

/* ---- TIPOGRAFÍA ---- */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--c-base);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.4rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- UTILIDADES ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-label {
  display: inline-block;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: .6rem;
}
.section-title { margin-bottom: .9rem; }
.section-sub {
  font-size: 1rem;
  color: var(--c-gray);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.9rem;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--r);
  transition: all var(--trans);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary  { background: var(--c-gold);  color: var(--c-base); border-color: var(--c-gold); }
.btn-primary:hover { background: var(--c-gold-h); border-color: var(--c-gold-h); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-outline  { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--c-white); }
.btn-dark     { background: var(--c-base); color: var(--c-white); border-color: var(--c-base); }
.btn-dark:hover { background: #3a3538; border-color: #3a3538; transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-gold-outline { background: transparent; color: var(--c-gold); border-color: var(--c-gold); }
.btn-gold-outline:hover { background: var(--c-gold); color: var(--c-base); }

/* Fade-in */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.d1 { transition-delay: .1s; }
.fade-in.d2 { transition-delay: .2s; }
.fade-in.d3 { transition-delay: .3s; }
.fade-in.d4 { transition-delay: .4s; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--hh);
  display: flex;
  align-items: center;
  background: var(--c-base);
  box-shadow: 0 2px 16px rgba(35,32,34,.3);
  transition: background var(--trans), box-shadow var(--trans);
}
.site-header.transparent { background: transparent; box-shadow: none; }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font-family: var(--f-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
}
.logo em {
  display: block;
  font-style: normal;
  font-family: var(--f-body);
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.main-nav a {
  font-size: .83rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: .4rem .7rem;
  border-radius: var(--r);
  transition: color var(--trans), background var(--trans);
  letter-spacing: .02em;
}
.main-nav a:hover { color: var(--c-white); background: rgba(255,255,255,.08); }
.main-nav a.active { color: var(--c-gold); }
.header-phone {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-gold);
  letter-spacing: .01em;
}
.header-phone a:hover { color: #e0bf70; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: transparent;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO (INDEX) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--hh);
  background: var(--c-base);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(35,32,34,.9) 0%, rgba(35,32,34,.55) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero-content { max-width: 680px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.4rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--c-gold);
}
.hero h1 {
  color: var(--c-white);
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}
.hero h1 em { font-style: normal; color: var(--c-gold); }
.hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 2.4rem;
  max-width: 520px;
  line-height: 1.75;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-arrow {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.35);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  animation: arrowBounce 2.2s ease-in-out infinite;
}
@keyframes arrowBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--c-gold); padding: .9rem 0; }
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 2rem;
  border-right: 1px solid rgba(35,32,34,.15);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { flex-shrink: 0; color: var(--c-base); }
.trust-item strong { display: block; font-size: .88rem; font-weight: 700; color: var(--c-base); }
.trust-item span { display: block; font-size: .7rem; color: rgba(35,32,34,.6); }

/* ---- SERVICIOS (CARDS INDEX) ---- */
.services-section { padding: 6rem 0; background: var(--c-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.service-card {
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-white);
  transition: all var(--trans);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  min-width: 0;
}
.service-card:hover { border-color: var(--c-gold); box-shadow: var(--sh-md); transform: translateY(-4px); }
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,.1);
  border-radius: var(--r-lg);
  color: var(--c-gold);
  flex-shrink: 0;
}
.service-card h3 { font-size: 1.05rem; color: var(--c-base); }
.service-card p { font-size: .86rem; line-height: 1.6; color: var(--c-gray); flex: 1; margin-bottom: 0; }
.service-link {
  font-size: .8rem; font-weight: 600; color: var(--c-gold);
  display: inline-flex; align-items: center; gap: .3rem;
  transition: gap var(--trans);
  margin-top: .25rem;
}
.service-card:hover .service-link { gap: .6rem; }

/* ---- POR QUÉ ELEGIRNOS ---- */
.why-section { padding: 6rem 0; background: var(--c-base); }
.why-section .section-label { color: var(--c-gold); }
.why-section .section-title { color: var(--c-white); }
.why-section .section-sub { color: rgba(255,255,255,.6); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.why-card {
  padding: 2rem;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
  transition: border-color var(--trans), background var(--trans);
}
.why-card:hover { border-color: rgba(201,168,76,.3); background: rgba(201,168,76,.04); }
.why-num {
  font-family: var(--f-head);
  font-size: 2.8rem;
  color: rgba(201,168,76,.18);
  line-height: 1;
  margin-bottom: .9rem;
  font-weight: 700;
}
.why-card h3 { color: var(--c-white); font-size: 1.05rem; margin-bottom: .6rem; }
.why-card p { color: rgba(255,255,255,.58); font-size: .86rem; line-height: 1.65; }

/* ---- TESTIMONIOS ---- */
.testimonials-section { padding: 6rem 0; background: var(--c-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--c-white);
  padding: 2rem;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  position: relative;
  min-width: 0;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--f-head);
  font-size: 5rem;
  color: var(--c-gold);
  opacity: .18;
  position: absolute;
  top: .5rem; left: 1.4rem;
  line-height: 1;
}
.t-area {
  display: inline-block;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--c-gold);
  background: rgba(201,168,76,.1);
  padding: .22rem .6rem;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.t-text {
  font-size: .9rem; line-height: 1.75; color: var(--c-gray);
  padding-top: .75rem;
  margin-bottom: 1.25rem;
}
.t-author {
  display: flex; align-items: center; gap: .75rem;
  border-top: 1px solid var(--c-border);
  padding-top: 1.1rem;
}
.t-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.t-author strong { display: block; font-size: .86rem; color: var(--c-base); font-weight: 600; }
.t-author span { font-size: .76rem; color: var(--c-gray); }

/* ---- CTA SECTION ---- */
.cta-section { padding: 4.5rem 0; background: var(--c-gold); }
.cta-section .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-text h2 { color: var(--c-base); font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: .4rem; }
.cta-text p { color: rgba(35,32,34,.72); margin-bottom: 0; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---- MAPA ---- */
.map-section { padding: 4rem 0; background: var(--c-white); }
.map-wrapper { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); margin-top: 2rem; }
.map-wrapper iframe { width: 100%; height: 400px; border: none; display: block; }
.maps-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.map-card h3 { font-family: var(--f-head); font-size: 1.15rem; margin-bottom: .2rem; color: var(--c-base); }
.map-card p { font-size: .875rem; color: var(--c-gray); }
.map-card .map-wrapper { margin-top: .75rem; }

/* ---- FOOTER ---- */
.site-footer { background: var(--c-base); padding: 4rem 0 2rem; color: rgba(255,255,255,.65); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand > p { font-size: .83rem; line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: 1.5rem; }
.footer-contacts { display: flex; flex-direction: column; gap: .6rem; }
.footer-ci {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .8rem; color: rgba(255,255,255,.6);
}
.footer-ci svg { flex-shrink: 0; margin-top: 2px; color: var(--c-gold); }
.footer-ci a:hover { color: var(--c-gold); }
.footer-col h4 {
  font-family: var(--f-body);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { font-size: .83rem; color: rgba(255,255,255,.58); transition: color var(--trans); }
.footer-col ul a:hover { color: var(--c-white); }
.footer-hours p { font-size: .83rem; margin-bottom: .3rem; }
.footer-hours strong { color: var(--c-white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem; padding-top: 2rem;
  font-size: .76rem; color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--trans); }
.footer-bottom a:hover { color: var(--c-gold); }

/* ---- BOTÓN FLOTANTE MÓVIL ---- */
.float-btn {
  display: none;
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 900;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.float-main {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-base);
  transition: all var(--trans);
}
.float-main:hover { background: var(--c-gold-h); transform: scale(1.05); }
.float-opts {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: .45rem;
  margin-bottom: .25rem;
}
.float-opts.open { display: flex; }
.float-opt {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  background: var(--c-base);
  color: var(--c-white);
  border-radius: 24px;
  font-size: .78rem; font-weight: 500;
  box-shadow: var(--sh-md);
  transition: all var(--trans);
  white-space: nowrap;
  text-decoration: none;
}
.float-opt:hover { background: var(--c-gold); color: var(--c-base); }

/* ---- HERO PÁGINAS INTERIORES ---- */
.page-hero {
  background: var(--c-base);
  padding: calc(var(--hh) + 3rem) 0 3rem;
}
.page-hero .section-label { color: var(--c-gold); }
.page-hero h1 { color: var(--c-white); font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.62); max-width: 560px; margin-bottom: 0; }

/* ---- BREADCRUMB ---- */
.breadcrumb { padding: .7rem 0; background: var(--c-light); border-bottom: 1px solid var(--c-border); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; font-size: .78rem; }
.breadcrumb li { display: flex; align-items: center; gap: .25rem; color: var(--c-gray); }
.breadcrumb li a { color: var(--c-gray); transition: color var(--trans); }
.breadcrumb li a:hover { color: var(--c-gold); }
.breadcrumb li[aria-current="page"] { color: var(--c-base); font-weight: 500; }
.bc-sep { color: rgba(74,74,74,.4); font-size: .7rem; }

/* ---- SERVICIOS PÁGINA INTERIOR ---- */
.service-detail {
  padding: 5rem 0;
  border-bottom: 1px solid var(--c-border);
}
.service-detail:nth-child(odd) { background: var(--c-white); }
.service-detail:nth-child(even) { background: var(--c-light); }
.sd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.service-detail:nth-child(even) .sd-inner { direction: rtl; }
.service-detail:nth-child(even) .sd-inner > * { direction: ltr; }
.sd-content h2 { margin-bottom: 1.1rem; }
.sd-content p { font-size: .93rem; line-height: 1.78; }
.sd-list { margin: 1.4rem 0; display: flex; flex-direction: column; gap: .5rem; }
.sd-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .88rem; line-height: 1.6;
}
.sd-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
  margin-top: .55rem;
}
.sd-note {
  margin-top: 1.4rem;
  padding: .9rem 1.1rem;
  background: rgba(201,168,76,.07);
  border-left: 3px solid var(--c-gold);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .84rem; font-style: italic; color: var(--c-gray);
}
.sd-img img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; }

/* ---- EQUIPO ---- */
.team-section { padding: 5rem 0; background: var(--c-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.team-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border);
  transition: box-shadow var(--trans), transform var(--trans);
}
.team-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.team-img { position: relative; height: 320px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.team-card:hover .team-img img { transform: scale(1.04); }
.team-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(35,32,34,.7), transparent);
}
.team-body { padding: 1.6rem; }
.team-body h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.team-title {
  font-size: .76rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-gold);
  margin-bottom: .9rem;
}
.team-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.1rem; }
.team-tag {
  font-size: .71rem; font-weight: 500;
  padding: .28rem .65rem;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: 20px; color: var(--c-gray);
}
.team-bio { font-size: .86rem; line-height: 1.72; color: var(--c-gray); }
.values-section { padding: 5rem 0; background: var(--c-light); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  padding: 2rem;
  text-align: center;
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  min-width: 0;
}
.value-icon {
  width: 54px; height: 54px;
  margin: 0 auto .9rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,.1);
  border-radius: 50%; color: var(--c-gold);
}
.value-card h3 { font-size: .98rem; margin-bottom: .45rem; }
.value-card p { font-size: .83rem; }

/* ---- BLOG ---- */
.blog-section { padding: 5rem 0; background: var(--c-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.blog-card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
  min-width: 0;
}
.blog-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-body { padding: 1.4rem; }
.blog-cat {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-gold); margin-bottom: .6rem; display: block;
}
.blog-card h3 { font-size: 1rem; margin-bottom: .65rem; line-height: 1.35; }
.blog-card p { font-size: .83rem; line-height: 1.65; color: var(--c-gray); margin-bottom: .8rem; }
.blog-meta { font-size: .73rem; color: rgba(74,74,74,.55); }

/* ---- FAQ ---- */
.faq-section { padding: 5rem 0; background: var(--c-light); }
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-white);
  overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  font-weight: 600; font-size: .93rem; color: var(--c-base);
  transition: background var(--trans);
  gap: 1rem;
  background: transparent;
  width: 100%; text-align: left;
  font-family: var(--f-body);
}
.faq-q:hover { background: rgba(201,168,76,.04); }
.faq-q[aria-expanded="true"] { color: var(--c-gold); }
.faq-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--trans); color: var(--c-gold);
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 1.4rem 1.1rem;
  font-size: .88rem; line-height: 1.78; color: var(--c-gray);
  border-top: 1px solid var(--c-border);
}
.faq-a.open { display: block; }

/* ---- CONTACTO ---- */
.contact-section { padding: 5rem 0; background: var(--c-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.2rem; }
.form-group label {
  font-size: .8rem; font-weight: 600; color: var(--c-base); letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .78rem .95rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  font-family: var(--f-body); font-size: .88rem; color: var(--c-base);
  background: var(--c-white);
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea,
.form-group.has-error .check-wrap { border-color: #c0392b !important; }
.form-err { font-size: .76rem; color: #c0392b; display: none; }
.form-group.has-error .form-err { display: block; }
.check-wrap {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .82rem; color: var(--c-gray); cursor: pointer;
}
.check-wrap input[type="checkbox"] {
  width: 17px; height: 17px;
  flex-shrink: 0; margin-top: 2px;
  accent-color: var(--c-gold); cursor: pointer;
}
.form-success {
  display: none;
  padding: 1.1rem 1.25rem;
  background: rgba(39,174,96,.1);
  border: 1px solid rgba(39,174,96,.3);
  border-radius: var(--r);
  font-size: .88rem; color: #1a7a40;
  margin-bottom: 1.5rem;
}
.contact-info h3 { font-size: 1.15rem; margin-bottom: 1.4rem; }
.info-items { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.info-item { display: flex; align-items: flex-start; gap: .9rem; }
.info-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,.1);
  border-radius: var(--r); color: var(--c-gold); flex-shrink: 0;
}
.info-text strong {
  display: block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-base); margin-bottom: .18rem;
}
.info-text p, .info-text a { font-size: .86rem; color: var(--c-gray); line-height: 1.55; margin-bottom: 0; }
.info-text a:hover { color: var(--c-gold); }
.conf-note {
  padding: .9rem 1.1rem;
  background: var(--c-light);
  border-radius: var(--r);
  font-size: .78rem; color: var(--c-gray); line-height: 1.65;
  border-left: 3px solid var(--c-gold);
  margin-top: 2rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sd-inner { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail:nth-child(even) .sd-inner { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sd-img { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- TABLET / MÓVIL (≤ 768px) ---- */
@media (max-width: 768px) {
  :root { --hh: 60px; }

  /* Reducir padding de secciones */
  .maps-dual { grid-template-columns: 1fr; }
  .services-section,
  .why-section,
  .testimonials-section,
  .blog-section,
  .team-section,
  .values-section,
  .contact-section,
  .map-section,
  .faq-section { padding: 3.5rem 0; }
  .service-detail { padding: 3rem 0; }
  .cta-section { padding: 3rem 0; }

  /* Menú hamburguesa */
  .hamburger { display: flex; }
  .nav-wrapper {
    position: fixed;
    top: var(--hh); left: 0; right: 0;
    background: var(--c-base);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    max-height: calc(100vh - var(--hh));
    overflow-y: auto;
  }
  .nav-wrapper.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .main-nav { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a { padding: .75rem 1rem; font-size: .95rem; border-radius: var(--r); }
  .header-phone { font-size: .9rem; text-align: center; padding: .5rem 0; border-top: 1px solid rgba(255,255,255,.08); }

  /* Hero */
  .hero .container { padding-top: 2rem; padding-bottom: 5rem; }
  .hero-label { margin-bottom: 1rem; }
  .hero-sub { max-width: 100%; }
  .hero-ctas { flex-direction: column; gap: .75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; text-align: center; }

  /* Trust bar */
  .trust-bar .container { flex-direction: column; }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(35,32,34,.15);
    width: 100%;
    justify-content: flex-start;
    padding: .75rem 1.5rem;
  }
  .trust-item:last-child { border-bottom: none; }

  /* Sección subtítulos */
  .section-sub { max-width: 100%; }

  /* Botón flotante */
  .float-btn { display: flex; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  /* Por qué elegirnos */
  .why-grid { gap: 1rem; }
  .why-card { padding: 1.5rem; }
  .why-num { font-size: 2.2rem; margin-bottom: .6rem; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }
  .team-img { height: 280px; }

  /* Formulario */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* CTA */
  .cta-section .container { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  /* Mapa */
  .map-wrapper iframe { height: 320px; }

  /* Servicios interior */
  .sd-content h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); }

  /* Blog cards */
  .blog-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-q { font-size: .88rem; padding: 1rem 1.1rem; }

  /* Contacto info */
  .contact-info { margin-top: 2rem; }

  /* Page hero */
  .page-hero { padding: calc(var(--hh) + 2rem) 0 2rem; }

  /* Espaciado extra al fondo para no tapar contenido con botón flotante */
  main { padding-bottom: 80px; }
}

/* ---- MÓVIL PEQUEÑO (≤ 480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }

  /* Reducir padding de cards en pantallas muy pequeñas */
  .service-card { padding: 1.4rem 1.1rem; }
  .why-card { padding: 1.25rem; }
  .testimonial-card { padding: 1.4rem; }
  .team-body { padding: 1.25rem; }
  .blog-body { padding: 1.1rem; }
  .value-card { padding: 1.4rem 1rem; }

  /* Hero font más compacto */
  .hero h1 { font-size: clamp(1.85rem, 7vw, 2.8rem); }
  .hero-sub { font-size: .93rem; }

  /* Trust bar más compacto */
  .trust-item strong { font-size: .82rem; }

  /* Mapa más corto */
  .map-wrapper iframe { height: 260px; }

  /* Footer compacto */
  .footer-brand > p { font-size: .8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }

  /* Breadcrumb compacto */
  .breadcrumb ol { font-size: .73rem; }

  /* CTA section */
  .cta-text h2 { font-size: 1.2rem; }

  /* FAQ */
  .faq-q { font-size: .84rem; }
  .faq-list { gap: .35rem; }
}

/* ---- ARTÍCULOS DE BLOG (páginas individuales) ---- */
.article-hero {
  background: var(--c-base);
  padding: calc(var(--hh) + 2.5rem) 0 2.5rem;
  position: relative; overflow: hidden;
}
.article-hero-bg { position: absolute; inset: 0; z-index: 0; }
.article-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.article-hero .container { position: relative; z-index: 1; max-width: 900px; }
.article-hero h1 { color: var(--c-white); font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: .75rem; line-height: 1.3; }
.article-hero p { color: rgba(255,255,255,.62); max-width: 600px; margin-bottom: 0; font-size: .95rem; }

.article-meta-bar {
  background: var(--c-light);
  border-bottom: 1px solid var(--c-border);
  padding: .6rem 0;
}
.article-meta-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.article-meta-info { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; font-size: .76rem; color: var(--c-gray); }
.article-cat {
  font-size: .67rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--c-gold); background: rgba(201,168,76,.1); padding: .2rem .55rem; border-radius: 20px;
}
.article-back {
  font-size: .76rem; font-weight: 500; color: var(--c-gray);
  display: inline-flex; align-items: center; gap: .3rem; transition: color var(--trans);
}
.article-back:hover { color: var(--c-gold); }

.article-layout { padding: 3rem 0 5rem; background: var(--c-white); }
.article-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.article-content { min-width: 0; }
.article-content h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  margin: 2rem 0 .7rem; color: var(--c-base);
  padding-bottom: .35rem;
  border-bottom: 2px solid rgba(201,168,76,.22);
}
.article-content h3 { font-size: 1.02rem; margin: 1.4rem 0 .45rem; color: var(--c-base); }
.article-content p { font-size: .92rem; line-height: 1.85; color: var(--c-gray); margin-bottom: .9rem; }
.article-content ul { margin: .75rem 0 1rem; display: flex; flex-direction: column; gap: .4rem; }
.article-content ul li { position: relative; padding-left: 1rem; font-size: .9rem; line-height: 1.65; color: var(--c-gray); }
.article-content ul li::before { content: ''; position: absolute; left: 0; top: .6rem; width: 5px; height: 5px; border-radius: 50%; background: var(--c-gold); }
.article-content strong { color: var(--c-base); font-weight: 600; }
.article-note {
  padding: .9rem 1.1rem; background: rgba(201,168,76,.07);
  border-left: 3px solid var(--c-gold); border-radius: 0 var(--r) var(--r) 0;
  font-size: .84rem; font-style: italic; color: var(--c-gray); margin: 1.5rem 0;
}
.article-faq-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--c-border); }
.article-faq-section h2 { border-bottom: none !important; margin-bottom: 1.25rem !important; }

.article-sidebar { position: sticky; top: calc(var(--hh) + 1.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-cta {
  background: var(--c-base); border-radius: var(--r-lg); padding: 1.6rem;
}
.sidebar-cta h3 { font-size: 1rem; color: var(--c-white); margin-bottom: .6rem; }
.sidebar-cta p { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 1.1rem; }
.sidebar-phones { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.1rem; }
.sidebar-phone { display: flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; color: var(--c-gold); }
.sidebar-links {
  background: var(--c-light); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.4rem;
}
.sidebar-links h4 { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold); margin-bottom: .9rem; }
.sidebar-links ul { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-links li { display: flex; align-items: center; gap: .4rem; font-size: .82rem; }
.sidebar-links li::before { content: '›'; color: var(--c-gold); font-weight: 700; }
.sidebar-links a { color: var(--c-gray); transition: color var(--trans); }
.sidebar-links a:hover { color: var(--c-gold); }

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-cta, .sidebar-links { flex: 1; min-width: 260px; }
  .article-layout { padding: 2.5rem 0 3.5rem; }
}
@media (max-width: 480px) {
  .article-hero h1 { font-size: 1.4rem; }
  .article-content h2 { font-size: 1.1rem; }
  .article-sidebar { flex-direction: column; }
  .sidebar-cta, .sidebar-links { min-width: 0; }
}

/* Blog card con enlace wrapper */
.blog-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.blog-card > a .blog-body { flex: 1; }
