/* JR Services (jrservices.com.ar) - Estilos Principales */
:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --accent-orange: #ff6900;
  --accent-orange-hover: #e05d00;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --dark-bg: #0f172a;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: #f8fafc;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tipografía y Utilitarios */
a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.badge-orange {
  background-color: #fff7ed;
  color: var(--accent-orange);
  border: 1px solid #fed7aa;
}

.badge-green {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-align: center;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

/* Barra Superior de Anuncios */
.top-announcement {
  background: linear-gradient(90deg, #0369a1 0%, #0284c7 100%);
  color: white;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  font-weight: 500;
}

.top-announcement .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Header & Navbar */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.05);
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark-bg);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-title span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 600;
  color: #475569;
  padding: 0.55rem 0.9rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-cta .btn-whatsapp {
  padding: 0.65rem 1.25rem;
  font-size: 0.925rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at 80% 20%, #e0f2fe 0%, #f8fafc 50%, #ffffff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark-bg);
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-orange {
  color: var(--accent-orange);
  -webkit-text-fill-color: var(--accent-orange);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-bg);
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Mascot Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  background: white;
  border-radius: 2rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.hero-mascot-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
  margin: 0 auto;
  display: block;
}

.hero-badge-overlay {
  margin-top: 1.25rem;
  background: #f8fafc;
  border-radius: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--border-color);
}

.hero-badge-overlay h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.hero-badge-overlay p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.floating-pill {
  position: absolute;
  background: white;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e2e8f0;
  animation: float 4s ease-in-out infinite;
}

.pill-top-left {
  top: 10px;
  left: -20px;
  color: #0284c7;
}

.pill-bottom-right {
  bottom: 25px;
  right: -20px;
  color: #ea580c;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Sections Styling */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-bg);
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Grid de Servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tag {
  font-size: 0.75rem;
  background: #f8fafc;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}

/* Repuestos y Consumibles Section */
.parts-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 2rem;
  padding: 3.5rem 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.parts-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

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

.part-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.part-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: var(--accent-orange);
}

.part-item h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.part-item p {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Modelos Compatibles */
.models-section {
  padding: 3.5rem 0;
  background: white;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.models-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.model-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s;
  cursor: pointer;
}

.model-pill:hover, .model-pill.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}

.model-pill.pill-featured {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
  font-weight: 700;
}

/* Formulario de Consulta interactivo */
.quote-section {
  background: radial-gradient(circle at 10% 20%, #e0f2fe 0%, #f8fafc 100%);
  padding: 5rem 0;
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.quote-form-col h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 0.5rem;
}

.quote-form-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 0.45rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.query-type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.query-type-btn {
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  padding: 0.95rem 0.75rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  transition: all 0.2s ease;
}

.query-type-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.query-btn-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 1.4rem;
  height: 32px;
  transition: transform 0.2s ease;
}

.query-type-btn:hover .query-btn-icons {
  transform: scale(1.1);
}

.other-model-container {
  display: none;
  margin-top: 0.75rem;
  animation: fadeIn 0.3s ease;
}

.radio-group-horizontal {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.4rem;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

/* Columna Lateral de Información & Servicio Programado */
.quote-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.program-service-card {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.program-service-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.program-service-card p {
  font-size: 0.9rem;
  color: #e0f2fe;
  line-height: 1.5;
}

.program-service-card .badge-highlight {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}


.info-bullet-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.info-bullet-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
}

.info-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
}

.info-bullet-list li strong {
  color: var(--dark-bg);
}

/* Horarios y Cobertura AMBA */
.logistics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.logistics-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.logistics-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.85rem 0;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--dark-bg);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--primary);
}

.amba-zones-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.zone-badge {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.faq-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.faq-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #64748b;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--whatsapp);
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.floating-wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .navbar {
    height: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .quote-wrapper {
    grid-template-columns: 1fr;
  }
  
  .logistics-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .top-announcement .container {
    justify-content: center;
    text-align: center;
  }
  
  .top-announcement-item:last-child {
    display: none;
  }
  
  .query-type-selector {
    grid-template-columns: 1fr;
  }
  
  .floating-pill {
    display: none;
  }
}
