/*
Theme Name: ConceCars
Theme URI: https://concecars.cl
Author: ConceCars
Description: Tema personalizado para ConceCars - Compra y Venta de Autos Usados en Concepción
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: concecars
*/

    :root {
      --dark:     #0e1a35;
      --mid:      #1e2d4a;
      --steel:    #6b8aaa;
      --cyan:     #5bc0be;
      --cyan2:    #4aa8a6;
      --white:    #ffffff;
      --gray:     #dfe7f3;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Barlow', sans-serif;
      background: #0e1a35;
      color: var(--white);
      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 48px;
      height: 72px;
      background: rgba(11,19,43,0.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(91,192,190,0.08);
    }

    .nav-logo {
      display: flex; align-items: center; gap: 12px;
      text-decoration: none;
    }

    .nav-logo-icon {
      width: 38px; height: 38px;
    }

    .nav-brand {
      display: flex; flex-direction: column; line-height: 1;
    }

    .nav-brand-main {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      font-size: 22px;
      letter-spacing: 1px;
      color: var(--white);
      text-transform: lowercase;
    }

    .nav-brand-main span { color: var(--cyan); }

    .nav-brand-sub {
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 3px;
      color: var(--cyan2);
      text-transform: uppercase;
      margin-top: 2px;
    }

    .nav-links {
      display: flex; gap: 36px; list-style: none;
    }

    .nav-links a {
      color: var(--gray);
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      transition: color .2s;
    }

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

    .nav-cta {
      background: var(--cyan);
      color: #ffffff !important;
      padding: 9px 22px;
      border-radius: 4px;
      font-weight: 700 !important;
      transition: background .2s, transform .15s !important;
    }

    .nav-cta:hover { background: var(--cyan2) !important; transform: translateY(-1px); }

    /* ── HERO ── */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex; align-items: center;
      padding: 72px 48px 0;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute; inset: 0; z-index: 0;
      background:
        radial-gradient(ellipse 70% 60% at 70% 50%, rgba(58,80,107,0.45) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 15% 80%, rgba(91,192,190,0.06) 0%, transparent 55%),
        linear-gradient(160deg, var(--dark) 0%, #0d1930 100%);
    }

    .hero-grid {
      position: absolute; inset: 0; z-index: 0;
      background-image:
        linear-gradient(rgba(91,192,190,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91,192,190,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
    }

    .hero-content {
      position: relative; z-index: 2;
      max-width: 620px;
      animation: fadeUp .8s ease both;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(91,192,190,0.1);
      border: 1px solid rgba(91,192,190,0.3);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      color: var(--cyan);
      text-transform: uppercase;
      margin-bottom: 28px;
    }

    .hero-badge::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--cyan);
      animation: pulse 1.8s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    .hero-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(52px, 7vw, 88px);
      font-weight: 900;
      line-height: 0.95;
      letter-spacing: -1px;
      margin-bottom: 24px;
      text-transform: uppercase;
    }

    .hero-title .line-accent { color: var(--cyan); }

    .hero-desc {
      font-size: 17px;
      line-height: 1.7;
      color: var(--gray);
      max-width: 480px;
      margin-bottom: 40px;
      font-weight: 300;
    }

    .hero-actions {
      display: flex; gap: 16px; flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--cyan);
      color: #ffffff;
      padding: 14px 32px;
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-decoration: none;
      text-transform: uppercase;
      transition: background .2s, transform .15s, box-shadow .2s;
      box-shadow: 0 4px 24px rgba(91,192,190,0.25);
    }

    .btn-primary:hover {
      background: var(--cyan2);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(91,192,190,0.35);
    }

    .btn-outline {
      border: 1.5px solid rgba(91,192,190,0.4);
      color: var(--cyan);
      padding: 14px 32px;
      border-radius: 5px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-decoration: none;
      text-transform: uppercase;
      transition: border-color .2s, background .2s, transform .15s;
    }

    .btn-outline:hover {
      border-color: var(--cyan);
      background: rgba(91,192,190,0.08);
      transform: translateY(-2px);
    }

    .hero-car-wrap {
      position: absolute;
      right: -40px; bottom: 0;
      width: 58vw; max-width: 900px;
      z-index: 1;
      animation: fadeRight .9s .2s ease both;
    }

    @keyframes fadeRight {
      from { opacity: 0; transform: translateX(40px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    .hero-car-wrap img.car-photo {
      width: 100%;
      filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7));
    }



    .stat { display: flex; flex-direction: column; }

    .stat-num {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 36px;
      font-weight: 900;
      color: #ffffff;
      line-height: 1;
    }

    .stat-label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--steel);
      margin-top: 4px;
    }

    /* ── SECTION HEADER ── */
    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-tag {
      display: inline-block;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: 14px;
    }

    .section-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(34px, 4vw, 52px);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: -0.5px;
      line-height: 1.05;
    }

    .section-title span { color: var(--cyan); }

    /* ── INVENTORY ── */
    #autos {
      padding: 80px 48px;
      background: #0e1a35;
    }
    #autos .section-tag { color: #5bc0be; }
    #autos .section-title { color: #ffffff; }
    #autos .section-title span { color: #5bc0be; }

    .filters {
      display: flex; gap: 10px; flex-wrap: wrap;
      justify-content: center; margin-bottom: 48px;
    }
    .filter-btn {
      padding: 8px 22px; border-radius: 30px;
      font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
      cursor: pointer; border: 1.5px solid rgba(91,192,190,0.3);
      background: transparent; color: #a0bdd6; transition: all .2s;
    }
    .filter-btn:hover, .filter-btn.active {
      background: #5bc0be; color: #fff; border-color: #5bc0be;
    }

    .cars-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px; max-width: 1200px; margin: 0 auto;
    }

    .car-card {
      background: #1e2d4a;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(91,192,190,0.1);
      transition: transform .3s, box-shadow .3s, border-color .3s;
      cursor: pointer;
    }
    .car-card:nth-child(3n+1) { background: #1a2a42; }
    .car-card:nth-child(3n+2) { background: #162238; }
    .car-card:nth-child(3n+3) { background: #1e3050; }
    .car-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 48px rgba(0,0,0,0.4);
      border-color: rgba(91,192,190,0.35);
    }

    .car-image {
      position: relative;
      height: 200px;
      background: linear-gradient(135deg, #0e1a2e, #1a2d48);
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    /* Subtle gradient overlay at bottom of image */
    .car-image::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
      background: linear-gradient(to top, rgba(26,42,66,0.8), transparent);
      pointer-events: none;
    }
    .car-image svg { width: 88%; transition: transform .4s; }
    .car-card:hover .car-image svg { transform: scale(1.04); }

    .car-badge-used {
      position: absolute; top: 14px; left: 14px; z-index: 2;
      background: rgba(91,192,190,0.15);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(91,192,190,0.35);
      color: #5bc0be; font-size: 10px; font-weight: 700;
      letter-spacing: 1.5px; text-transform: uppercase;
      padding: 5px 12px; border-radius: 20px;
    }
    .car-badge-new {
      position: absolute; top: 14px; left: 14px; z-index: 2;
      background: rgba(91,192,190,0.2);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(91,192,190,0.5);
      color: #fff; font-size: 10px; font-weight: 700;
      letter-spacing: 1.5px; text-transform: uppercase;
      padding: 5px 12px; border-radius: 20px;
    }

    .car-info { padding: 20px 22px 22px; }

    .car-year {
      font-size: 11px; font-weight: 600; letter-spacing: 2px;
      color: #5bc0be; text-transform: uppercase; margin-bottom: 5px;
    }
    .car-name {
      font-family: 'Barlow', sans-serif;
      font-size: 17px; font-weight: 600; text-transform: none;
      line-height: 1.2; margin-bottom: 4px; color: #ffffff;
      letter-spacing: 0px;
    }
    .car-trim { font-size: 12px; color: #6b8aaa; font-weight: 400; margin-bottom: 16px; }

    .car-specs {
      display: flex; gap: 16px; margin-bottom: 18px;
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .spec {
      display: flex; align-items: center; gap: 5px;
      font-size: 11px; color: #a0bdd6; font-weight: 500;
    }
    .spec svg { color: #5bc0be; flex-shrink: 0; }

    .car-footer { display: flex; align-items: center; justify-content: space-between; }
    .car-price { display: flex; flex-direction: column; }
    .price-label { font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: #6b8aaa; margin-bottom: 2px; }
    .price-value {
      font-family: 'Barlow', sans-serif;
      font-size: 20px; font-weight: 700; color: #ffffff; line-height: 1;
    }
    .price-currency { font-size: 14px; font-weight: 600; margin-right: 2px; }

    .btn-ver {
      background: rgba(91,192,190,0.12);
      border: 1px solid rgba(91,192,190,0.3);
      color: #5bc0be; padding: 10px 18px; border-radius: 8px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
      text-transform: uppercase; cursor: pointer; transition: all .2s;
    }
    .btn-ver:hover { background: #5bc0be; color: #fff; border-color: #5bc0be; }

    /* ── WHY US ── */
    #nosotros {
      padding: 100px 48px;
      background: #1e2d4a;
      position: relative;
      overflow: hidden;
    }

    #nosotros::before {
      content: '';
      position: absolute;
      top: -200px; right: -200px;
      width: 600px; height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(91,192,190,0.05), transparent 70%);
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 28px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .why-card {
      background: #0e1a35;
      border-radius: 10px;
      padding: 32px 28px;
      border: 1px solid rgba(91,192,190,0.07);
      transition: border-color .3s, transform .3s;
    }

    .why-card:hover {
      border-color: rgba(91,192,190,0.25);
      transform: translateY(-4px);
    }

    .why-icon {
      width: 48px; height: 48px;
      border-radius: 10px;
      background: rgba(91,192,190,0.1);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }

    .why-icon svg { color: var(--cyan); }

    .why-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 22px;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 10px;
      color: #ffffff;
    }

    .why-text {
      font-size: 14px;
      line-height: 1.7;
      color: #c0d4e8;
      font-weight: 400;
    }

    /* ── FINANCING ── */
    #financiamiento {
      padding: 100px 48px;
      background: #0e1a35;
    }

    .fin-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }

    .fin-text .section-header { text-align: left; margin-bottom: 28px; }

    .fin-desc {
      font-size: 16px;
      line-height: 1.8;
      color: var(--gray);
      margin-bottom: 36px;
      font-weight: 300;
    }

    .fin-items {
      display: flex; flex-direction: column; gap: 16px;
      margin-bottom: 36px;
    }

    .fin-item {
      display: flex; align-items: flex-start; gap: 14px;
    }

    .fin-check {
      width: 22px; height: 22px;
      border-radius: 50%;
      background: rgba(91,192,190,0.15);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .fin-check svg { color: var(--cyan); }

    .fin-item-text { font-size: 15px; color: var(--gray); font-weight: 400; }
    .fin-item-text strong { color: var(--white); font-weight: 600; }

    .fin-calc {
      background: #1e2d4a;
      border-radius: 16px;
      padding: 36px 32px;
      border: 1px solid rgba(91,192,190,0.1);
    }

    .calc-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 22px;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 24px;
      color: var(--cyan);
    }

    .calc-field {
      margin-bottom: 20px;
    }

    .calc-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 8px;
      display: block;
    }

    .calc-input {
      width: 100%;
      background: #0e1a35;
      border: 1.5px solid rgba(91,192,190,0.15);
      border-radius: 8px;
      padding: 12px 16px;
      color: var(--white);
      font-family: 'Barlow', sans-serif;
      font-size: 15px;
      outline: none;
      transition: border-color .2s;
    }

    .calc-input:focus { border-color: var(--cyan); }

    .calc-input option { background: #0e1a35; }

    .calc-result {
      background: #0e1a35;
      border-radius: 10px;
      padding: 20px;
      display: flex; align-items: center; justify-content: space-between;
      margin: 24px 0;
      border: 1px solid rgba(91,192,190,0.12);
    }

    .result-label {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--steel);
    }

    .result-value {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 30px;
      font-weight: 900;
      color: var(--cyan);
    }

    /* ── CONTACT ── */
    #contacto {
      padding: 100px 48px;
      background: #1e2d4a;
      position: relative;
      overflow: hidden;
    }

    .contact-inner {
      max-width: 900px;
      margin: 0 auto;
    }

    .contact-form {
      background: #0e1a35;
      border-radius: 16px;
      padding: 48px;
      border: 1px solid rgba(91,192,190,0.1);
      margin-top: 48px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }

    .form-group {
      display: flex; flex-direction: column;
    }

    .form-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 8px;
    }

    .form-input, .form-select, .form-textarea {
      background: #1e2d4a;
      border: 1.5px solid rgba(91,192,190,0.12);
      border-radius: 8px;
      padding: 13px 16px;
      color: var(--white);
      font-family: 'Barlow', sans-serif;
      font-size: 15px;
      outline: none;
      transition: border-color .2s;
      width: 100%;
    }

    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--cyan);
    }

    .form-select option { background: #0e1a35; }

    .form-textarea {
      resize: vertical;
      min-height: 110px;
    }

    .form-submit {
      width: 100%;
      background: var(--cyan);
      color: #ffffff;
      border: none;
      padding: 16px;
      border-radius: 8px;
      font-family: 'Barlow', sans-serif;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      cursor: pointer;
      transition: background .2s, transform .15s;
      margin-top: 8px;
      box-shadow: 0 4px 24px rgba(91,192,190,0.2);
    }

    .form-submit:hover {
      background: var(--cyan2);
      transform: translateY(-2px);
    }

    .contact-info {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 40px;
    }

    .info-card {
      background: #0e1a35;
      border-radius: 10px;
      padding: 24px 20px;
      border: 1px solid rgba(91,192,190,0.08);
      display: flex; align-items: center; gap: 16px;
      transition: border-color .2s;
    }

    .info-card:hover { border-color: rgba(91,192,190,0.25); }

    .info-icon {
      width: 42px; height: 42px;
      border-radius: 8px;
      background: rgba(91,192,190,0.1);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      color: var(--cyan);
    }

    .info-label {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 4px;
    }

    .info-value {
      font-size: 15px;
      font-weight: 600;
      color: var(--white);
    }

    /* ── FOOTER ── */
    footer {
      background: #0e1a35;
      border-top: 1px solid rgba(91,192,190,0.08);
      padding: 48px;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 24px;
    }

    .footer-brand {
      display: flex; align-items: center; gap: 12px;
    }

    .footer-copy {
      font-size: 13px;
      color: var(--steel);
    }

    .footer-links {
      display: flex; gap: 28px;
    }

    .footer-links a {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--steel);
      text-decoration: none;
      transition: color .2s;
    }

    .footer-links a:hover { color: var(--cyan); }

    /* ── WHATSAPP FLOAT ── */
    .whatsapp-float {
      position: fixed;
      bottom: 32px; right: 32px;
      width: 56px; height: 56px;
      border-radius: 50%;
      background: #25D366;
      display: flex; align-items: center; justify-content: center;
      z-index: 200;
      box-shadow: 0 6px 24px rgba(37,211,102,0.4);
      text-decoration: none;
      transition: transform .2s, box-shadow .2s;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
      box-shadow: 0 10px 32px rgba(37,211,102,0.55);
    }

    @media (max-width: 900px) {
      nav { padding: 0 24px; }
      .nav-links { display: none; }
      #hero { padding: 80px 24px 0; }
      .hero-car-wrap { display: none; }
      .hero-stats { left: 24px; bottom: 32px; gap: 28px; }
      .stat-num { font-size: 28px; }
      #autos, #nosotros, #financiamiento, #contacto { padding: 72px 24px; }
      .fin-inner { grid-template-columns: 1fr; gap: 40px; }
      .form-row { grid-template-columns: 1fr; }
      .contact-info { grid-template-columns: 1fr; }
      footer { padding: 32px 24px; flex-direction: column; text-align: center; }
    }
  