/* Lawyer Profile Website — plantilla responsive */
:root{
  --ink:#211d1b; --ink-2:#2c2724; --cream:#f4f1ec; --gold:#b58a47;
  --gold-light:#d0ab6b; --muted:#bdb4ac; --serif:'Cormorant Garamond', Georgia, serif;
  --body:'Libre Baskerville', Georgia, serif;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--body);line-height:1.7}
a{color:inherit;text-decoration:none}.site-header{height:108px;position:absolute;z-index:10;top:0;left:0;width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 4.8%;color:#fff}
.brand{display:flex;flex-direction:column;line-height:1}.brand strong{font:600 2.1rem var(--serif);letter-spacing:.08em;color:var(--gold-light)}.brand span{font:italic 1rem var(--serif);color:#d7cbc0;margin-left:3.8rem;margin-top:.35rem}
.main-nav{display:flex;gap:2rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.12em}.main-nav a{opacity:.85}.main-nav a:hover{color:var(--gold-light)}
.menu-toggle{display:none;background:none;border:0;color:white;cursor:pointer}.menu-toggle span{display:block;width:28px;height:2px;background:var(--gold-light);margin:6px;transition:transform 0.3s ease, opacity 0.3s ease}

/* Transformar hamburguesa a icono de cerrar (X) */
.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.hero{min-height:860px;position:relative;overflow:hidden;background:linear-gradient(100deg,rgba(25,21,20,.96),rgba(31,27,25,.82)),url('https://images.unsplash.com/photo-1555374018-13a8994ab246?auto=format&fit=crop&w=1800&q=80') center/cover;color:#fff;display:flex;align-items:center;padding:9rem 9.5% 6rem}
.hero-content{width:50%;position:relative;z-index:2}
.eyebrow{font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;color:#eee0ce}
.hero .eyebrow{display:inline-flex;align-items:center;gap:0.65rem;font-family:'Plus Jakarta Sans','Inter','Montserrat',sans-serif;font-size:0.875rem;font-weight:600;text-transform:uppercase;letter-spacing:2.5px;color:#C6A15B;margin-top:0;margin-bottom:10px}
.hero .eyebrow::before{content:'';display:inline-block;width:24px;height:2px;background-color:#C6A15B;border-radius:1px}
.hero h1{margin-top:0}
.gold{color:var(--gold)}
h1,h2,h3{font-family:var(--serif);line-height:1.05;margin:.5rem 0 1rem}h1{font-size:clamp(3.2rem,5.4vw,6.5rem);font-weight:600;color:var(--gold-light)}h2{font-size:clamp(2.6rem,4vw,4.2rem);color:var(--gold)}h3{font-size:1.75rem}.hero-copy{color:#d1c8c0;max-width:650px;font-size:1rem;margin:1.4rem 0 2rem}
.button{display:inline-block;padding:.8rem 1.8rem;border:1px solid var(--gold-light);font-family:var(--serif);font-weight:700;font-size:1.05rem;transition:.25s}.button:hover{background:var(--gold-light);color:var(--ink)}.button-dark{background:var(--ink);color:#fff;border-color:var(--ink)}.dark-button{margin-top:3rem;color:var(--gold)}
.hero-portrait{position:absolute;right:6.5%;top:10.5%;height:78%;width:38%;background:var(--gold);padding:4.5rem 3rem 0;z-index:1}.portrait-frame{height:100%;overflow:hidden}.portrait-frame img{width:100%;height:100%;object-fit:cover;filter:saturate(.65) contrast(1.05)}
.vertical-social{position:absolute;left:0;bottom:0;background:rgba(10,8,7,.75);display:flex;flex-direction:column;padding:1.1rem .9rem;gap:1.2rem;font-weight:700;color:#d6c5b0}.vertical-social a:hover{color:var(--gold-light)}.scroll-dots{position:absolute;left:2%;top:40%;display:grid;gap:12px}.scroll-dots i{width:8px;height:8px;background:#5a514a;border-radius:50%}.scroll-dots .active{background:var(--gold-light)}
.section{max-width:1230px;margin:auto;padding:8rem 4rem}.advantages{display:grid;grid-template-columns:1.1fr repeat(3,1fr);padding-top:7rem;gap:8px}.advantage-intro,.feature-card{min-height:445px;padding:3rem 2.6rem}.advantage-intro{background:#fff}.advantage-intro p:not(.eyebrow){color:#655e59}.text-link{font:italic 700 1rem var(--serif);color:var(--gold)}
.feature-card{color:#fff;position:relative;overflow:hidden;background:linear-gradient(rgba(24,20,18,.72),rgba(24,20,18,.9)),var(--bg) center/cover}.feature-card>*{position:relative}.feature-icon,.service-icon{font-size:2rem;color:var(--gold-light)}.feature-card h3{margin-top:4rem}.feature-card p{color:#e0d8d0}
.section-heading{text-align:center;max-width:650px;margin:0 auto 4rem}.section-heading>p:last-child{font-size:.95rem}
.services{text-align:center}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;text-align:center}.service-card{background:#fff;min-height:320px;padding:2.5rem 2rem;box-shadow:0 10px 28px rgba(56,37,22,.08);border-bottom:6px solid var(--gold-light)}.service-card p{color:#625b55;font-size:.9rem}.service-card .text-link{display:block;margin-top:1.5rem}
.quote-section{min-height:620px;background:linear-gradient(rgba(23,19,18,.9),rgba(23,19,18,.88)),url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1800&q=85') center/cover;color:#fff;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:6rem 9%}.quote-content{max-width:650px}.quote-mark{font:8rem var(--serif);color:var(--gold);height:60px;margin:0}.quote-content blockquote{font:italic 600 clamp(2rem,3.5vw,4rem) var(--serif);line-height:1.1;color:var(--gold-light);margin:1rem 0}.quote-content cite{font:1.4rem var(--serif);color:#eee}.quote-image{border:18px solid #8b6129;box-shadow:25px 22px 0 rgba(181,138,71,.3);height:390px}.quote-image img{width:100%;height:100%;object-fit:cover}
.newsletter{background:#a07a3f;color:#fff;text-align:center;padding:5rem 1rem}.newsletter h2{color:#fff;margin-bottom:.2rem}.newsletter-form{max-width:950px;margin:2rem auto 0;display:flex;background:rgba(255,255,255,.17);padding:.45rem}.newsletter-form input{flex:1;border:0;background:transparent;color:#fff;padding:1rem;font:1rem var(--body);outline:0}.newsletter-form input::placeholder{color:#f4e9d6}.newsletter-form .button{min-width:190px}.form-message{min-height:1.5rem;color:#fff}
.footer{background:var(--ink);color:#d8cec4;text-align:center}.footer-inner{padding:5rem 1rem 0}.footer h2{margin:.5rem 0;color:var(--gold-light)}.footer-copy{max-width:950px;margin:auto}.footer-social{display:flex;justify-content:center;gap:1.2rem;margin:2rem 0;color:var(--gold-light)}.footer-social a{border:1px solid var(--gold);border-radius:50%;width:44px;height:44px;display:grid;place-items:center}.footer-nav{display:flex;justify-content:center;gap:3rem;color:var(--gold-light);margin:3rem 0 4rem}.copyright{border-top:1px solid #3d3530;padding:1.5rem;font-size:.8rem;color:#a99d94}
body.no-scroll {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block !important;
    cursor: pointer;
    z-index: 10002 !important;
  }
  .main-nav {
    display: none;
  }
  .site-header.menu-open .brand {
    position: fixed !important;
    z-index: 10001 !important;
  }
  .site-header.menu-open .menu-toggle {
    position: fixed !important;
    z-index: 10002 !important; /* Mayor a .site-header (10) y .main-nav (10000) */
    top: 38px;
    right: 4.8%;
  }
  .site-header.menu-open .main-nav {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--ink) !important;
    z-index: 10000 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2.2rem !important;
    padding: 2rem !important;
    margin: 0 !important;
  }
  .site-header.menu-open .main-nav a {
    font-size: 1.5rem !important;
    letter-spacing: 0.18em !important;
    color: var(--cream) !important;
    opacity: 1 !important;
  }
  .site-header.menu-open .main-nav a:hover {
    color: var(--gold-light) !important;
  }

  .hero { min-height: 900px; padding: 9rem 7% 5rem; }
  .hero-content { width: 70%; }
  .hero-portrait { right: 2%; width: 42%; opacity: .55; }
  .advantages { grid-template-columns: 1fr 1fr; padding-left: 1.5rem; padding-right: 1.5rem; }
  .advantage-intro { grid-column: span 2; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .quote-section { grid-template-columns: 1fr; gap: 3rem; }
}

@media(max-width:600px){.site-header{height:82px}.brand strong{font-size:1.6rem}.brand span{font-size:.8rem;margin-left:2.4rem}.hero{min-height:790px;padding:8rem 1.5rem 4rem}.hero-content{width:100%}h1{font-size:3.2rem}.hero-portrait{display:none}.vertical-social{display:none}.scroll-dots{left:auto;right:1.5rem;top:45%}.section{padding:5rem 1.2rem}.advantages{display:block;padding:4rem 1.2rem}.advantage-intro,.feature-card{min-height:330px;margin-bottom:8px}.feature-card h3{margin-top:2.5rem}.service-grid{grid-template-columns:1fr}.quote-section{padding:5rem 1.5rem}.quote-image{height:270px;border-width:10px}.newsletter-form{display:block;background:none}.newsletter-form input{width:100%;background:rgba(255,255,255,.17);margin-bottom:.6rem}.newsletter-form .button{width:100%}.footer-nav{gap:1rem;flex-wrap:wrap;margin-bottom:3rem}}

.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}

/* --- Páginas Secundarias & Contacto --- */
.hero-page {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(25, 21, 20, 0.95), rgba(31, 27, 25, 0.85)),
              url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1800&q=80') center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 9rem 9.5% 4rem;
}
.hero-page-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}
.hero-page h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  font-weight: 600;
  color: var(--gold-light);
  margin: 0.4rem 0 1rem;
}
.hero-page-copy {
  color: #d1c8c0;
  font-size: 1.05rem;
  margin: 0;
}

/* Contact Grid */
.contact-section {
  padding-top: 5rem;
  padding-bottom: 7rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

/* Contact Info Column */
.contact-info-header {
  margin-bottom: 2.5rem;
}
.contact-info-header h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}
.contact-details {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}
.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: #fff;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.contact-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.contact-item p {
  margin: 0;
  color: #5d554f;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-item a:hover {
  color: var(--gold);
}

/* WhatsApp Card */
.whatsapp-card {
  margin-top: 1rem;
}
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--ink-2);
  color: var(--gold-light);
  border: 1px solid var(--gold-light);
  padding: 0.9rem 1.6rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.whatsapp-button:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.whatsapp-button svg {
  fill: currentColor;
}

/* Contact Form Column */
.contact-form-card {
  background: #fff;
  padding: 3rem 2.8rem;
  box-shadow: 0 12px 35px rgba(44, 39, 36, 0.09);
  border-top: 5px solid var(--gold-light);
}
.contact-form-card h3 {
  font-size: 2rem;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 0.4rem;
}
.form-intro {
  color: #6a625b;
  font-size: 0.92rem;
  margin-bottom: 2rem;
}
.corporate-form .form-group {
  margin-bottom: 1.4rem;
}
.corporate-form label {
  display: block;
  font-size: 0.85rem;
  font-family: var(--serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.corporate-form input,
.corporate-form select,
.corporate-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #dcd5ce;
  background: #faf8f5;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.corporate-form input:focus,
.corporate-form select:focus,
.corporate-form textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(181, 138, 71, 0.15);
}
.corporate-form select {
  cursor: pointer;
  appearance: auto;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.full-width-btn {
  width: 100%;
  text-align: center;
  cursor: pointer;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .hero-page {
    min-height: 350px;
    padding: 8rem 6% 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-form-card {
    padding: 2.2rem 1.8rem;
  }
}
@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Hero Específico de Servicios (Compacto ~50vh) */
.hero-service {
  min-height: 520px;
  padding-top: 9rem;
  padding-bottom: 4.5rem;
  background-image: linear-gradient(100deg, rgba(25, 21, 20, 0.94), rgba(31, 27, 25, 0.86)),
                    url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1800&q=80');
}
.hero-service .hero-content {
  width: 75%;
}
@media (max-width: 900px) {
  .hero-service {
    min-height: 400px;
  }
  .hero-service .hero-content {
    width: 100%;
  }
}

/* Botón Flotante Global de WhatsApp */
.whatsapp-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1);
  background-color: #20ba59;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

/* Componentes de Detalle de Servicio */
.service-alert-banner {
  background: rgba(198, 161, 91, 0.18);
  border-left: 4px solid var(--gold-light);
  padding: 1.1rem 1.4rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #f5ece2;
  backdrop-filter: blur(4px);
}
.service-hero-sub {
  font-size: 1.35rem;
  font-family: var(--serif);
  color: var(--gold-light);
  margin: 0.5rem 0 1rem;
  font-weight: 600;
}
.section-sub-heading {
  font-size: 1.25rem;
  font-family: var(--serif);
  color: var(--gold);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}
.section-subtitle-center {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
  margin: 3rem 0 1.5rem;
}
.service-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}
.service-item-card {
  background: #fff;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 8px 24px rgba(44, 39, 36, 0.07);
  border-top: 4px solid var(--gold-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(44, 39, 36, 0.12);
}
.service-item-card .item-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}
.service-item-card .item-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.service-item-card h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
.service-item-card p {
  color: #625b55;
  font-size: 0.92rem;
  margin: 0.5rem 0 0;
  line-height: 1.6;
}
.subitem-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.subitem-badge {
  background: #f4efea;
  color: #3b3430;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.82rem;
  border: 1px solid #e2d8ce;
  font-family: var(--body);
}
.author-signature-block {
  text-align: center;
  margin: 3.5rem 0 2rem;
  padding: 1.5rem;
  background: rgba(198, 161, 91, 0.08);
  border-radius: 6px;
  border-left: 4px solid var(--gold);
}
.author-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-2);
  margin: 0;
  font-weight: 700;
}
.service-callout-box {
  background: var(--ink);
  color: #fff;
  padding: 3rem 2.5rem;
  margin: 3.5rem 0;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}
.service-callout-box h3 {
  color: var(--gold-light);
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
}
.service-callout-box p {
  font-size: 1.05rem;
  max-width: 820px;
  margin: 0 auto 2rem;
  color: #ded6ce;
  line-height: 1.7;
}


