:root {
  --color-red: #c8102e;
  --color-red-dark: #7a0c1e;
  --color-red-light: #e63950;
  --color-red-text: #a00e24;
  --color-dark: #111827;
  --color-text-light: #d1d5db;
  --color-text-muted: #6b7280;
  --color-text-muted-2: #9ca3af;
  --color-bg-alt: #f3f4f6;
  --color-bg-alt-2: #f9fafb;
  --color-border: #e5e7eb;
  --color-warn-bg: #fffbeb;
  --color-warn-border: #f59e0b;
  --color-warn-text: #92400e;
  --color-whatsapp: #25d366;
  --radius: 10px;
  --radius-sm: 8px;
  --max-width: 1180px;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-red);
  text-decoration: none;
}

a:hover {
  color: var(--color-red-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0;
}

section {
  padding: clamp(44px, 8vw, 70px) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 10px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-header h2 {
  font-weight: 600;
  font-size: clamp(22px, 4.5vw, 30px);
  color: var(--color-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--color-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-red-dark);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.btn-outline-dark:hover {
  background: var(--color-dark);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-dark);
}

.btn-accent {
  background: var(--color-red-light);
  color: var(--color-red-dark);
}

.btn-sm {
  padding: 14px 28px;
  font-size: 14px;
}

/* Top contact bar */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--color-dark);
  color: var(--color-text-light);
  font-size: 12.5px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item img {
  border-radius: 2px;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 31px;
  z-index: 30;
  background: var(--color-red);
  border-bottom: 1px solid var(--color-red-dark);
}

.site-nav .container {
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.site-nav .logo img {
  width: clamp(175px, 23vw, 230px);
  height: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 14px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.9;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  border-color: #fff;
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.lang-switch a {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  opacity: 0.85;
}

.lang-switch a.active {
  opacity: 1;
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(60px, 12vw, 110px) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(17, 24, 39, 0.95) 35%,
    rgba(17, 24, 39, 0.55) 65%,
    rgba(122, 12, 30, 0.35) 100%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--color-red-light);
  margin-top: -40px;
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  color: #fff;
  margin: 4px 0 18px;
}

.hero p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-light);
  max-width: 460px;
  margin: 0 0 30px;
}

.hero-stats {
  background: rgba(31, 41, 55, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-stat b {
  font-family: var(--font-heading);
  color: var(--color-red-light);
  font-size: 19px;
  display: block;
}

.hero-stat small {
  color: var(--color-text-light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Brands */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.brand-card img {
  width: 100%;
  height: 56px;
  object-fit: contain;
}

.brand-card span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #374151;
}

/* Value proposition cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-red);
  border-radius: var(--radius);
  padding: 30px;
}

.value-card.accent {
  border-top-color: var(--color-red-light);
}

.value-card.accent .eyebrow {
  color: var(--color-red-text);
}

.value-card h3 {
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
  margin: 0 0 12px;
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 0 0 22px;
}

/* Process */
.proceso-foto {
  width: 100%;
  height: clamp(200px, 32vw, 340px);
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}

.pasos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.paso-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-red-light);
  opacity: 0.9;
}

.pasos-grid h4 {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-dark);
  margin: 10px 0 8px;
}

.pasos-grid p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Ejemplos */
.ejemplos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 14px;
}

.ejemplos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.ejemplo-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ejemplo-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.ejemplo-body {
  padding: 16px;
}

.ejemplo-tag {
  font-size: 11px;
  color: var(--color-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ejemplo-body h4 {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-dark);
  margin: 8px 0 4px;
}

.ejemplo-price {
  font-family: var(--font-heading);
  color: var(--color-red-text);
  font-size: 15px;
  margin-bottom: 10px;
}

.ejemplo-body a {
  font-size: 13px;
  text-decoration: underline;
  color: var(--color-dark);
}

/* Banners */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 260px;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  pointer-events: none;
}

.banner-dark .banner-content {
  background: linear-gradient(0deg, rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.15));
}

.banner-blue .banner-content {
  background: linear-gradient(0deg, rgba(11, 61, 145, 0.9), rgba(11, 61, 145, 0.2));
}

.banner-content h3 {
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  margin: 0 0 14px;
}

.banner-content .btn {
  pointer-events: auto;
  align-self: flex-start;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.pricing-card h3 {
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
  margin: 0 0 14px;
}

.pricing-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 0 0 10px;
}

.notice-pending {
  border-left: 3px solid var(--color-warn-border);
  padding: 10px 14px;
  background: var(--color-warn-bg);
  font-size: 13px;
  color: var(--color-warn-text);
  margin-top: 14px;
  border-radius: 0 6px 6px 0;
}

/* Contact form */
.form-section {
  background: linear-gradient(120deg, var(--color-red-dark), var(--color-dark) 85%);
}

.form-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  align-items: center;
}

.form-section h2 {
  color: #fff;
}

.form-section .eyebrow {
  color: var(--color-red-light);
}

.form-section .intro p {
  color: #f2c9ce;
  margin: 0;
}

.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 26px;
  display: grid;
  gap: 14px;
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.contact-form input,
.contact-form select {
  background: var(--color-bg-alt-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-dark);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: 2px solid var(--color-red);
  outline-offset: 1px;
}

.contact-form button {
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  justify-self: start;
}

.contact-form button:hover {
  background: var(--color-red-dark);
}

.form-success {
  display: none;
  background: #e6f4ea;
  border: 1px solid #34a853;
  color: #1e7e34;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* Testimonios */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonio-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-warn-border);
  padding: 24px;
}

.testimonio-card p {
  color: var(--color-warn-text);
  font-style: italic;
  margin: 0 0 16px;
  font-size: 14px;
}

.testimonio-card .name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-dark);
}

.testimonio-card .city {
  display: block;
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 12px;
}

/* FAQ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--color-red);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  color: var(--color-text-muted);
  margin-top: 12px;
  font-size: 14.5px;
}

/* Direct contact strip */
.contact-strip {
  background: var(--color-red);
  padding: 28px 0;
}

.contact-strip .container {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.contact-strip h3 {
  font-weight: 600;
  font-size: 19px;
  color: #fff;
}

.contact-strip .phone {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  padding: clamp(40px, 8vw, 60px) 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-grid img {
  width: 220px;
  height: 54px;
  object-fit: contain;
}

.footer-grid p {
  color: var(--color-text-muted-2);
  font-size: 14px;
  margin-top: 14px;
}

.footer-grid h4 {
  font-size: 14px;
  color: var(--color-red-light);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-grid ul {
  list-style: none;
  font-size: 14px;
  color: var(--color-text-muted-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  width: clamp(60px, 14vw, 82px);
  height: clamp(60px, 14vw, 82px);
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg {
  width: 60%;
  height: 60%;
  fill: #fff;
}

.placeholder-banner {
  background: #fff3cd;
  color: #664d03;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 800px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .main-nav.open {
    display: flex;
  }

  .site-nav .container {
    justify-content: space-between;
  }

  .contact-form button {
    justify-self: stretch;
    text-align: center;
  }
}
