/* ===========================
   RIDE LATINO — style.css
   Modern & Elegant Design
   =========================== */

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

:root {
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-pale: #EFF6FF;
  --blue-dark: #1E40AF;
  --navy: #0F172A;
  --slate: #1E293B;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-700: #334155;
  --green: #25D366;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--slate);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.narrow   { max-width: 640px; }
.text-center { text-align: center; }

/* ===== NAV ===== */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav {
  max-width: 1320px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy);
}
.logo-img {
  width: 44px; height: 44px; border-radius: 10px;
  object-fit: cover; display: block;
}
.logo-img.sm { width: 38px; height: 38px; }
.logo-name { font-size: 17px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.logo-sub  { font-size: 11px; color: var(--gray-500); font-weight: 500; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--gray-700); text-decoration: none; font-size: 14px;
  font-weight: 500; padding: 6px 12px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-pale); }
.nav-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff; padding: 8px 18px;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: 0.2s;
}

/* ===== HERO — blue gradient background ===== */
.hero-section {
  background: linear-gradient(160deg, var(--blue-pale) 0%, #DBEAFE 40%, #fff 100%);
  padding-bottom: 20px;
}
.hero {
  max-width: 1320px; margin: 0 auto; padding: 60px 40px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.hero-text { }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.12); color: var(--blue);
  padding: 6px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
  border: 1px solid rgba(37,99,235,0.2);
}
.badge-dot {
  width: 8px; height: 8px; background: var(--blue); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-size: 3.2rem; font-weight: 900; line-height: 1.08;
  color: var(--navy); margin-bottom: 18px; letter-spacing: -0.02em;
}
.grad-text {
  background: linear-gradient(135deg, var(--blue), #7C3AED);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px; color: var(--gray-500); line-height: 1.7;
  margin-bottom: 28px; max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #1ebe5a; transform: translateY(-1px); }
.btn-outline {
  background: var(--white); color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--slate); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-full { width: 100%; justify-content: center; }

.hero-offices { display: flex; gap: 16px; flex-wrap: wrap; }
.office-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray-500);
  background: var(--white); padding: 8px 14px;
  border-radius: 10px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.office-chip strong { color: var(--navy); }

.hero-img { position: relative; }
.hero-img img {
  width: 100%; height: 100%; border-radius: 24px;
  object-fit: cover; box-shadow: var(--shadow-lg);
  min-height: 380px; background: var(--gray-100);
}
.hero-img-badge {
  position: absolute; bottom: -16px; left: 24px;
  background: var(--white); border-radius: 14px;
  padding: 12px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--gray-700);
}
.badge-24 {
  background: var(--blue); color: #fff;
  padding: 4px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 800;
}

/* ===== TRUST BAR — blue background ===== */
.trust-bar {
  background: var(--navy);
  padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: var(--blue-light); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 14px; color: #fff; }
.trust-item span { font-size: 12px; color: var(--gray-400); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section.bg-light { background: var(--gray-50); }
.section.bg-blue {
  background: linear-gradient(160deg, #1E3A8A 0%, var(--blue-dark) 50%, var(--blue) 100%);
}
.section.bg-blue-soft {
  background: linear-gradient(160deg, var(--blue-pale) 0%, #DBEAFE 100%);
}

.section-label {
  font-size: 13px; font-weight: 700; color: var(--blue);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.section-label.light { color: var(--blue-light); }
.section-heading {
  font-size: 2.2rem; font-weight: 800; color: var(--navy);
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.section-heading.light { color: #fff; }
.section-desc {
  font-size: 16px; color: var(--gray-500); max-width: 560px;
  margin-bottom: 40px;
}
.section-desc.light { color: rgba(255,255,255,0.7); }
.section-desc.centered { margin-left: auto; margin-right: auto; }

/* ===== SERVICES GRID (image cards) ===== */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.svc-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-img { height: 200px; overflow: hidden; background: var(--gray-100); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 20px 22px; }
.svc-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.svc-body p { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* ===== ZIG-ZAG ABOUT — on dark blue ===== */
.zigzag {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-top: 48px;
}
.zigzag.reverse .zigzag-img { order: 2; }
.zigzag.reverse .zigzag-text { order: 1; }
.zigzag-img img {
  width: 100%; border-radius: 20px; object-fit: cover;
  min-height: 300px; box-shadow: var(--shadow-lg);
  background: var(--gray-100);
}
.zigzag-text h3 {
  font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 14px;
}
.zigzag-text p { color: rgba(255,255,255,0.7); margin-bottom: 20px; font-size: 15px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 500;
}
.check-list li::before {
  content: ''; width: 24px; height: 24px; flex-shrink: 0;
  background: rgba(59,130,246,0.25); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}

/* ===== TIMELINE — blue soft bg ===== */
.timeline {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-top: 48px;
}
.tl-step { text-align: center; flex: 1; max-width: 220px; }
.tl-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #7C3AED);
  color: #fff; font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}
.tl-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.tl-step p { font-size: 14px; color: var(--gray-500); }
.tl-line {
  flex-shrink: 0; width: 60px; height: 2px;
  background: var(--blue-light); margin-top: 28px;
  opacity: 0.3;
}

/* ===== REVIEWS ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.review {
  background: var(--white); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); position: relative;
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--blue);
}
.review-quote {
  font-size: 4rem; line-height: 1; font-weight: 900;
  color: var(--blue-pale); position: absolute; top: 16px; left: 24px;
  font-family: Georgia, serif;
}
.review p {
  font-size: 14px; color: var(--gray-700); line-height: 1.7;
  margin-bottom: 20px; padding-top: 28px; font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #7C3AED);
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.review-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.review-loc { font-size: 12px; color: var(--gray-500); }
.review-stars { margin-left: auto; color: #F59E0B; font-size: 14px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue), #1D4ED8, #7C3AED);
  padding: 72px 40px;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 28px; }
.cta-phones { display: flex; justify-content: center; gap: 32px; margin-bottom: 28px; flex-wrap: wrap; }
.cta-phone {
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 16px;
}
.cta-phone strong { color: #fff; font-size: 18px; }
.cta-phone:hover { color: #fff; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ===== LOCATION ===== */
.loc-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: start;
}
.loc-info p { color: var(--gray-500); margin-bottom: 20px; font-size: 15px; }
.loc-info .btn { margin-bottom: 8px; }
.gps-status { font-size: 13px; color: var(--gray-500); margin-top: 8px; min-height: 20px; }
.gps-status.error { color: #DC2626; }
.gps-status.success { color: #16A34A; }
.location-result {
  background: var(--blue-pale); border-radius: 10px;
  padding: 12px 16px; margin: 12px 0;
}
.location-coords { font-size: 14px; font-weight: 600; }
.btn-wa-loc { margin-top: 8px; }
.map-box {
  width: 100%; height: 400px; border-radius: var(--radius);
  border: 1px solid var(--gray-200); overflow: hidden; background: var(--gray-100);
  box-shadow: var(--shadow);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px;
  align-items: start; margin-top: 36px;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.c-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue);
}
.c-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.c-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.c-phone {
  display: block; font-size: 1.4rem; font-weight: 800;
  color: var(--blue); text-decoration: none; margin-bottom: 8px;
}
.c-phone:hover { color: var(--navy); }
.c-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ===== FORMS ===== */
.form-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.form-card > p { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.frow { margin-bottom: 14px; }
.frow label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--gray-700); margin-bottom: 5px;
}
.frow input, .frow select, .frow textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--gray-200); border-radius: 10px;
  font-size: 14px; background: var(--gray-50);
  color: var(--slate); font-family: inherit; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.frow input:focus, .frow select:focus, .frow textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: var(--white);
}
.frow textarea { min-height: 90px; resize: vertical; }

.success-msg {
  display: none; background: var(--blue-pale); color: var(--blue);
  border-radius: 10px; padding: 12px; text-align: center;
  font-size: 13px; font-weight: 600; margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 48px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-sub { color: var(--gray-400); }
.footer-brand p { font-size: 13px; color: var(--gray-400); line-height: 1.6; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; color: var(--blue-light);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.6); font-size: 14px;
  text-decoration: none; padding: 4px 0;
}
.footer-col a:hover { color: #fff; }
.footer-note { color: var(--gray-400); font-size: 12px; margin-top: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 13px; color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-400); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 30px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-img { order: -1; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .zigzag, .zigzag.reverse { grid-template-columns: 1fr; gap: 24px; }
  .zigzag.reverse .zigzag-img { order: 0; }
  .zigzag.reverse .zigzag-text { order: 0; }
  .reviews { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .loc-wrap { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .timeline { flex-wrap: wrap; gap: 8px; }
  .tl-line { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 12px 24px 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 30px 20px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .timeline { flex-direction: column; align-items: center; }
  .tl-step { max-width: 100%; }
  .section-heading { font-size: 1.5rem; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-offices { flex-direction: column; }
}
