/* MIXED CSS PACK */
/* Template: egmabogados.com.ar/index.html */
/* Template mtime: 2025-09-26 19:06:06 */

/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap */

/* ===== INLINE <style> BLOCK #1 ===== */
:root {
      --bg: #0f2a36;        /* azul petróleo */
      --bg-2: #152f3a;
      --bg-3: #1a3845;
      --gold: #c7a46c;      /* dorado sobrio */
      --gold-light: #d8b887;
      --gold-dark: #b8945a;
      --ink: #1c1f22;
      --muted: #6b7a85;
      --light: #ffffff;
      --card: #f7f9fb;
      --card-hover: #f0f4f8;
      --line: #e7edf3;
      --tick-bg: #0f222b;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    }
    
    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }
    
    body {
      font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
      color: var(--ink);
      line-height: 1.6;
      overflow-x: hidden;
    }
    
    h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
      line-height: 1.2;
    }
    
    a {
      color: var(--bg);
      text-decoration: none;
      transition: all 0.3s ease;
    }
    
    a:hover {
      color: var(--gold);
    }
    
    .btn {
      font-weight: 600;
      border-radius: 8px;
      padding: 0.75rem 1.5rem;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    
    .btn-primary-custom {
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      border: none;
      color: #111;
      box-shadow: 0 4px 15px rgba(199, 164, 108, 0.3);
    }
    
    .btn-primary-custom:hover {
      background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
      color: #111;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(199, 164, 108, 0.4);
    }
    
    .btn-outline-custom {
      border: 2px solid var(--gold);
      color: var(--gold);
      background: transparent;
    }
    
    .btn-outline-custom:hover {
      background: var(--gold);
      color: #111;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(199, 164, 108, 0.3);
    }
    
    .badge-soft {
      background: rgba(199, 164, 108, 0.15);
      color: var(--gold);
      padding: 0.5rem 1rem;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.85rem;
      letter-spacing: 0.5px;
    }

    /* Navbar */
    .navbar {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      padding: 1rem 0;
      transition: all 0.3s ease;
    }
    
    .navbar.scrolled {
      padding: 0.5rem 0;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-brand {
      font-weight: 800;
      font-size: 1.75rem;
      letter-spacing: -0.5px;
    }
    
    .navbar-brand span {
      color: var(--gold);
    }
    
    .nav-link {
      font-weight: 600;
      position: relative;
      padding: 0.5rem 1rem !important;
      border-radius: 6px;
      transition: all 0.3s ease;
    }
    
    .nav-link:not(.btn):hover {
      color: var(--gold) !important;
      background: rgba(199, 164, 108, 0.05);
    }
    
    .nav-link.btn {
      padding: 0.45rem 0.9rem;
    }

    /* Hero */
    #inicio {
      position: relative;
      background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
      color: var(--light);
      overflow: hidden;
    }
    
    .hero-wrap {
      min-height: 85vh;
      display: flex;
      align-items: center;
      position: relative;
    }
    
    .hero-bg {
      position: absolute;
      inset: 0;
      background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
      filter: grayscale(20%) brightness(0.4);
      animation: zoomInOut 20s infinite alternate ease-in-out;
    }
    
    @keyframes zoomInOut {
      0% { transform: scale(1); }
      100% { transform: scale(1.05); }
    }
    
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(15, 42, 54, 0.7) 0%, rgba(21, 47, 58, 0.8) 100%);
    }
    
    .hero-content {
      position: relative;
      z-index: 2;
    }
    
    .hero h1 {
      font-weight: 800;
      font-size: 3.5rem;
      line-height: 1.1;
      margin-bottom: 1.5rem;
    }
    
    .hero p {
      color: #d8e3ea;
      font-size: 1.25rem;
      margin-bottom: 2rem;
    }
    
    .hero-cta .btn {
      margin-right: 1rem;
      margin-bottom: 1rem;
    }
    
    /* Secciones */
    .section {
      padding: 100px 0;
      position: relative;
    }
    
    .section-title {
      font-weight: 800;
      font-size: 2.5rem;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }
    
    .section-title:after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 60px;
      height: 4px;
      background: var(--gold);
      border-radius: 2px;
    }
    
    .section-subtitle {
      color: var(--muted);
      font-size: 1.2rem;
      margin-bottom: 3rem;
    }

    /* Cards */
    .card-soft {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
      overflow: hidden;
    }
    
    .card-soft:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      background: var(--card-hover);
    }
    
    .card-icon {
      width: 70px;
      height: 70px;
      display: grid;
      place-items: center;
      border-radius: 16px;
      background: linear-gradient(135deg, #eef3f7 0%, #e2e9f1 100%);
      color: var(--bg);
      font-size: 28px;
      margin-bottom: 1.5rem;
      transition: all 0.3s ease;
    }
    
    .card-soft:hover .card-icon {
      transform: scale(1.05);
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      color: #111;
    }

    /* Equipo */
    .team-photo {
      width: 100%;
      aspect-ratio: 1/1;
      border-radius: 16px;
      object-fit: cover;
      filter: saturate(0.95) contrast(1.02);
      transition: all 0.3s ease;
    }
    
    .team-photo:hover {
      transform: scale(1.03);
      filter: saturate(1.1) contrast(1.05);
    }

    /* Ticker (galería 500x500) */
    .ticker-section {
      background: var(--tick-bg);
      position: relative;
      overflow: hidden;
    }
    
    .ticker-shell {
      position: relative;
      overflow: hidden;
    }
    
    .ticker-track {
      display: flex;
      gap: 20px;
      padding: 10px;
      scroll-behavior: smooth;
      overflow: hidden;
    }
    
    .tk-item {
      flex: 0 0 500px;
      height: 500px;
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
    }
    
    .tk-item:hover {
      transform: scale(1.02);
      border-color: rgba(255, 255, 255, 0.3);
    }
    
    .tk-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: all 0.5s ease;
    }
    
    .tk-item:hover img {
      transform: scale(1.05);
    }
    
    .ticker-actions {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      pointer-events: none;
      padding: 0 20px;
    }
    
    .ticker-btn {
      pointer-events: auto;
      border: none;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(8px);
      color: #fff;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      transition: all 0.3s ease;
      opacity: 0.8;
    }
    
    .ticker-btn:hover {
      background: rgba(0, 0, 0, 0.7);
      opacity: 1;
      transform: scale(1.1);
    }
    
    .ticker-dots {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      display: flex;
      gap: 8px;
      justify-content: center;
    }
    
    .ticker-dots button {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      border: 0;
      background: #ffffff44;
      transition: all 0.3s ease;
    }
    
    .ticker-dots button.active {
      background: #fff;
      transform: scale(1.2);
    }

    @media (max-width: 1199.98px) {
      .tk-item {
        flex-basis: 420px;
        height: 420px;
      }
    }
    
    @media (max-width: 991.98px) {
      .tk-item {
        flex-basis: 360px;
        height: 360px;
      }
      
      .hero h1 {
        font-size: 2.8rem;
      }
      
      .section {
        padding: 80px 0;
      }
    }
    
    @media (max-width: 767.98px) {
      .hero h1 {
        font-size: 2.2rem;
      }
      
      .hero p {
        font-size: 1.1rem;
      }
      
      .section-title {
        font-size: 2rem;
      }
    }
    
    @media (max-width: 575.98px) {
      .tk-item {
        flex-basis: 85vw;
        height: 85vw;
      }
      
      .hero h1 {
        font-size: 1.8rem;
      }
      
      .section {
        padding: 60px 0;
      }
    }

    /* FAQs */
    .faq-item {
      border-bottom: 1px solid var(--line);
      padding: 20px 0;
      transition: all 0.3s ease;
    }
    
    .faq-item:hover {
      background: rgba(247, 249, 251, 0.5);
      border-radius: 8px;
      padding-left: 15px;
      padding-right: 15px;
      margin-left: -15px;
      margin-right: -15px;
    }
    
    .faq-item summary {
      cursor: pointer;
      font-weight: 700;
      font-size: 1.1rem;
      padding: 5px 0;
      position: relative;
      list-style: none;
    }
    
    .faq-item summary::-webkit-details-marker {
      display: none;
    }
    
    .faq-item summary:after {
      content: '+';
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.5rem;
      color: var(--gold);
      transition: all 0.3s ease;
    }
    
    .faq-item[open] summary:after {
      content: '-';
      transform: translateY(-50%) rotate(0deg);
    }
    
    .faq-item p {
      margin: 15px 0 0;
      color: var(--muted);
      padding-right: 30px;
    }

    /* Footer */
    footer {
      background: #0d2029;
      color: #c9d4dd;
      position: relative;
    }
    
    .footer-top {
      padding: 60px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .footer-bottom {
      padding: 20px 0;
      color: #9fb0bc;
    }
    
    .footer-logo {
      font-weight: 900;
      font-size: 24px;
      letter-spacing: 0.5px;
      margin-bottom: 1rem;
    }
    
    .footer-logo span {
      color: var(--gold);
    }
    
    .footer-links h6 {
      color: #fff;
      margin-bottom: 1rem;
      font-weight: 600;
    }
    
    .footer-links ul li {
      margin-bottom: 0.5rem;
    }
    
    .footer-links a {
      color: #c9d4dd;
      transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
      color: var(--gold);
      padding-left: 5px;
    }

    /* Flotante WhatsApp */
    .float-wa {
      position: fixed;
      right: 25px;
      bottom: 25px;
      z-index: 1000;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: #25D366;
      color: #fff;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
      transition: all 0.3s ease;
      animation: pulse 2s infinite;
    }
    
    .float-wa:hover {
      transform: scale(1.1);
      box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    }
    
    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
      }
      70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
      }
    }

    /* Efectos de entrada */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }
    
    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    .delay-1 {
      transition-delay: 0.1s;
    }
    
    .delay-2 {
      transition-delay: 0.2s;
    }
    
    .delay-3 {
      transition-delay: 0.3s;
    }
    
    .delay-4 {
      transition-delay: 0.4s;
    }

/* ===== INLINE <style> BLOCK #2 ===== */
.hero-side-image{
        max-width: 420px;
        width: 100%;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
      }
      @media (max-width: 991.98px){
        .hero-side-image{ max-width: 240px; }
      }

/* ===== INLINE <style> BLOCK #3 ===== */
#estudio.est-v4{ --v4-line:#e1e7ef; --v4-ink:#243041; --v4-muted:#6f7a89; --v4-card:#fff; --v4-gold:#c9a66b; }

    /* Lead horizontal */
    #estudio.est-v4 .lead-card{
      display:grid; grid-template-columns: 220px 1fr; gap:22px;
      border:2px solid #d1dae5; border-radius:16px; background:var(--v4-card);
      padding:22px; box-shadow:0 3px 14px rgba(0,0,0,.06); margin: 12px 0 22px;
    }
    #estudio.est-v4 .lead-photo{ border-radius:14px; overflow:hidden; background:#f6f8fb; border:1px solid var(--v4-line); }
    #estudio.est-v4 .lead-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
    #estudio.est-v4 .lead-name{ font-size:1.1rem; font-weight:700; margin: 2px 0 2px; color:var(--v4-ink); }
    #estudio.est-v4 .lead-role{ font-size:.95rem; color:var(--v4-muted); margin-bottom:8px; }
    #estudio.est-v4 .lead-bio p{ margin:0 0 .6rem; color:var(--v4-muted); }

    /* Cards del resto del equipo */
    #estudio.est-v4 .estv4-card{
      border:2px solid #d1dae5; border-radius:16px; background:var(--v4-card);
      padding:22px; box-shadow:0 3px 12px rgba(0,0,0,.06); height:100%;
      transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    }
    #estudio.est-v4 .estv4-card:hover{ transform: translateY(-2px); box-shadow:0 8px 22px rgba(0,0,0,.08); border-color:#c6d0dc; }
    #estudio.est-v4 .estv4-head{ display:flex; align-items:center; gap:14px; margin-bottom:10px; padding-bottom:10px; border-bottom:1px dashed var(--v4-line); }
    #estudio.est-v4 .estv4-avatar{ width:80px; height:80px; border-radius:50%; overflow:hidden; border:1px solid var(--v4-line); background:#f6f8fb; flex:0 0 80px; }
    #estudio.est-v4 .estv4-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
    #estudio.est-v4 .estv4-name{ font-weight:700; color:var(--v4-ink); font-size:1.03rem; }
    #estudio.est-v4 .estv4-role{ font-size:.95rem; color:var(--v4-muted); }
    #estudio.est-v4 .estv4-bio{ color:var(--v4-muted); font-size:1.02rem; line-height:1.7; position:relative; }
    #estudio.est-v4 .estv4-bio p{ margin:0 0 .65rem; }

    /* Clamp bios for uniform height */
    #estudio.est-v4 .estv4-card:not(.expanded) .estv4-bio{
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
      overflow: hidden;
      max-height: 8.5em;
    }
    #estudio.est-v4 .estv4-card:not(.expanded) .estv4-bio::after{
      content:"";
      position:absolute; left:0; right:0; bottom:0; height:2.5rem;
      background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 70%, #fff 100%);
      pointer-events:none;
      border-bottom-left-radius: 14px;
      border-bottom-right-radius: 14px;
    }
    #estudio.est-v4 .estv4-readmore{
      display:inline-block; margin-top:.35rem; font-size:.9rem; font-weight:600;
      background: transparent; border:0; color:#2c5cc5; text-decoration: underline; text-underline-offset:3px; cursor:pointer;
    }

    /* Mobile fixes */
    @media (max-width: 768px){
      #estudio.est-v4 .lead-card{ grid-template-columns: 180px 1fr; }
    }
    @media (max-width: 576px){
      #estudio.est-v4 .lead-card{ grid-template-columns: 1fr; padding:16px; gap:14px; }
      #estudio.est-v4 .lead-photo{ height: 220px; }
      #estudio.est-v4 .lead-bio{ font-size: .98rem; line-height: 1.6; }
    }
    @media (max-width: 400px){
      #estudio.est-v4 .lead-photo{ height: 180px; }
    }
    #estudio.est-v4 img{ max-width:100%; height:auto; }

/* ===== INLINE <style> BLOCK #4 ===== */
#opiniones .card-icon{
        background: linear-gradient(135deg, #eef3f7 0%, #e2e9f1 100%);
        border-radius: 12px;
        display: grid; place-items: center; font-size: 22px;
      }

/* ===== INLINE <style> BLOCK #5 ===== */
/* FAQs: borde + acentos dorados, sin cambiar tipografías ni color de texto */
:root { --faq-gold: #c9a66b; }

#faqs .faq-item{
  background: transparent !important;
  border: 1.5px solid rgba(0,0,0,.25);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 14px;
  box-shadow: none !important;
}

/* Espaciado interno del bloque */
#faqs details{ padding: 14px 18px; }

/* Puntito dorado al inicio del summary */
#faqs summary{
  display: flex; align-items: center; gap: .5rem;
  list-style: none;
  cursor: pointer;
}
#faqs summary::-webkit-details-marker{ display:none; }
#faqs summary::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--faq-gold);
  flex: 0 0 6px;
}

/* Barrita dorada al abrir (solo el borde izquierdo) */
#faqs details[open]{
  border-left: 3px solid var(--faq-gold);
  border-radius: 14px;
}

