/* =============================================
   FLESH STUDIO — Global Stylesheet
   ============================================= */

/* 1. FONT FACES
   ============================================= */
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-ThinItalic.otf') format('opentype'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-ExtraLight.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-ExtraLightItalic.otf') format('opentype'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-LightItalic.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-MediumItalic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-SemiBoldItalic.otf') format('opentype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-ExtraBoldItalic.otf') format('opentype'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../Media/Typography/Monserrat_Family/Montserrat-BlackItalic.otf') format('opentype'); font-weight: 900; font-style: italic; font-display: swap; }

/* 2. DESIGN TOKENS
   ============================================= */
:root {
  --color-bg:         #0A0A0A;
  --color-bg-alt:     #111111;
  --color-bg-card:    #161616;
  --color-text:       #F0F0F0;
  --color-text-muted: #8A8A8A;
  --color-accent:     #FF6B35;
  --color-accent-dim: #CC4A1A;
  --color-border:     rgba(255, 107, 53, 0.15);

  --font-primary: 'Montserrat', sans-serif;

  --fs-hero:  clamp(2.8rem, 8vw, 7rem);
  --fs-h1:    clamp(2.2rem, 5vw, 4rem);
  --fs-h2:    clamp(1.6rem, 3.5vw, 2.8rem);
  --fs-h3:    clamp(1.2rem, 2.5vw, 1.8rem);
  --fs-body:  clamp(0.95rem, 1.5vw, 1.1rem);
  --fs-small: 0.85rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

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

  --nav-height: 80px;
}

/* 3. RESET
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-primary);
}

/* 4. ACCESSIBILITY
   ============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-accent);
  color: #000;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 4px 0;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* 5. TYPOGRAPHY & UTILITY CLASSES
   ============================================= */
.accent {
  color: var(--color-accent);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.service-tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}

.text-center { text-align: center; }
.text-italic-accent {
  font-style: italic;
  color: var(--color-accent);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
}

.link-page {
  display: inline-block;
  color: var(--color-accent);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: letter-spacing var(--transition);
  margin-top: var(--space-sm);
}

.link-page:hover {
  letter-spacing: 0.12em;
}

/* 6. LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--wide {
  max-width: 1400px;
}

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

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

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

.section-separator {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

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

.split__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.split__media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.split__text h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
}

.split__text p {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
}

/* 7. NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-item-dropdown.dropdown-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.nav-item-dropdown.dropdown-open .dropdown-menu {
  display: flex;
}

.dropdown-link {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.dropdown-link:hover,
.dropdown-link.dropdown-active {
  color: var(--color-accent);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 8. FOOTER
   ============================================= */
.footer {
  background: #060606;
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0 var(--space-md);
}

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

.footer-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-nav a {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

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

.footer-contact p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-align: center;
}

.footer-contact a {
  color: var(--color-accent);
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-md) 0 var(--space-sm);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

/* 9. BUTTONS
   ============================================= */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 48px;
  border-radius: 2px;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #000;
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dim);
  border-color: var(--color-accent-dim);
  transform: scale(1.03);
}

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

.btn-outline:hover {
  background: var(--color-accent);
  color: #000;
  transform: scale(1.03);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-sm);
}

/* 10. HERO — HOME (VIDEO)
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(10, 10, 10, 1) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-xl);
  max-width: 900px;
  width: 100%;
}

.hero__content h1 {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero__content .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(240, 240, 240, 0.8);
  max-width: 700px;
  margin: 0 auto var(--space-md);
  line-height: 1.7;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator__line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-accent));
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: scrollPulse 2s ease-in-out infinite 0.5s;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(5px); }
}

/* 11. PAGE HERO (IMAGE BACKGROUND)
   ============================================= */
.page-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--sm {
  min-height: 70vh;
}

.page-hero--gradient {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A0A00 100%);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-xl);
  max-width: 860px;
  width: 100%;
}

.page-hero__content h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.page-hero__content .page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(240, 240, 240, 0.8);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 12. IMAGE SEPARATOR (PARALLAX)
   ============================================= */
.img-separator {
  height: 60vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.img-separator__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

/* 13. CARDS GRID
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid transparent;
  padding: var(--space-md) var(--space-md) var(--space-md);
  border-radius: 2px;
  transition: border-top-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-top-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.08);
}

.card__icon {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  width: 40px;
  height: 40px;
}

.card__icon svg {
  width: 40px;
  height: 40px;
}

.card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.card p {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.7;
}

/* 14. FEATURE LIST (bullet points)
   ============================================= */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: var(--space-sm) 0;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--fs-body);
  color: var(--color-text);
}

.feature-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--color-accent);
  border-radius: 1px;
  margin-top: 0.5rem;
}

.feature-list strong {
  color: var(--color-text);
  font-weight: 600;
}

/* 15. GALLERY
   ============================================= */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 107, 53, 0);
  transition: background var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item:hover::after {
  background: rgba(255, 107, 53, 0.15);
}

/* 16. SECTORS GRID
   ============================================= */
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.sector-item {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.sector-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

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

.sector-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: var(--space-sm) var(--space-sm) 0.75rem;
}

.sector-item__label span {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* 17. SPECS BAR
   ============================================= */
.specs-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.specs-bar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-bg-card);
  width: 100%;
  justify-content: center;
}

.specs-bar__icon {
  color: var(--color-accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 18. PILLARS (Quiénes Somos)
   ============================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  text-align: center;
}

.pillar {
  padding: var(--space-md);
}

.pillar__number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
  opacity: 0.7;
}

.pillar h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar p {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.pillar-divider {
  width: 1px;
  background: var(--color-border);
  display: none;
}

/* 19. SECTOR CARDS (Quiénes Somos)
   ============================================= */
.sector-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.sector-card {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-card);
  border-radius: 2px;
  font-weight: 600;
  font-size: var(--fs-body);
  transition: background var(--transition);
}

.sector-card:hover {
  background: rgba(255, 107, 53, 0.05);
}

/* 20. CONTACT CARDS (Conectemos)
   ============================================= */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.contact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.contact-card__icon {
  color: var(--color-accent);
  width: 36px;
  height: 36px;
}

.contact-card__icon svg {
  width: 36px;
  height: 36px;
}

.contact-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  flex: 1;
}

/* 21. CONTACT FORM
   ============================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #1A1A1A;
  border: 1px solid rgba(255, 107, 53, 0.2);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  padding: 0.85rem 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: #1A1A1A;
  color: var(--color-text);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(138, 138, 138, 0.5);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-submit-btn {
  width: 100%;
  height: 52px;
  font-size: 0.9rem;
  margin-top: var(--space-xs);
}

.form-success {
  display: none;
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  padding: var(--space-md);
  text-align: center;
  margin-top: var(--space-sm);
}

.form-success.visible {
  display: block;
}

.form-success p {
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--fs-body);
}

/* 22. CONTACT INFO ROW
   ============================================= */
.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.contact-info-item .ci-icon {
  color: var(--color-accent);
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.contact-info-item .ci-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-item span {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text);
}

.contact-info-item a {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  transition: color var(--transition);
}

.contact-info-item a:hover {
  color: var(--color-accent);
}

/* 23. MAP BLOCK
   ============================================= */
.map-block {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  padding: var(--space-lg) var(--space-md);
  border-radius: 2px;
  text-align: center;
}

.map-block h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.map-block p {
  color: var(--color-text-muted);
}

/* 24. MINI ABOUT SECTION (Home)
   ============================================= */
.mini-about {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.mini-about h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.mini-about p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* 25. MANIFIESTO (Quienes Somos)
   ============================================= */
.manifesto {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.manifesto p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(240, 240, 240, 0.9);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* 26. CLOSE CTA SECTIONS
   ============================================= */
.cta-close {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-close .text-italic-accent {
  display: block;
  margin-bottom: var(--space-md);
  font-size: clamp(1.2rem, 3vw, 2rem);
}

/* 27. INTRO SPLIT (IA Agents intro)
   ============================================= */
.intro-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.intro-split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.intro-split__text p {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.75;
}

.intro-split__img {
  overflow: hidden;
  border-radius: 2px;
}

.intro-split__img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* 28. VIDEO REEL
   ============================================= */
.video-reel {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.video-reel video {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
}

.video-reel figcaption {
  margin-top: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 29. CASES / USE CASES
   ============================================= */
.use-cases {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.use-case {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-card);
  border-radius: 0 2px 2px 0;
}

.use-case__arrow {
  color: var(--color-accent);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.use-case strong {
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.use-case p {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  margin: 0;
}

/* 30. MASTERPLAN SECTION
   ============================================= */
.masterplan-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.masterplan-split__img {
  overflow: hidden;
  border-radius: 2px;
}

.masterplan-split__img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.masterplan-split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.masterplan-split__text h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
}

.masterplan-split__text p {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.75;
}

/* 31. SECTORS (360 page horizontal scroll on mobile)
   ============================================= */
.sectors-scroll {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.sector-scroll-item {
  position: relative;
  overflow: hidden;
}

.sector-scroll-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.sector-scroll-item:hover img {
  transform: scale(1.05);
}

.sector-scroll-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: var(--space-sm) var(--space-sm) 0.75rem;
}

.sector-scroll-item__label span {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* 32. CONNECTEMOS HERO
   ============================================= */
.hero-connect__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  max-width: 860px;
  width: 100%;
}

.hero-connect__content h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.hero-connect__content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(240, 240, 240, 0.8);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 33. REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 34. SECTION TITLES
   ============================================= */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.section-sub {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  max-width: 640px;
}

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

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

.section-header--center .section-sub {
  margin: 0 auto;
}

/* =============================================
   RESPONSIVE — 768px+
   ============================================= */
@media (min-width: 768px) {
  :root {
    --nav-height: 90px;
  }

  /* Navbar desktop */
  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    position: static;
    background: none;
    flex-direction: row;
    align-items: center;
    gap: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 2.5rem;
    align-items: center;
  }

  .nav-link {
    font-size: var(--fs-small);
  }

  /* Dropdown desktop */
  .nav-item-dropdown {
    position: relative;
  }

  .nav-item-dropdown .dropdown-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: calc(var(--space-sm) + 0.75rem) var(--space-md) var(--space-sm);
    min-width: 180px;
    gap: 0.6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-item-dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-link {
    font-size: var(--fs-small);
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }

  .footer-logo img {
    margin: 0;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
  }

  .footer-contact {
    align-items: flex-end;
  }

  .footer-contact p {
    text-align: right;
  }

  /* Layout */
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--reverse .split__media { order: -1; }

  .split__media img {
    height: 500px;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item img {
    height: 340px;
  }

  /* Sectors */
  .sectors-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sector-item img {
    height: 300px;
  }

  /* Specs */
  .specs-bar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }

  .specs-bar__item {
    width: auto;
  }

  /* Pillars */
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillar-divider {
    display: block;
    width: 1px;
  }

  /* Sector cards */
  .sector-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Contact */
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Form */
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact info row */
  .contact-info-row {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-lg);
    align-items: flex-start;
  }

  /* Intro split */
  .intro-split {
    grid-template-columns: 2fr 1fr;
  }

  .intro-split__img img {
    height: 400px;
  }

  /* Masterplan */
  .masterplan-split {
    grid-template-columns: 1fr 1fr;
  }

  .masterplan-split__img img {
    height: 440px;
  }

  /* Sectors scroll (360 page) */
  .sectors-scroll {
    grid-template-columns: repeat(4, 1fr);
  }

  .sector-scroll-item img {
    height: 300px;
  }

  /* Nav logo */
  .nav-logo img {
    height: 50px;
  }

  /* Use cases */
  .use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  /* Video reel sep */
  .img-separator {
    height: 65vh;
  }
}

/* =============================================
   RESPONSIVE — 1200px+
   ============================================= */
@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item img {
    height: 360px;
  }

  .sectors-scroll {
    grid-template-columns: repeat(4, 1fr);
  }

  .sector-scroll-item img {
    height: 340px;
  }

  .split__media img {
    height: 560px;
  }

  .nav-list {
    gap: 3rem;
  }

  /* Prevent fixed-attachment issues on Safari mobile (handled at 1200+ = desktop safe) */
  .img-separator {
    background-attachment: fixed;
  }
}

/* On mobile, disable parallax background-attachment for performance */
@media (max-width: 767px) {
  .img-separator {
    background-attachment: scroll;
    height: 280px;
  }

  .sector-cards {
    grid-template-columns: 1fr 1fr;
  }
}
