/* ISATECH - ASP.NET WebForms Styles
   Derived from the original Tailwind v4 design.
   Semantic classes for easy maintenance.
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --radius: 0.85rem;

  --background: #f8fbff;
  --foreground: #10213f;
  --surface: #eef7ff;
  --surface-elevated: #ffffff;

  --navy: #0b2148;
  --cyan-accent: #00d9ff;

  --card: #ffffff;
  --card-foreground: #10213f;

  --primary: #0e63ff;
  --primary-foreground: #ffffff;
  --primary-glow: #00d9ff;

  --secondary: #e9f3ff;
  --secondary-foreground: #0b2148;
  --muted: #eaf2fb;
  --muted-foreground: #58708f;
  --accent: #dff7ff;
  --accent-foreground: #0b2148;

  --destructive: #dc2626;
  --destructive-foreground: #ffffff;

  --border: #d6e4f2;
  --input: #d6e4f2;
  --ring: #0e63ff;

  --whatsapp: #20c660;
  --whatsapp-dark: #159947;
  --whatsapp-light: #78efa3;
  --resto: #f97316;
  --resto-strong: #e11d48;
  --service: #10b981;
  --taller: #8b5cf6;

  --shadow-elegant: 0 20px 50px -18px rgba(14, 99, 255, 0.28);
  --shadow-glow: 0 0 60px -10px rgba(0, 217, 255, 0.45);
  --shadow-card: 0 1px 3px 0 rgba(8, 23, 51, 0.06), 0 8px 24px -12px rgba(8, 23, 51, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#productos.section {
  padding-top: 3.5rem;
}

.section-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(214, 228, 242, 0.6);
  background-color: rgba(248, 251, 255, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.brand-logo {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #fff;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.brand-logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

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

.brand-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-tagline {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--foreground);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--whatsapp);
  transition: color 0.2s;
}

.header-whatsapp:hover {
  color: var(--whatsapp-dark);
}

.header-whatsapp svg {
  width: 1rem;
  height: 1rem;
}

.menu-toggle {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  color: var(--foreground);
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(214, 228, 242, 0.6);
  background-color: var(--background);
  padding: 1rem 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.mobile-menu a:hover {
  color: var(--foreground);
}

.mobile-products-label {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .main-nav,
  .header-actions {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

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

.btn-primary:hover {
  background-color: rgba(11, 33, 72, 0.9);
}

.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: rgba(14, 99, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(14, 99, 255, 0.05);
}

.btn-secondary {
  background-color: #fff;
  color: var(--foreground);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

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

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
}

.btn-whatsapp-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-whatsapp-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eaf4ff 60%, #dff0ff 100%);
}

.hero-blob-left,
.hero-blob-right {
  position: absolute;
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(90px);
}

.hero-blob-left {
  left: -8rem;
  top: -4rem;
  height: 26rem;
  width: 26rem;
  background-color: rgba(59, 130, 246, 0.28);
}

.hero-blob-right {
  right: -10rem;
  top: 30%;
  height: 32rem;
  width: 32rem;
  background-color: rgba(0, 217, 255, 0.32);
}

.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -6rem;
  height: 16rem;
  width: 16rem;
  border-radius: 9999px;
  background-color: rgba(96, 165, 250, 0.22);
  filter: blur(80px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-top: 3.25rem;
  padding-bottom: 2.5rem;
  align-items: center;
}

.hero-inner > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .hero-inner > div:first-child {
    gap: 1.75rem;
  }
  .hero-right {
    margin-top: 1.5rem;
  }
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(14, 99, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(4px);
}

.badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.text-gradient {
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--cyan-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-actions {
    justify-content: flex-end;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-trust {
    justify-content: flex-start;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: -1.5rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan-accent) 100%);
  opacity: 0.25;
  filter: blur(24px);
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: var(--surface-elevated);
  box-shadow: var(--shadow-elegant);
}

.hero-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  pointer-events: none;
}

.hero-image-badge-texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.hero-image-badge-label,
.hero-image-badge-title {
  display: inline-block;
  width: auto;
  background-color: #16a34a;
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-image-badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-image-badge-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .hero-image-badge-label { font-size: 0.9375rem; letter-spacing: 0.14em; }
  .hero-image-badge-title { font-size: 1.5rem; }
}

.hero-image-badge-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  background-color: #ffffff;
  padding: 0.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hero-image-badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9999px;
}

/* Feature cards section */
.features-section {
  border-top: 1px solid rgba(214, 228, 242, 0.6);
  border-bottom: 1px solid rgba(214, 228, 242, 0.6);
  background-color: var(--surface);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

.feature-card-accent {
  position: absolute;
  inset: 0;
  top: 0;
  height: 0.25rem;
  background-image: linear-gradient(90deg, var(--primary), var(--cyan-accent));
}

.feature-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-image: linear-gradient(135deg, var(--primary), var(--cyan-accent));
  box-shadow: var(--shadow-elegant);
  color: #fff;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-title {
  margin-top: 1rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.feature-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Section headings */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.section-title {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

/* Product grid */
.products-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .products-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.products-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 99, 255, 0.4);
  box-shadow: var(--shadow-elegant);
}

.product-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-elegant);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.product-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.product-card-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.product-card-tagline {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.product-card-desc {
  margin-top: 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.product-card-link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.product-card-link svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.375rem;
  transition: transform 0.2s;
}

.product-card:hover .product-card-link svg {
  transform: translateX(4px);
}

/* About section */
.about-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(214, 228, 242, 0.6);
  background: linear-gradient(135deg, var(--navy) 0%, #123a79 100%);
  color: rgba(255, 255, 255, 0.9);
}

.about-section .section-label {
  color: var(--cyan-accent);
}

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

.about-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .about-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-text {
  color: rgba(255, 255, 255, 0.85);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.stat-number {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--cyan-accent);
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.about-form-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #fff;
  color: var(--foreground);
  padding: 2rem;
  box-shadow: var(--shadow-elegant);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(214, 228, 242, 0.6);
  background: linear-gradient(135deg, var(--navy) 0%, #123a79 100%);
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand-text {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  color: var(--cyan-accent);
  flex-shrink: 0;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
  }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: inline-flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--whatsapp);
  color: #fff;
  box-shadow: var(--shadow-elegant);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.whatsapp-float svg {
  width: 1.5rem;
  height: 1.5rem;
}

.whatsapp-pulse {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  display: flex;
  height: 0.75rem;
  width: 0.75rem;
}

.whatsapp-pulse::before {
  content: '';
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: var(--whatsapp-light);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.whatsapp-pulse::after {
  content: '';
  position: relative;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: var(--whatsapp-light);
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Forms */
.form-group {
  display: grid;
  gap: 0.5rem;
}

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background-color: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--foreground);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(14, 99, 255, 0.15);
}

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

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.verification-check {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background-color: #f7fbfd;
  font-size: 0.875rem;
  font-weight: 600;
}

.verification-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 0.625rem 0 0;
  accent-color: var(--primary);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.alert {
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.875rem;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Product detail page */
.product-detail-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 20% 0%, rgba(14, 99, 255, 0.22), transparent 65%),
              radial-gradient(ellipse 70% 60% at 90% 20%, rgba(0, 217, 255, 0.26), transparent 60%),
              linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--primary);
}

.back-link:hover {
  color: rgba(14, 99, 255, 0.8);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
}

.product-detail-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 3.5rem;
  }
}

/* Product detail: buttons under the carousel aligned right on desktop */
.product-detail-grid .hero-actions {
  justify-content: center;
}

@media (min-width: 1024px) {
  .product-detail-grid .hero-actions {
    justify-content: flex-end;
  }
}

.product-detail-icon {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-elegant);
  color: #fff;
}

.product-detail-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.product-detail-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: nowrap;
}

.product-detail-heading > .product-detail-icon {
  flex: 0 0 auto;
}

.product-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* En pantallas chicas los nombres largos (ISATECH TiendaWeb / Service)
   se muestran a la derecha del icono en dos renglones. */
@media (max-width: 767px) {
  .product-detail-title .text-gradient {
    display: inline;
  }
  .product-detail-title {
    font-size: 1.45rem;
    white-space: normal;
  }
}

@media (min-width: 768px) {
  .product-detail-icon {
    height: 4rem;
    width: 4rem;
    border-radius: 1rem;
  }

  .product-detail-icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .product-detail-heading {
    gap: 1rem;
  }

  .product-detail-title {
    font-size: 3rem;
  }
}

.product-detail-tagline {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.product-detail-desc {
  margin-top: 0.75rem;
  max-width: 36rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.product-detail-long {
  margin-top: 1.25rem;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-detail-long p {
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}

.long-description {
  border-top: 1px solid rgba(214, 228, 242, 0.6);
  border-bottom: 1px solid rgba(214, 228, 242, 0.6);
  background-color: var(--surface);
}

.long-description-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.long-description p {
  margin-bottom: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.long-description p:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-header-bar {
  height: 2rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--primary), var(--cyan-accent));
}

.section-header-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.detail-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.detail-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.detail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 99, 255, 0.4);
  box-shadow: var(--shadow-elegant);
}

.detail-card-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.detail-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.detail-list svg {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.detail-list-bullet {
  margin-top: 0.5rem;
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: var(--primary);
}

.info-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card-icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--navy), var(--primary));
  color: #fff;
}

.info-card-icon.accent {
  background: linear-gradient(135deg, var(--primary), var(--cyan-accent));
}

.info-card-icon svg {
  width: 1rem;
  height: 1rem;
}

.info-card-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.info-card-sub {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.info-card-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-elegant);
}

.cta-card::before {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  height: 8rem;
  width: 8rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  filter: blur(16px);
}

.cta-card > * {
  position: relative;
}

.cta-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.cta-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-card .btn {
  margin-top: 1.25rem;
}

.cta-card .phone-link {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-card .phone-link:hover {
  color: #fff;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 0.75rem;
  background-color: var(--surface);
  padding: 0.4rem 1rem;
}

.price-label {
  font-size: 0.875rem;
}

.price-value {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  background-image: linear-gradient(135deg, var(--primary), var(--cyan-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: var(--shadow-elegant);
}

.carousel-viewport {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: rgba(0, 0, 0, 0.05);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.carousel-btn:hover {
  background-color: #fff;
}

.carousel-btn.prev {
  left: 0.75rem;
}

.carousel-btn.next {
  right: 0.75rem;
}

.carousel-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.375rem;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0.375rem 0.625rem;
  backdrop-filter: blur(4px);
}

.carousel-dot {
  height: 0.375rem;
  border-radius: 9999px;
  border: none;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  width: 1.25rem;
  background-color: #fff;
}

.carousel-dot:not(.active) {
  width: 0.375rem;
}

.carousel-thumbs {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.carousel-thumb {
  overflow: hidden;
  border-radius: 0.375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.carousel-thumb.active {
  border-color: #fff;
}

.carousel-thumb:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.6);
}

.carousel-thumb img {
  aspect-ratio: 4 / 3;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Contact page */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}

.contact-method:hover {
  border-color: rgba(14, 99, 255, 0.3);
}

.contact-method-icon {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--navy), var(--primary));
  color: #fff;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-method-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.contact-method-value {
  margin-top: 0.25rem;
  font-weight: 500;
}

.contact-form-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--surface-elevated);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

/* Nosotros page */
.values-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

/* 404 / Not found */
.not-found {
  display: flex;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.not-found h1 {
  font-size: 6rem;
  font-weight: 700;
}

.not-found h2 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.not-found p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============ Mobile fixes ============ */
@media (max-width: 767px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section { padding-top: 3rem; padding-bottom: 3rem; }

  /* Hero: más aire entre título, subtítulo, botones y trust */
  .hero-inner {
    gap: 1.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .hero-title {
    font-size: 2.35rem;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-top: 0.5rem;
  }
  .hero-actions {
    padding-top: 0.75rem;
    gap: 0.75rem;
    justify-content: center;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust {
    gap: 0.5rem 1.25rem;
    margin-top: 0.75rem;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
  }
  .badge { margin-bottom: 0.25rem; }
  /* Badge over hero image slightly smaller on mobile */
  .hero-image-badge-title { font-size: 1rem; }
  .hero-image-badge-label { font-size: 0.6875rem; }

  /* Sección Nosotros: separar textos y stats */
  .about-inner {
    gap: 1.75rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .about-text { margin-top: 0.75rem; line-height: 1.65; }
  .about-text + .about-text { margin-top: 1rem; }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .stat-card { padding: 0.75rem; }
  .stat-number { font-size: 1.375rem; }
  .stat-label { font-size: 0.6875rem; }

  /* Formulario de contacto: evitar desborde horizontal */
  .about-form-card {
    padding: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-input,
  .form-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* evita zoom en iOS */
  }
  .form-row { gap: 0.75rem; }
  .form-grid { width: 100%; }

  /* Títulos de sección */
  .section-title { font-size: 1.75rem; line-height: 1.2; }
  .section-subtitle { margin-top: 0.5rem; }

  /* Products header */
  .products-header { gap: 1rem; }
}

@media (max-width: 380px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 1.75rem; }
}


/* Product detail: soft blurred frame around main image, single-slide view */
.carousel.carousel-slim {
  padding: 0;
  background-image: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(214, 228, 242, 0.8);
  position: relative;
}
.carousel.carousel-slim::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(14, 99, 255, 0.22), rgba(0, 217, 255, 0.22));
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}
.carousel.carousel-slim .carousel-viewport {
  aspect-ratio: 4 / 3;
  border-radius: 0.85rem;
}
/* Hide arrows & dots in slim mode — navigation happens via the thumbnail strip */
.carousel.carousel-slim .carousel-btn,
.carousel.carousel-slim .carousel-dots {
  display: none;
}

/* Thumbnail strip below hero grid */
.carousel-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(90px, 1fr);
  gap: 0.5rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.carousel-strip-thumb {
  border: 2px solid transparent;
  border-radius: 0.5rem;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.carousel-strip-thumb.active {
  border-color: var(--primary);
}
.carousel-strip-thumb:hover:not(.active) {
  border-color: rgba(14, 99, 255, 0.4);
}
.carousel-strip-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Compact info/pricing/cta section */
.section.section-compact {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.section.section-compact .info-card,
.section.section-compact .cta-card {
  padding: 1.15rem 1.25rem;
}

/* Unified CTA card buttons */
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.cta-card .btn-cta {
  width: 100%;
  max-width: 20rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s;
  margin-top: 0;
}
.cta-card .btn-cta:hover {
  background-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.cta-card .btn-cta svg {
  width: 1rem;
  height: 1rem;
}

/* Galería de miniaturas + lightbox */
.section-gallery {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid rgba(214, 228, 242, 0.6);
}
.section-gallery .carousel-strip {
  margin-top: 0;
  grid-auto-columns: minmax(120px, 1fr);
  gap: 0.65rem;
}
.section-gallery .carousel-strip-thumb {
  border: 1px solid rgba(214, 228, 242, 0.9);
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 32, 61, 0.06);
}
.section-gallery .carousel-strip-thumb:hover {
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 22px rgba(14, 99, 255, 0.22);
}
.section-gallery .carousel-strip-thumb img {
  object-fit: contain;
  background-color: #ffffff;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(9, 18, 34, 0.88);
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3.5rem;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.lightbox-nav,
.lightbox-close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  transition: background-color 0.2s;
}
.lightbox-nav:hover,
.lightbox-close:hover { background-color: rgba(255, 255, 255, 0.28); }
.lightbox-nav { top: 50%; transform: translateY(-50%); height: 3rem; width: 3rem; }
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox-nav svg { width: 26px; height: 26px; }
.lightbox-close {
  top: 1rem;
  right: 1rem;
  height: 2.5rem;
  width: 2.5rem;
  font-size: 1.75rem;
  line-height: 1;
}

@media (max-width: 767px) {
  /* Encabezados sin fondo celeste en móvil */
  .hero {
    background: #ffffff;
  }
  .hero-blob-left,
  .hero-blob-right,
  .hero::after { display: none; }
  .product-detail-hero {
    background: #ffffff;
  }

  .section-gallery .carousel-strip { grid-auto-columns: minmax(100px, 1fr); }
  .lightbox { padding: 1rem 0.5rem; }
  .lightbox-nav { height: 2.5rem; width: 2.5rem; }
}

/* ============ Ajustes solicitados ============ */

/* Badge "+15 años" con fondo azul y letras blancas */
.badge {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.badge svg { color: #ffffff; }

/* Barra superior fija en azul */
.site-header {
  background-color: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header .brand-name { color: #ffffff; }
.site-header .brand-tagline { color: rgba(255, 255, 255, 0.65); }
.site-header .main-nav a { color: rgba(255, 255, 255, 0.78); }
.site-header .main-nav a:hover,
.site-header .main-nav a.active { color: #ffffff; }
.site-header .header-whatsapp { color: var(--whatsapp-light); }
.site-header .header-whatsapp:hover { color: #ffffff; }
.site-header .menu-toggle { color: #ffffff; }
.site-header .btn-primary {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--navy);
}
.site-header .btn-primary:hover {
  background-color: var(--cyan-accent);
  border-color: var(--cyan-accent);
  color: var(--navy);
}
.mobile-menu { background-color: var(--navy); }
.mobile-menu a { color: rgba(255, 255, 255, 0.85); }
.mobile-menu a:hover { color: #ffffff; }

/* Cartel "¿Te interesa...?" centrado */
.cta-card { text-align: center; }
.cta-card h3, .cta-card p { text-align: center; }
.cta-actions { align-items: center; }

/* Foto principal del detalle: imagen única, marco simple */
.product-main-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  background-color: #ffffff;
}

/* Carrusel de miniaturas en movimiento, ancho completo */
.section-gallery .carousel-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.section-gallery .carousel-strip {
  display: flex;
  width: max-content;
  grid-auto-flow: unset;
  grid-auto-columns: unset;
  overflow: visible;
  gap: 0.6rem;
  margin-top: 0;
  padding-bottom: 0.35rem;
  animation: isa-marquee 40s linear infinite;
}
.section-gallery .carousel-marquee:hover .carousel-strip {
  animation-play-state: paused;
}
.section-gallery .carousel-strip-thumb {
  flex: 0 0 auto;
  width: auto;
  height: 122px;
}
.section-gallery .carousel-strip-thumb img {
  width: auto;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
@keyframes isa-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .section-gallery .carousel-strip-thumb { height: 88px; }
}

/* ============ Ajustes v2 ============ */

:root { --teal-bar: #1180aa; }

/* Fondos superiores en blanco (sin degradado) */
.hero,
.product-detail-hero,
.section-gallery {
  background: #ffffff !important;
}
.hero-blob-left,
.hero-blob-right,
.hero::after,
.product-detail-hero::before,
.product-detail-hero::after { display: none !important; }

/* Barra superior: contenida, redondeada, color teal */
.site-header {
  background-color: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none;
  padding-top: 0.6rem;
  padding-bottom: 0.35rem;
}
.site-header .header-inner {
  background-color: var(--teal-bar);
  border-radius: 1rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  height: 3.75rem;
  box-shadow: 0 8px 24px rgba(17, 128, 170, 0.22);
}
.site-header .mobile-menu { background-color: transparent; }
.mobile-menu > .container {
  background-color: var(--teal-bar);
  border-radius: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin-top: 0.4rem;
}

/* Footer contenido y redondeado, mismo color */
.site-footer {
  background: transparent !important;
  border-top: none !important;
  color: inherit;
}
.site-footer .footer-inner {
  background-color: var(--teal-bar);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 2.5rem 2rem 2rem;
}
.site-footer .footer-bottom {
  border-top: none;
  padding-top: 0;
  padding-bottom: 1.25rem;
}
.site-footer .footer-bottom .footer-bottom-inner {
  background-color: var(--teal-bar);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 0 1.25rem 1.25rem;
  padding: 1.1rem 2rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Foto principal del detalle con marco difuminado (como la portada) */
.product-detail-grid .carousel.carousel-slim {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.5rem;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(214, 228, 242, 0.7),
              0 0 42px rgba(14, 99, 255, 0.28),
              0 0 78px rgba(0, 217, 255, 0.24),
              var(--shadow-elegant);
}
.product-detail-grid .carousel.carousel-slim::before { display: none; }

/* Detalle producto: menos aire arriba */
.product-detail-hero > .container {
  padding-top: 1.25rem !important;
}
.product-detail-hero .back-link { margin-bottom: 0.5rem; }
.product-detail-hero .product-detail-grid { margin-top: 0.75rem; }

/* Hero principal: sin badge, texto un poco más arriba */
.hero-inner { padding-top: 2.25rem; }

/* ============ Ajustes v3 ============ */

/* 1. Barra superior fija (no flotante): queda arriba y desaparece al bajar */
.site-header {
  position: static !important;
  top: auto !important;
}

/* 2. Sección Nosotros / ¿Hablamos? con el mismo formato que barra y pie */
.about-section {
  background: #ffffff !important;
  border-top: none !important;
  overflow: visible;
  color: inherit;
  padding-bottom: 1rem;
}
.about-section .hero-blob-left,
.about-section .hero-blob-right { display: none !important; }
.about-inner {
  background-color: var(--teal-bar);
  border-radius: 1.25rem;
  color: #ffffff;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(17, 128, 170, 0.18);
}
@media (max-width: 767px) {
  .about-inner { padding: 1.75rem 1.25rem; border-radius: 1rem; }
}
.about-section .section-label { color: #ffffff; }
.about-section h2 { color: #ffffff; }
.about-text { color: rgba(255, 255, 255, 0.96); }
.stat-card {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.14);
}
.stat-number { color: #ffffff; }
.stat-label { color: rgba(255, 255, 255, 0.9); }

/* 3. Contraste de textos */
:root { --muted-foreground: #3d5474; }
.site-header .brand-tagline { color: rgba(255, 255, 255, 0.88); }
.site-header .main-nav a { color: rgba(255, 255, 255, 0.95); }
.site-header .header-whatsapp { color: #ffffff; }
.mobile-menu a { color: rgba(255, 255, 255, 0.96); }
.site-footer .footer-inner,
.site-footer .footer-title,
.site-footer .footer-links a,
.site-footer .footer-contact a { color: #ffffff; }
.site-footer .footer-brand-text { color: rgba(255, 255, 255, 0.92) !important; }
.site-footer .brand-tagline { color: rgba(255, 255, 255, 0.88) !important; }
.site-footer .footer-bottom .footer-bottom-inner { color: rgba(255, 255, 255, 0.9); }
.cta-card p { color: rgba(255, 255, 255, 0.96); }

/* 4. Galería y bloque de requerimientos/costos limitados al ancho de los 3 cuadros */
.section-gallery {
  border-top: none !important;
}
.section-gallery .carousel-marquee {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}
.section.section-compact {
  background-color: #ffffff !important;
  border-top: none !important;
}
.section.section-compact > .container,
.section-gallery > .container {
  max-width: 1280px;
}

/* 5-6. Galería: avance de a una foto cada 2 segundos (sin animación continua) */
.section-gallery .carousel-strip {
  animation: none !important;
  will-change: transform;
}

/* 7. Menos aire entre bloques del detalle de producto */
.product-detail-hero > .container { padding-bottom: 1.25rem !important; }
.product-detail-hero + .section { padding-top: 1.75rem; padding-bottom: 1.25rem; }
.section-gallery { padding-top: 0.5rem; padding-bottom: 1.25rem; }

/* ============ Ajustes v4 ============ */

/* 1. Barra superior: más alta, rectangular y pegada al borde superior */
.site-header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.site-header > .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}
.site-header .header-inner {
  border-radius: 0 !important;
  height: 4.5rem;
  box-shadow: none;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.mobile-menu > .container {
  border-radius: 0 !important;
  margin-top: 0;
}

/* 2. Secciones teal inferiores rectangulares */
.about-inner,
.site-footer .footer-inner,
.site-footer .footer-bottom .footer-bottom-inner {
  border-radius: 0 !important;
}
@media (max-width: 767px) {
  .about-inner { border-radius: 0 !important; }
}

/* 3. Botones principales en azul más oscuro dentro de la gama de la barra */
:root { --btn-blue: #0b5f80; --btn-blue-dark: #094c68; }
.hero-actions .btn-primary,
.about-form-card .btn-primary,
.contact-card .btn-primary,
.section .btn-primary {
  background-color: var(--btn-blue);
  border-color: var(--btn-blue);
  color: #ffffff;
}
.hero-actions .btn-primary:hover,
.about-form-card .btn-primary:hover,
.contact-card .btn-primary:hover,
.section .btn-primary:hover {
  background-color: var(--btn-blue-dark);
  border-color: var(--btn-blue-dark);
}
.site-header .btn-primary {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--teal-bar);
}

/* 4. En móvil: la foto se muestra antes de los 3 items de confianza */
@media (max-width: 1023px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .hero-inner > div:first-child { display: contents; }
  .hero-title { order: 1; }
  .hero-subtitle { order: 2; }
  .hero-right { order: 3; }
  .hero-trust { order: 4; }
}

/* 5. Texto del hero un poco más arriba, alineado con la foto */
.hero-inner {
  align-items: start;
  padding-top: 1.25rem;
}
@media (min-width: 1024px) {
  .hero-inner { padding-top: 2.75rem; }
  .hero-right { margin-top: 0; }
}

/* 6. Detalle de producto: fondo en los cuadros de requerimientos y costos */
.section.section-compact .info-card {
  background-color: #f1f8fb;
  border: 1px solid rgba(17, 128, 170, 0.22);
}
.section.section-compact .info-card-title { color: #0b3a4d; }
.form-grid .btn-primary,
.form-grid .btn-primary:focus {
  background-color: var(--btn-blue);
  border-color: var(--btn-blue);
  color: #ffffff;
}
.form-grid .btn-primary:hover {
  background-color: var(--btn-blue-dark);
  border-color: var(--btn-blue-dark);
}

/* ============ Ajustes v5 ============ */

/* 1. Barra superior: menos alta y contenida al ancho de los cuadros del pie (no full width) */
.site-header > .container {
  max-width: 1280px !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
.site-header .header-inner {
  height: 3.75rem !important;
}

/* 2. Cuadros inferiores (Nosotros + pie) unidos, separados por una línea */
.site-footer {
  background-color: #ffffff !important;
}
.about-section {
  padding-bottom: 0 !important;
}
.about-inner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}
.site-footer .footer-inner {
  padding-top: 2.5rem;
}

/* Página Nosotros: texto a la izquierda, imagen redondeada a la derecha */
.about-hero-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: center;
}

.about-hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-hero-image {
  display: flex;
  justify-content: center;
}

.about-hero-image img {
  width: 100%;
  max-width: 28rem;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px -18px rgba(14, 99, 255, 0.28);
}

@media (min-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .about-hero-image img {
    max-width: 100%;
  }
}

.about-values-section {
  padding-top: 0.5rem !important;
}

/* Menu movil: etiqueta "Productos" visible sobre fondo azul */
.mobile-menu .mobile-products-label {
  color: #ffffff;
  opacity: 0.95;
  font-weight: 700;
}
