/* ============================================
   CLASSIQUE CYCLING - Design System
   ============================================ */

/* === CSS Variables === */
:root {
  /* Colors */
  --color-primary: #E63946;
  --color-primary-dark: #C41E2A;
  --color-secondary: #1D3557;
  --color-dark: #0A0A0A;
  --color-dark-light: #1A1A1A;
  --color-light: #F1FAEE;
  --color-white: #FFFFFF;
  --color-gray: #6B7280;
  --color-gray-light: #E5E7EB;

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

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.3);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container */
  --container-max: 1280px;
  --container-padding: 1.5rem;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-dark);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--color-gray-light);
}

.text-accent {
  color: var(--color-primary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(230, 57, 70, 0.5);
}

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

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

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

.navbar-brand img {
  height: 30px;
  width: auto;
}

.navbar-brand .brand-dots {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  width: 100%;
  position: absolute;
  bottom: -5px;
  left: 0;
  padding-left: 5px;
}

.navbar-brand .brand-dots i {
  display: block;
  width: 3px;
  height: 3px;
  background: var(--color-white);
  font-style: normal;
  opacity: 0;
  transform: translateX(-40px) scale(0);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand .brand-dots i:nth-child(1) {
  transition-delay: 0.1s;
}

.navbar-brand .brand-dots i:nth-child(2) {
  transition-delay: 0.2s;
}

.navbar-brand .brand-dots i:nth-child(3) {
  transition-delay: 0.3s;
}

.navbar-brand .brand-dots i:nth-child(4) {
  transition-delay: 0.4s;
}

.navbar-brand .brand-dots i:nth-child(5) {
  transition-delay: 0.5s;
}

.navbar-brand .brand-dots i:first-child,
.navbar-brand .brand-dots i:last-child {
  width: 2px;
}

.navbar.scrolled .brand-dots i {
  opacity: 1;
  transform: translateX(0) scale(1);
}

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

.navbar-menu a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-light);
  position: relative;
}

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

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

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

/* Contacto button: disable underline, use glow instead */
.navbar-menu a.btn::after {
  display: none;
}

.navbar-menu a.btn:hover {
  color: var(--color-white);
  filter: brightness(1.15);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-base);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-dark-light);
    flex-direction: column;
    padding: var(--space-3xl) var(--space-lg);
    transition: var(--transition-base);
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-menu a {
    font-size: 1.25rem;
  }
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.7) 0%,
      rgba(10, 10, 10, 0.5) 50%,
      rgba(10, 10, 10, 0.9) 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: var(--space-3xl) var(--container-padding);
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgb(41 1 4 / 29%);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  color: var(--color-gray-light);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* === Sections === */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header p {
  margin-top: var(--space-sm);
  font-size: 1.125rem;
}

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

.section-light p {
  color: var(--color-gray);
}

/* === Value Props === */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  background: var(--color-dark-light);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-base);
  border: 1px solid transparent;
}

.value-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.value-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.value-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

/* === Values Grid (Nosotros page) === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.values-grid .values-item {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition-base);
}

.values-grid .values-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.1);
}

.values-number {
  display: none;
}

.values-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.values-grid .values-item h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.values-grid .values-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* === Product Grid === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--color-dark-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  border: 1px solid transparent;
}

.product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

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

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-card-content {
  padding: var(--space-md);
}

.product-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.product-card p {
  font-size: 0.875rem;
}

/* === Portfolio Gallery === */
.portfolio-filters {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-dark-light);
  color: var(--color-gray-light);
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: var(--transition-base);
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.portfolio-card blockquote {
  font-style: italic;
  color: var(--color-gray-light);
  font-size: 0.875rem;
}

/* === Process Timeline === */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-card {
  text-align: center;
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-dark-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-base);
}

.process-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
  transform: translateY(-4px);
}

/* CSS-only dashed arrow between cards */
.process-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--space-xl));
  width: var(--space-xl);
  height: 2px;
  background: repeating-linear-gradient(90deg,
      var(--color-primary) 0,
      var(--color-primary) 6px,
      transparent 6px,
      transparent 12px);
  transform: translateY(-50%);
}

/* Arrow tip */
.process-card:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--space-xl) + 2px);
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.process-card-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(230, 57, 70, 0.7);
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 16px;
  pointer-events: none;
}

.process-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.process-card h3 {
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.process-card p {
  position: relative;
  z-index: 1;
}

.process-card-details {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
  position: relative;
  z-index: 1;
  text-align: left;
}

.process-card-details li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 1rem;
  color: var(--color-gray-light);
}

.process-card-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .process-card:not(:last-child)::after,
  .process-card:not(:last-child)::before {
    display: none;
  }

  .process-card-number {
    font-size: 3.5rem;
  }
}

/* === Zigzag Timeline (Como Pedir page) === */
.zigzag-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Vertical center line */
.zigzag-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: repeating-linear-gradient(180deg,
      var(--color-primary) 0,
      var(--color-primary) 8px,
      transparent 8px,
      transparent 16px);
  transform: translateX(-50%);
}

.zigzag-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  margin-bottom: var(--space-xxl, 4rem);
}

.zigzag-step:last-child {
  margin-bottom: 0;
}

/* Dot on the center line */
.zigzag-step::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--color-dark), 0 0 0 6px var(--color-primary), 0 0 20px rgba(230, 57, 70, 0.4);
}

.zigzag-card {
  background: var(--color-dark-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  transition: var(--transition-base);
}

.zigzag-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.zigzag-card .process-card-number {
  position: absolute;
  top: 12px;
  left: 18px;
}

.zigzag-card .process-card-icon {
  font-size: 2.8rem;
  margin-bottom: var(--space-md);
}

.zigzag-card h3 {
  margin-bottom: var(--space-sm);
}

.zigzag-details {
  padding: var(--space-lg) var(--space-md);
}

/* Reverse: swap column order */
.zigzag-step.reverse {
  direction: rtl;
}

.zigzag-step.reverse>* {
  direction: ltr;
}

@media (max-width: 768px) {
  .zigzag-timeline::before {
    display: none;
  }

  .zigzag-step {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  .zigzag-step::before {
    display: none;
  }

  .zigzag-step.reverse {
    direction: ltr;
  }

}

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

.faq-item {
  background: var(--color-dark-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  transition: var(--transition-base);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-size: 1.5rem;
  transition: var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 var(--space-md) var(--space-md);
  color: #e2e2e2;
}

/* === Contact Form === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  margin-bottom: var(--space-lg);
}

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

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  background: var(--color-dark-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* === Map Section === */
.map-section {
  padding-bottom: var(--space-3xl);
  margin-bottom: var(--space-xl);
}

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

.map-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.map-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-dark-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1;
}

.map-info-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
  transition: var(--transition-base);
}

.map-info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.map-info-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-white);
}

.map-info-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-gray-light);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  min-height: 400px;
}

.map-container iframe {
  display: block;
}

@media (max-width: 768px) {
  .map-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    min-height: 300px;
  }
}

.contact-form {
  background: var(--color-dark-light);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-sm);
  background: var(--color-dark);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-base);
  box-sizing: border-box;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-sm) center;
  padding-right: calc(var(--space-sm) * 3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

/* === Footer === */
.footer {
  background: var(--color-dark-light);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  margin-bottom: var(--space-sm);
}

.footer-brand img {
  height: 25px;
  width: auto;
}

.footer h4 {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: var(--color-gray-light);
}

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

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--color-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray);
  font-size: 0.875rem;
}

/* === WhatsApp Float Button === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

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

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  font-size: 1.25rem;
}

.cta-section .btn-secondary {
  border-color: var(--color-white);
}

.cta-section .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* === About Page === */
.about-hero {
  padding: calc(100px + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(to bottom, var(--color-dark-light), var(--color-dark));
}

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

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content p {
  margin-bottom: var(--space-md);
}

/* === Stats === */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.stat-item p {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === Mini Gallery === */
.mini-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.mini-gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.mini-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.mini-gallery-item:hover img {
  transform: scale(1.05);
}

/* === Conditions Box === */
.conditions-box {
  background: var(--color-dark-light);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  margin-top: var(--space-xl);
}

.conditions-box h3 {
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.conditions-list {
  display: grid;
  gap: var(--space-sm);
}

.conditions-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.conditions-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* === Page Header === */
.page-header {
  padding: calc(100px + var(--space-2xl)) 0 var(--space-2xl);
  background: linear-gradient(to bottom, var(--color-dark-light), var(--color-dark));
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

/* === Speed Lines (reusable background effect) === */
.speed-lines {
  position: relative;
  overflow: hidden;
}

/* When used on page-header, start streaks below navbar */
.page-header.speed-lines .speed-lines-bg {
  top: 90px;
}

.speed-lines > *:not(.speed-lines-bg) {
  position: relative;
  z-index: 1;
}

.speed-lines-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.speed-lines-bg .streak {
  position: absolute;
  height: 2px;
  transform: rotate(-35deg);
  opacity: 0;
  animation: streakPulse ease-in-out infinite;
}

.speed-lines-bg .streak--r {
  background: linear-gradient(90deg, transparent 0%, rgba(230, 57, 70, 0.6) 30%, rgba(230, 57, 70, 0.4) 70%, transparent 100%);
}

.speed-lines-bg .streak--w {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.15) 70%, transparent 100%);
}

.speed-lines-bg .streak:nth-child(1)  { width: 280px; top: 6%;  left: 0%;  animation-duration: 5s;   animation-delay: 0s; }
.speed-lines-bg .streak:nth-child(2)  { width: 180px; top: 14%; left: 75%; animation-duration: 7s;   animation-delay: -2s;  height: 3px; }
.speed-lines-bg .streak:nth-child(3)  { width: 350px; top: 22%; left: -5%; animation-duration: 6s;   animation-delay: -4s; }
.speed-lines-bg .streak:nth-child(4)  { width: 150px; top: 30%; left: 85%; animation-duration: 8s;   animation-delay: -1s; }
.speed-lines-bg .streak:nth-child(5)  { width: 300px; top: 38%; left: 5%;  animation-duration: 5.5s; animation-delay: -3s;  height: 3px; }
.speed-lines-bg .streak:nth-child(6)  { width: 220px; top: 20%; left: 30%; animation-duration: 7.5s; animation-delay: -5s; }
.speed-lines-bg .streak:nth-child(7)  { width: 380px; top: 54%; left: -3%; animation-duration: 6.5s; animation-delay: -1.5s; }
.speed-lines-bg .streak:nth-child(8)  { width: 170px; top: 62%; left: 80%; animation-duration: 8.5s; animation-delay: -6s; }
.speed-lines-bg .streak:nth-child(9)  { width: 260px; top: 95%; left: 35%; animation-duration: 5s;   animation-delay: -2.5s; height: 3px; }
.speed-lines-bg .streak:nth-child(10) { width: 320px; top: 80%; left: 72%; animation-duration: 7s;   animation-delay: -4.5s; }
.speed-lines-bg .streak:nth-child(11) { width: 200px; top: 88%; left: -2%; animation-duration: 6s;   animation-delay: -3.5s; }
.speed-lines-bg .streak:nth-child(12) { width: 290px; top: 95%; left: 78%; animation-duration: 8s;   animation-delay: -7s; }

@keyframes streakPulse {
  0%, 100% { opacity: 0; }
  40% { opacity: 1; }
  60% { opacity: 1; }
}

/* === Lightbox / Gallery Modal === */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(6px);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.lightbox-overlay.active .lightbox-content img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
}

/* Gallery hint on portfolio cards */
.gallery-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-primary);
  opacity: 0.85;
}

.has-gallery {
  cursor: pointer;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 0.75rem;
  }

  .lightbox-next {
    right: 0.75rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* === Utilities === */
.text-center {
  text-align: center;
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}