/*
Theme Name: Cero Dos Asesores
Theme URI: https://cerodos.mx
Author: Cero Dos Asesores
Author URI: https://cerodos.mx
Description: Sitio web oficial de Cero Dos Asesores - Contabilidad, Administración y Derecho
Version: 1.0
License: Proprietary
Text Domain: cerodos
*/

/* === Theme Styles === */

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --teal: #1A7A8A;
    --teal-dark: #0D5A68;
    --teal-deep: #083D4A;
    --teal-light: #5AADBD;
    --teal-pale: #E1F4F7;
    --teal-mid: #2E8F9E;
    --dark: #0A1A1F;
    --dark-2: #122028;
    --mid: #4A6670;
    --light: #F2F8FA;
    --white: #FFFFFF;
    --border: #BDD8DE;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 5vw;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-logo img {
    height: 48px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--teal); }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 74px;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 5vw 6rem 8vw;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--teal);
  }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--dark);
    margin-bottom: 1.75rem;
  }

  .hero-title em {
    font-style: italic;
    color: var(--teal);
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mid);
    max-width: 420px;
    margin-bottom: 2.5rem;
    font-weight: 300;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--teal-dark);
    color: var(--white);
    text-decoration: none;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
  }

  .hero-cta:hover { background: var(--teal); transform: translateY(-1px); }

  .hero-cta-arrow {
    width: 18px;
    height: 18px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
  }

  .hero-cta:hover .hero-cta-arrow { transform: rotate(45deg) translate(2px,-2px); }

  .hero-right {
    background: linear-gradient(135deg, #0D2B35 0%, #0D4A58 50%, #0D3340 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .hero-right::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 460px;
    height: 460px;
    border: 1px solid rgba(90,173,189,0.2);
    border-radius: 50%;
  }

  .hero-right::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 300px;
    height: 300px;
    border: 1px solid rgba(90,173,189,0.15);
    border-radius: 50%;
  }

  .hero-logo-big {
    width: 260px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: brightness(1.05);
  }

  /* SECTIONS BASE */
  section { padding: 6rem 8vw; }

  .section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--teal);
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 2rem;
  }

  /* ABOUT */
  .about {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }

  .about-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--mid);
    font-weight: 300;
  }

  .about-text p + p { margin-top: 1rem; }

  .about-right { display: flex; flex-direction: column; gap: 2rem; }

  .mv-card {
    border-left: 2px solid var(--teal);
    padding-left: 1.5rem;
  }

  .mv-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.6rem;
  }

  .mv-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--mid);
    font-weight: 300;
  }

  /* VALUES */
  .values { background: var(--dark); }
  .values .section-label { color: var(--teal-light); }
  .values .section-label::before { background: var(--teal-light); }
  .values .section-title { color: var(--white); }

  .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #1a2e34;
    border: 1px solid #1a2e34;
    margin-top: 3rem;
  }

  .value-item {
    background: var(--dark-2);
    padding: 2.5rem 2rem;
    transition: background 0.2s;
  }

  .value-item:hover { background: #1a3340; }

  .value-num {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    color: var(--teal-light);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
  }

  .value-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
  }

  /* SERVICES */
  .services { background: var(--light); }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .service-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: border-color 0.2s, transform 0.15s;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--teal);
    transition: height 0.3s;
  }

  .service-card:hover { border-color: var(--teal); transform: translateY(-2px); }
  .service-card:hover::before { height: 100%; }

  .service-icon {
    width: 36px;
    height: 36px;
    background: var(--teal-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  .service-icon svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 1.5; }

  .service-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
  }

  /* CONTACT */
  .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }

  .contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }

  .contact-icon svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 1.5; }

  .contact-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.3rem;
  }

  .contact-value {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.6;
  }

  .contact-right {
    background: var(--light);
    padding: 3rem;
    border: 1px solid var(--border);
  }

  .contact-right h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
  }

  .contact-right p {
    font-size: 0.9rem;
    color: var(--mid);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 300;
  }

  .contact-right a {
    display: block;
    text-align: center;
    background: var(--teal-dark);
    color: var(--white);
    text-decoration: none;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s;
    margin-bottom: 1rem;
  }

  .contact-right a:hover { background: var(--dark); }
  .contact-right a.wa { background: #25D366; }
  .contact-right a.wa:hover { background: #1aab50; }

  /* FOOTER */
  footer {
    background: var(--dark);
    color: #5a8090;
    text-align: center;
    padding: 2.5rem 5vw;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-top: 1px solid #1a2e34;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  footer img { height: 28px; width: auto; opacity: 0.7; }
  footer span { color: var(--teal-light); }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 3rem 6vw; }
    .hero-right { height: 300px; }
    .hero-logo-big { width: 180px; }
    .about, .contact { grid-template-columns: 1fr; gap: 3rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    section { padding: 4rem 6vw; }
  }
