/* ============================================================
   CASHON REGISTER — Design System
   cashonregister.es | cashonregister.com
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  /* Colors */
  --bg-primary:       #080808;
  --bg-secondary:     #0f0f0f;
  --bg-card:          #141414;
  --bg-card-hover:    #1a1a1a;
  --bg-border:        #222222;

  --gold:             #C9A255;
  --gold-light:       #E8C97A;
  --gold-dark:        #9A7A3A;
  --gold-subtle:      rgba(201, 162, 85, 0.12);
  --gold-glow:        rgba(201, 162, 85, 0.25);

  --white:            #FFFFFF;
  --gray-100:         #E8E8E8;
  --gray-300:         #AAAAAA;
  --gray-500:         #666666;
  --gray-700:         #333333;

  /* Typography */
  --font-heading:     'Montserrat', sans-serif;
  --font-body:        'Inter', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-xxl:  10rem;

  /* Border radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-gold: 0 0 30px rgba(201, 162, 85, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 162, 85, 0.1);

  /* Max width */
  --max-width: 1200px;
  --max-width-text: 760px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
  color: var(--gray-300);
  font-size: 1rem;
  line-height: 1.8;
}

.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-300); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-sm {
  padding: var(--space-lg) 0;
}

/* ── Section Headers ── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  max-width: 560px;
  color: var(--gray-300);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.section-header {
  margin-bottom: var(--space-lg);
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Gold Divider ── */
.gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: var(--space-md);
}

.section-header.center .gold-line {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 80px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 85, 0.35);
}

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

.btn-outline:hover {
  background: var(--gold-subtle);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-border);
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.navbar-logo img {
  height: 52px;
  width: auto;
  transition: opacity 0.2s;
}
.navbar-logo:hover img { opacity: 0.85; }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar-menu a {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.navbar-menu a:hover {
  color: var(--white);
}

.navbar-menu a:hover::after {
  width: 100%;
}

.navbar-wa {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-selector a {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  transition: var(--transition);
  padding: 0.2rem 0.4rem;
}

.lang-selector a:hover,
.lang-selector a.active {
  color: var(--gold);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 60% 50%, rgba(201, 162, 85, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(201, 162, 85, 0.04) 0%, transparent 60%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 85, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 85, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: calc(100vh - 90px);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-subtle);
  border: 1px solid rgba(201, 162, 85, 0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-md);
}

.hero-badge span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-title .line-gold {
  color: var(--gold);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-stats {
  display: flex;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--bg-border);
}

.hero-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-number span {
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 500;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ── Hero Photo Frame ── */
.hero-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 85, 0.25);
  box-shadow:
    0 0 0 1px rgba(201, 162, 85, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(201, 162, 85, 0.07);
  animation: fade-in-up 1s ease 0.3s both;
}

.hero-photo {
  width: 100%;
  max-width: 560px;
  display: block;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.hero-photo-frame:hover .hero-photo {
  transform: scale(1.02);
}

.hero-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 162, 85, 0.3);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Brands/Partners Bar ── */
.brands-bar {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  background: var(--bg-secondary);
}

.brands-bar .container {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.brands-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
}

.brands-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.brands-list span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: var(--transition);
}

.brands-list span:hover {
  color: var(--gold);
}

.brand-logo {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1) opacity(0.45);
  transition: var(--transition);
}

.brand-logo:hover {
  filter: grayscale(0) brightness(1) invert(0) opacity(1);
}

/* ── Value Props ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(201, 162, 85, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: var(--space-md);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-subtle), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(201, 162, 85, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
  z-index: 1;
}

.service-content {
  z-index: 1;
}

.service-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.service-content p {
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.service-link:hover {
  gap: 0.8rem;
}

/* ── About / Story ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-content {}

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-md);
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold);
}

.timeline-text h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.timeline-text p {
  font-size: 0.88rem;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-border);
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-photo-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--gray-500);
}

.about-photo-placeholder span {
  font-size: 3rem;
}

.about-photo-placeholder p {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

/* ── Legacy badge (Sergi Bosan) ── */
.about-legacy-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: rgba(201, 162, 85, 0.06);
  border: 1px solid rgba(201, 162, 85, 0.2);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  max-width: 420px;
}
.legacy-label {
  font-size: 0.68rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}
.legacy-name {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.legacy-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Clients / Testimonials ── */
.clients-bg {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(201, 162, 85, 0.25);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--gray-100);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.testimonial-business {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ── Coverage ── */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.coverage-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.coverage-card:hover {
  border-color: rgba(201, 162, 85, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.coverage-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.coverage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.coverage-card p {
  font-size: 0.85rem;
}

/* ── Contact Section ── */
.contact-bg {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
}

.contact-method:hover {
  border-color: rgba(201, 162, 85, 0.3);
  transform: translateX(4px);
}

.contact-method-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-method-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.contact-method-text span {
  font-size: 0.82rem;
  color: var(--gray-300);
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

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

.form-group select option {
  background: var(--bg-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--bg-border);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand img {
  height: 32px;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--gray-100);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--bg-border);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-700);
}

.footer-bottom a {
  color: var(--gray-500);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ── WhatsApp Float Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Products Section ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1a1a1a;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img { transform: scale(1.04); }

.product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
.product-img-logo-only {
  width: 60%;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.product-brand-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
}
.product-brand-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.product-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.product-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  align-self: flex-start;
}

.products-cta {
  margin-top: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.products-cta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}



/* ── Hero Brand Strip ── */
.hero-brand-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-brand-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(201,162,85,0.25));
}
.hero-brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(201,162,85,0.4);
  flex-shrink: 0;
}
.hero-brand-tagline {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}


/* ── Island orb images ── */
.island-orb {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 4px 20px rgba(201,162,85,0.2));
}
.coverage-card:hover .island-orb {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 8px 30px rgba(201,162,85,0.4));
}
.coverage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* ── Verifactu Banner ── */
.verifactu-bar {
  background: linear-gradient(135deg, #0a1628 0%, #0f2040 100%);
  border-top: 1px solid rgba(201,162,85,0.25);
  border-bottom: 1px solid rgba(201,162,85,0.25);
  padding: 1rem 0;
}
.verifactu-bar .container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.verifactu-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(201,162,85,0.3));
}
.verifactu-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.verifactu-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 700;
}
.verifactu-text span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Category Tabs ── */
.cat-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2.5rem 0 2rem;
  flex-wrap: wrap;
}
.cat-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cat-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

/* ── Products Grid v2 ── */
.products-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.product-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(201,162,85,0.5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* ── Gallery ── */
.product-gallery {
  display: flex;
  flex-direction: column;
}
.gallery-main-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #111;
  overflow: hidden;
}
.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.15s ease;
  display: block;
}
.product-card-v2:hover .gallery-main-img {
  transform: scale(1.04);
}
.product-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(201,162,85,0.4);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.product-brand-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  border-radius: 8px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
}
.product-brand-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.gallery-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: #0d0d0d;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

/* ── Product Info v2 ── */
.product-card-v2 .product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.product-card-v2 .product-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}
.product-card-v2 .product-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.product-specs {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.product-specs li {
  font-size: 0.76rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}
.product-specs li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.7;
}
.product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.product-actions .btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  margin-top: 0;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-whatsapp:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .products-grid-v2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-xxl: 6rem;
  }

  .navbar-menu { display: none; }
  .navbar-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--bg-primary);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .navbar-menu.open a { font-size: 1.2rem; }
  .menu-toggle { display: flex; z-index: 1001; }
  .navbar-cta .btn { display: none; }

  .value-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .products-grid-v2 { grid-template-columns: 1fr; }
  .verifactu-bar .container { flex-direction: column; gap: 0.75rem; }
  .cat-tabs { gap: 0.35rem; }
  .cat-tab { padding: 0.4rem 0.9rem; font-size: 0.76rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .brands-bar .container { justify-content: center; }
}
