/*
Theme Name: Maple Asesores
Theme URI: https://mapleasesor.es
Author: Asesoría Maple
Description: Tema personalizado para Asesoría Maple — Arroyo de la Miel
Version: 1.0
*/

:root {
      --verde: #1a3a2a;
      --verde-medio: #2d5a40;
      --verde-claro: #4a8c5c;
      --maple: #c8622a;
      --maple-claro: #e8845a;
      --crema: #f7f3ed;
      --blanco: #ffffff;
      --gris-texto: #4a4a4a;
      --gris-claro: #e8e4de;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--crema);
      color: var(--verde);
      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: 1.2rem 5%;
      background: rgba(247,243,237,0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--gris-claro);
    }

    .nav-logo {
      display: flex; align-items: center; gap: 0.6rem;
      text-decoration: none;
    }
    .nav-logo-leaf {
      font-size: 1.6rem;
      filter: hue-rotate(0deg);
    }
    .nav-logo-text {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--verde);
      letter-spacing: -0.02em;
    }
    .nav-logo-text span { color: var(--maple); }

    .nav-links {
      display: flex; gap: 2.5rem; list-style: none;
    }
    .nav-links a {
      text-decoration: none; color: var(--verde);
      font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--maple); }

    .nav-cta {
      background: var(--maple);
      color: white !important;
      padding: 0.55rem 1.3rem;
      border-radius: 2rem;
      transition: background 0.2s !important;
    }
    .nav-cta:hover { background: var(--maple-claro) !important; color: white !important; }

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

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

    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 0.5rem;
      font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--maple);
      margin-bottom: 1.5rem;
    }
    .hero-eyebrow::before {
      content: ''; display: block;
      width: 30px; height: 2px; background: var(--maple);
    }

    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.8rem, 4vw, 4.2rem);
      font-weight: 900;
      line-height: 1.05;
      color: var(--verde);
      margin-bottom: 1.6rem;
    }
    .hero-title em {
      font-style: italic;
      color: var(--maple);
    }

    .hero-sub {
      font-size: 1.1rem; font-weight: 300;
      line-height: 1.7;
      color: var(--gris-texto);
      max-width: 480px;
      margin-bottom: 2.5rem;
    }

    .hero-btns {
      display: flex; gap: 1rem; flex-wrap: wrap;
      margin-bottom: 3.5rem;
    }

    .btn-primary {
      background: var(--verde);
      color: white;
      padding: 0.85rem 2rem;
      border-radius: 0.5rem;
      text-decoration: none;
      font-size: 0.95rem; font-weight: 500;
      transition: background 0.2s, transform 0.15s;
      display: inline-flex; align-items: center; gap: 0.5rem;
    }
    .btn-primary:hover { background: var(--verde-medio); transform: translateY(-2px); }

    .btn-secondary {
      background: transparent;
      color: var(--verde);
      padding: 0.85rem 2rem;
      border-radius: 0.5rem;
      border: 1.5px solid var(--verde);
      text-decoration: none;
      font-size: 0.95rem; font-weight: 500;
      transition: all 0.2s;
      display: inline-flex; align-items: center; gap: 0.5rem;
    }
    .btn-secondary:hover { background: var(--verde); color: white; transform: translateY(-2px); }

    .btn-booking {
      background: var(--maple);
      color: white;
      padding: 0.85rem 2rem;
      border-radius: 0.5rem;
      text-decoration: none;
      font-size: 0.95rem; font-weight: 500;
      transition: background 0.2s, transform 0.15s;
      display: inline-flex; align-items: center; gap: 0.5rem;
      box-shadow: 0 4px 20px rgba(200,98,42,0.35);
    }
    .btn-booking:hover { background: var(--maple-claro); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(200,98,42,0.45); }

    /* Booking banner flotante */
    .booking-banner {
      position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
      background: var(--maple);
      color: white;
      padding: 0.9rem 1.5rem;
      border-radius: 3rem;
      text-decoration: none;
      font-size: 0.9rem; font-weight: 500;
      display: flex; align-items: center; gap: 0.6rem;
      box-shadow: 0 8px 30px rgba(200,98,42,0.5);
      animation: bounceIn 0.6s 1s both;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .booking-banner:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 35px rgba(200,98,42,0.6); }
    .booking-banner-pulse {
      width: 10px; height: 10px;
      background: white; border-radius: 50%;
      animation: pulse 1.8s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.7); }
    }
    @keyframes bounceIn {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Sección reserva destacada */
    .booking-section {
      background: linear-gradient(135deg, var(--maple) 0%, #a04820 100%);
      padding: 5rem 8%;
      text-align: center;
      position: relative; overflow: hidden;
    }
    .booking-section::before {
      content: '🍁';
      position: absolute; font-size: 20rem;
      opacity: 0.05; top: -4rem; right: -4rem;
      line-height: 1;
    }
    .booking-section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 900; color: white;
      margin-bottom: 1rem;
      position: relative;
    }
    .booking-section-sub {
      font-size: 1.05rem; color: rgba(255,255,255,0.75);
      font-weight: 300; max-width: 520px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
    }
    .booking-steps {
      display: flex; justify-content: center; gap: 3rem;
      margin-bottom: 2.5rem; flex-wrap: wrap;
    }
    .booking-step {
      color: white; text-align: center;
    }
    .booking-step-num {
      width: 42px; height: 42px;
      border: 2px solid rgba(255,255,255,0.4);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem; font-weight: 700;
      margin: 0 auto 0.6rem;
    }
    .booking-step-label {
      font-size: 0.82rem; color: rgba(255,255,255,0.7);
    }
    .btn-booking-large {
      background: white;
      color: var(--maple);
      padding: 1.1rem 2.8rem;
      border-radius: 0.6rem;
      text-decoration: none;
      font-size: 1.05rem; font-weight: 600;
      display: inline-flex; align-items: center; gap: 0.6rem;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 6px 25px rgba(0,0,0,0.2);
      position: relative;
    }
    .btn-booking-large:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(0,0,0,0.25); }
    .btn-booking-note {
      font-size: 0.78rem; color: rgba(255,255,255,0.5);
      margin-top: 1rem;
    }

    .hero-stats {
      display: flex; gap: 2.5rem;
    }
    .stat { }
    .stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; font-weight: 700;
      color: var(--verde);
      line-height: 1;
    }
    .stat-num span { color: var(--maple); }
    .stat-label {
      font-size: 0.78rem; font-weight: 400;
      color: var(--gris-texto);
      letter-spacing: 0.02em;
      margin-top: 0.2rem;
    }

    .hero-right {
      background: var(--verde);
      position: relative;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }

    .hero-right-content {
      position: relative; z-index: 2;
      text-align: center; padding: 3rem;
    }

    .hero-portrait-placeholder {
      width: 260px; height: 320px;
      background: var(--verde-medio);
      border-radius: 2rem;
      margin: 0 auto 2rem;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      border: 2px dashed rgba(255,255,255,0.2);
      gap: 0.8rem;
    }
    .hero-portrait-placeholder .icon { font-size: 4rem; opacity: 0.4; }
    .hero-portrait-placeholder p {
      font-size: 0.8rem; color: rgba(255,255,255,0.4);
      max-width: 160px; line-height: 1.4;
    }

    .hero-card {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 1rem;
      padding: 1.5rem 2rem;
      text-align: left;
    }
    .hero-card-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem; font-weight: 700;
      color: white;
    }
    .hero-card-role {
      font-size: 0.82rem; color: rgba(255,255,255,0.6);
      margin-top: 0.2rem; margin-bottom: 1rem;
    }
    .hero-card-badges {
      display: flex; flex-wrap: wrap; gap: 0.4rem;
    }
    .badge {
      background: var(--maple);
      color: white;
      font-size: 0.72rem; font-weight: 500;
      padding: 0.3rem 0.7rem;
      border-radius: 2rem;
    }
    .badge.outline {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.3);
      color: rgba(255,255,255,0.8);
    }

    /* Decorative circles */
    .hero-right::before {
      content: '';
      position: absolute;
      width: 400px; height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, var(--verde-claro) 0%, transparent 70%);
      opacity: 0.25;
      top: -100px; right: -100px;
    }
    .hero-right::after {
      content: '';
      position: absolute;
      width: 300px; height: 300px;
      border-radius: 50%;
      background: radial-gradient(circle, var(--maple) 0%, transparent 70%);
      opacity: 0.15;
      bottom: -80px; left: -80px;
    }

    /* ── SERVICIOS ── */
    .section { padding: 6rem 8%; }
    .section-alt { background: var(--verde); }

    .section-label {
      font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--maple);
      margin-bottom: 0.8rem;
      display: flex; align-items: center; gap: 0.5rem;
    }
    .section-label::before {
      content: ''; display: block;
      width: 24px; height: 2px; background: var(--maple);
    }

    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 3vw, 2.8rem);
      font-weight: 700; line-height: 1.15;
      color: var(--verde);
      margin-bottom: 1rem;
    }
    .section-alt .section-title { color: white; }
    .section-alt .section-label { color: var(--maple-claro); }
    .section-alt .section-label::before { background: var(--maple-claro); }

    .section-intro {
      font-size: 1.05rem; font-weight: 300;
      color: var(--gris-texto);
      max-width: 540px; line-height: 1.7;
      margin-bottom: 3.5rem;
    }
    .section-alt .section-intro { color: rgba(255,255,255,0.65); }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .service-card {
      background: white;
      border-radius: 1.2rem;
      padding: 2.2rem;
      border: 1px solid var(--gris-claro);
      transition: transform 0.25s, box-shadow 0.25s;
      position: relative; overflow: hidden;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 50px rgba(26,58,42,0.12);
    }
    .service-card::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--verde-claro), var(--maple));
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.3s;
    }
    .service-card:hover::after { transform: scaleX(1); }

    .service-icon {
      width: 52px; height: 52px;
      background: var(--crema);
      border-radius: 0.8rem;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 1.4rem;
    }

    .service-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.25rem; font-weight: 700;
      color: var(--verde);
      margin-bottom: 0.8rem;
    }

    .service-desc {
      font-size: 0.9rem; font-weight: 300;
      color: var(--gris-texto);
      line-height: 1.65;
      margin-bottom: 1.4rem;
    }

    .service-items {
      list-style: none; display: flex; flex-direction: column; gap: 0.4rem;
    }
    .service-items li {
      font-size: 0.82rem; color: var(--verde-medio);
      font-weight: 400;
      display: flex; align-items: center; gap: 0.4rem;
    }
    .service-items li::before { content: '→'; color: var(--maple); font-size: 0.8rem; }

    /* ── ANTONIO ── */
    .antonio-section {
      padding: 6rem 8%;
      display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
      align-items: center;
    }

    .antonio-img-placeholder {
      aspect-ratio: 4/5;
      background: var(--verde-medio);
      border-radius: 2rem;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      border: 2px dashed rgba(255,255,255,0.2);
      gap: 0.8rem; max-height: 480px;
    }
    .antonio-img-placeholder .icon { font-size: 5rem; opacity: 0.3; }
    .antonio-img-placeholder p {
      font-size: 0.82rem; color: rgba(255,255,255,0.4);
      text-align: center; max-width: 200px; line-height: 1.5;
    }

    .antonio-content {}
    .antonio-quote {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem; font-style: italic;
      color: var(--verde);
      line-height: 1.4;
      border-left: 3px solid var(--maple);
      padding-left: 1.5rem;
      margin-bottom: 2rem;
    }

    .antonio-bio {
      font-size: 0.95rem; font-weight: 300;
      color: var(--gris-texto); line-height: 1.75;
      margin-bottom: 2.5rem;
    }

    .antonio-values {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .value-item {
      padding: 1.2rem;
      background: var(--crema);
      border-radius: 0.8rem;
      border: 1px solid var(--gris-claro);
    }
    .value-item-title {
      font-weight: 500; font-size: 0.88rem;
      color: var(--verde);
      margin-bottom: 0.3rem;
      display: flex; align-items: center; gap: 0.4rem;
    }
    .value-item-desc {
      font-size: 0.8rem; color: var(--gris-texto); font-weight: 300;
    }

    /* ── CLIENTES TARGET ── */
    .target-section {
      padding: 5rem 8%;
      background: var(--verde);
    }

    .target-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 1.2rem; margin-top: 3rem;
    }
    .target-card {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 1rem;
      padding: 1.8rem 1.5rem;
      transition: background 0.2s;
    }
    .target-card:hover { background: rgba(255,255,255,0.1); }
    .target-emoji { font-size: 2rem; margin-bottom: 1rem; }
    .target-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.05rem; font-weight: 700;
      color: white; margin-bottom: 0.5rem;
    }
    .target-desc {
      font-size: 0.82rem; color: rgba(255,255,255,0.55);
      font-weight: 300; line-height: 1.55;
    }

    /* ── ZONA ── */
    .zona-section {
      padding: 5rem 8%;
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
    }
    .zona-map-placeholder {
      aspect-ratio: 1;
      background: var(--gris-claro);
      border-radius: 1.5rem;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 1rem; max-height: 400px;
    }
    .zona-map-placeholder .icon { font-size: 3.5rem; opacity: 0.4; }
    .zona-map-placeholder p {
      font-size: 0.82rem; color: var(--gris-texto);
      text-align: center; max-width: 200px; line-height: 1.5;
    }
    .zona-address {
      background: var(--verde);
      color: white;
      border-radius: 1rem;
      padding: 1.5rem;
      margin-top: 1.5rem;
    }
    .zona-address p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.85); }
    .zona-address strong { color: white; font-weight: 500; }

    /* ── CONTACTO ── */
    .contact-section {
      padding: 6rem 8%;
      background: var(--crema);
    }

    .contact-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: start;
      margin-top: 3rem;
    }

    .contact-info { }
    .contact-item {
      display: flex; gap: 1rem; margin-bottom: 1.8rem;
      align-items: flex-start;
    }
    .contact-icon {
      width: 44px; height: 44px; flex-shrink: 0;
      background: var(--verde);
      border-radius: 0.7rem;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
    }
    .contact-detail { }
    .contact-label {
      font-size: 0.75rem; font-weight: 500;
      text-transform: uppercase; letter-spacing: 0.08em;
      color: var(--maple); margin-bottom: 0.2rem;
    }
    .contact-value {
      font-size: 0.95rem; color: var(--verde);
      font-weight: 400; line-height: 1.5;
    }

    .contact-form {
      background: white;
      border-radius: 1.5rem;
      padding: 2.5rem;
      border: 1px solid var(--gris-claro);
      box-shadow: 0 8px 30px rgba(26,58,42,0.06);
    }
    .form-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem; font-weight: 700;
      color: var(--verde); margin-bottom: 1.5rem;
    }
    .form-group { margin-bottom: 1.2rem; }
    .form-group label {
      display: block; font-size: 0.8rem; font-weight: 500;
      color: var(--verde); margin-bottom: 0.4rem;
      text-transform: uppercase; letter-spacing: 0.06em;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 0.75rem 1rem;
      background: var(--crema);
      border: 1.5px solid var(--gris-claro);
      border-radius: 0.6rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem; color: var(--verde);
      outline: none;
      transition: border-color 0.2s;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--verde-claro);
    }
    .form-group textarea { resize: vertical; min-height: 100px; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

    .form-submit {
      width: 100%;
      background: var(--verde);
      color: white;
      border: none; cursor: pointer;
      padding: 0.9rem;
      border-radius: 0.6rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.95rem; font-weight: 500;
      margin-top: 0.5rem;
      transition: background 0.2s;
    }
    .form-submit:hover { background: var(--verde-medio); }

    /* ── FOOTER ── */
    footer {
      background: #0f2219;
      padding: 3rem 8%;
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 1rem;
    }
    .footer-logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem; font-weight: 700;
      color: white;
    }
    .footer-logo span { color: var(--maple); }
    .footer-copy {
      font-size: 0.78rem; color: rgba(255,255,255,0.4);
    }
    .footer-links { display: flex; gap: 1.5rem; }
    .footer-links a {
      font-size: 0.78rem; color: rgba(255,255,255,0.5);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: white; }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .hero-eyebrow { animation: fadeUp 0.6s ease both; }
    .hero-title { animation: fadeUp 0.6s 0.1s ease both; }
    .hero-sub { animation: fadeUp 0.6s 0.2s ease both; }
    .hero-btns { animation: fadeUp 0.6s 0.3s ease both; }
    .hero-stats { animation: fadeUp 0.6s 0.4s ease both; }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .hero { grid-template-columns: 1fr; }
      .hero-right { min-height: 400px; }
      .services-grid { grid-template-columns: 1fr; }
      .antonio-section { grid-template-columns: 1fr; gap: 3rem; }
      .target-grid { grid-template-columns: 1fr 1fr; }
      .zona-section { grid-template-columns: 1fr; gap: 2rem; }
      .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
      nav .nav-links { display: none; }
    }



.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 30px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.08);
}
.whatsapp-float i { font-size: 28px; color: white; }

.call-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a3a2a;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  z-index: 998;
}
.call-mobile i { margin-right: 8px; }
@media (max-width: 767px) {
  .call-mobile { display: block; }
  body { padding-bottom: 60px; }
}
