/* ================================================================
   iA4 Group — Main Stylesheet
   Author: Digy Marketing — https://digymkt.com
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (TOKENS)
   ---------------------------------------------------------------- */
:root {
  /* Brand palette — taken directly from the corporate presentation */
  --color-dark:         #0D0503;
  --color-dark-2:       #1C0A05;
  --color-dark-3:       #2C1208;
  --color-brown:        #3D1A0E;
  --color-brown-mid:    #7B3A2A;
  --color-cream:        #EAE0D5;
  --color-cream-light:  #F5F0EA;
  --color-cream-dark:   #D9CFC0;
  --color-white:        #FFFFFF;
  --color-text:         #4A3728;
  --color-text-muted:   #8B7B6D;

  /* Logo gradient colors */
  --color-orange:  #E84E1B;
  --color-yellow:  #F5A823;
  --color-teal:    #1DBAB0;
  --color-lime:    #8ED820;

  /* Functional */
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body:    'Open Sans', Arial, sans-serif;

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm:   0 2px 12px rgba(0,0,0,0.07);
  --shadow:      0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.2);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream-light);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ----------------------------------------------------------------
   3. TYPOGRAPHY SCALE
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-brown);
}

h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p:not(:last-child) { margin-bottom: 1.1rem; }

.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4 {
  color: var(--color-white);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-brown-mid);
  margin-bottom: 14px;
}
.section-label.light { color: rgba(255,255,255,0.5); }

.lead-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-brown-mid);
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-yellow) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,78,27,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,78,27,0.45);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: var(--color-white);
}

.btn-dark {
  background: var(--color-brown);
  color: var(--color-white);
  border-color: transparent;
}
.btn-dark:hover {
  background: var(--color-dark-3);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-sm { padding: 10px 24px; font-size: 0.82rem; }

/* ----------------------------------------------------------------
   5. NAVIGATION
   ---------------------------------------------------------------- */
.site-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  padding-block: 22px;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-nav.scrolled {
  background: rgba(13, 5, 3, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 14px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon { height: 120px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.3px;
  display: none;
}
.nav-logo-text strong { font-weight: 900; }

/* Menu items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu > li > a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.78);
  transition: var(--transition);
}
.nav-menu > li > a:hover { color: var(--color-yellow); }
.nav-cta { margin-inline-start: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 860px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    inset-block-start: 0;
    inset-inline-end: -100%;
    width: min(300px, 85vw);
    height: 100dvh;
    background: var(--color-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 48px 36px;
    transition: inset-inline-end 0.3s ease;
    box-shadow: none;
  }
  .nav-menu.is-open {
    inset-inline-end: 0;
    box-shadow: -4px 0 40px rgba(0,0,0,0.45);
  }
  .nav-menu > li > a { font-size: 1rem; letter-spacing: 1.5px; }
  .nav-cta { margin-inline-start: 0; margin-block-start: 12px; }
}

/* ----------------------------------------------------------------
   6. HERO
   ---------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* Dark atmospheric background — evoking city-at-dusk feel of the presentation */
  background:
    radial-gradient(ellipse at 18% 55%, rgba(110, 38, 14, 0.28) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 45%, rgba(15, 65, 75, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 80%, rgba(65, 20, 8, 0.18) 0%, transparent 50%),
    linear-gradient(168deg, #070200 0%, #150805 30%, #200E06 60%, #150805 100%);
}

/* Atmospheric grid — subtle suggestion of city lights */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.hero-shape--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #E84E1B, transparent 70%);
  top: -10%; left: -8%;
  animation: float 12s ease-in-out infinite;
}
.hero-shape--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1DBAB0, transparent 70%);
  bottom: -15%; right: -10%;
  animation: float 16s ease-in-out infinite reverse;
}
.hero-shape--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #F5A823, transparent 70%);
  top: 30%; left: 60%;
  opacity: 0.08;
  animation: float 20s ease-in-out infinite 4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33%  { transform: translate(15px, -20px); }
  66%  { transform: translate(-10px, 15px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 130px 24px 80px;
  max-width: 920px;
  width: 100%;
}

/* Logo in hero */
.hero-logo-wrap {
  margin-bottom: 36px;
  animation: heroLogo 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-logo-svg {
  width: auto;
  height: 360px;
  margin-inline: auto;
  filter: drop-shadow(0 8px 30px rgba(30,186,176,0.25));
}

@keyframes heroLogo {
  from { opacity: 0; transform: scale(0.75) translateY(-12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-yellow);
  margin-bottom: 22px;
  animation: fadeUp 0.7s ease 0.3s both;
}

/* Headline: typographic contrast is the signature of this design */
.hero-headline {
  color: var(--color-white);
  margin-bottom: 26px;
  animation: fadeUp 0.7s ease 0.45s both;
}
.hero-hl--thin {
  display: block;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  opacity: 1;
}
.hero-hl--bold {
  display: block;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  line-height: 1.1;
}
.hero-hl--gradient {
  display: block;
  font-weight: 900;
  font-size: inherit;
  line-height: inherit;
  background: linear-gradient(100deg, var(--color-orange) 0%, var(--color-yellow) 40%, var(--color-teal) 80%, var(--color-lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,0.68);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 38px;
  line-height: 1.8;
  animation: fadeUp 0.7s ease 0.6s both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.7s ease 0.75s both;
}

.hero-brands-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  animation: fadeUp 0.7s ease 0.9s both;
}
.hero-brands-preview .sep { color: rgba(255,255,255,0.15); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  margin-inline: auto;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50%       { transform: scaleY(1.4); opacity: 0.4; }
}

/* ----------------------------------------------------------------
   7. SECTION DEFAULTS
   ---------------------------------------------------------------- */
section { padding-block: 100px; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 0;
}
.ecosystem .section-header p { color: rgba(255,255,255,0.6); }

/* ----------------------------------------------------------------
   8. ABOUT SECTION
   ---------------------------------------------------------------- */
.about { background: var(--color-cream-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-card--dark {
  background: linear-gradient(145deg, var(--color-dark-3), #0D0503);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.about-card-decoration {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(29,186,176,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(232,78,27,0.1) 0%, transparent 55%);
  pointer-events: none;
}

.about-card-inner { position: relative; z-index: 2; }

.about-stat-big { margin-bottom: 32px; }
.about-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.about-stat-big > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.about-stat-row {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  margin-top: 0;
}
.about-stat-item {
  flex: 1;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.about-stat-item:first-child { padding-left: 0; }
.about-stat-item:last-child  { border-right: none; }

.stat-n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-l {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

.about-text .section-label { display: block; margin-bottom: 14px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--color-text); }
.about-text .btn { margin-top: 12px; }

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

/* ----------------------------------------------------------------
   9. ECOSYSTEM — TRES SECTORES
   ---------------------------------------------------------------- */
.ecosystem {
  background: var(--color-dark-2);
  position: relative;
  overflow: hidden;
}

.ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(232,78,27,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 40%, rgba(29,186,176,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.brand-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.brand-card-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}

.brand--auto    .brand-card-top-bar { background: linear-gradient(90deg, var(--color-orange), var(--color-yellow)); }
.brand--clinic  .brand-card-top-bar { background: linear-gradient(90deg, var(--color-teal), var(--color-lime)); }
.brand--realestate .brand-card-top-bar { background: linear-gradient(90deg, #5B8ADA, var(--color-teal)); }

.brand-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.brand-icon-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
}

.brand-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.brand--auto       .brand-tag { background: rgba(232,78,27,0.2); color: var(--color-yellow); }
.brand--clinic     .brand-tag { background: rgba(29,186,176,0.2); color: var(--color-teal); }
.brand--realestate .brand-tag { background: rgba(91,138,218,0.2); color: #80AFEE; }

.brand-card h3 { color: var(--color-white); margin-bottom: 12px; font-size: 1.5rem; }

.brand-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.brand-features { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 20px; }
.brand-features li {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.brand-features li::before {
  content: '→';
  color: var(--color-teal);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}
.brand-features li:last-child { border-bottom: none; }
/* Brand card CTAs */
.btn-brand-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn--auto {
  color: var(--color-yellow);
  border-color: rgba(245,168,35,0.4);
  background: rgba(232,78,27,0.08);
}
.btn--auto:hover {
  background: rgba(232,78,27,0.2);
  border-color: var(--color-yellow);
  transform: translateY(-2px);
  color: var(--color-yellow);
}
.btn--clinic {
  color: var(--color-teal);
  border-color: rgba(29,186,176,0.4);
  background: rgba(29,186,176,0.08);
}
.btn--clinic:hover {
  background: rgba(29,186,176,0.2);
  border-color: var(--color-teal);
  transform: translateY(-2px);
  color: var(--color-teal);
}
.btn--realestate {
  color: #80AFEE;
  border-color: rgba(91,138,218,0.4);
  background: rgba(91,138,218,0.08);
}
.btn--realestate:hover {
  background: rgba(91,138,218,0.2);
  border-color: #80AFEE;
  transform: translateY(-2px);
  color: #80AFEE;
}

@media (max-width: 900px) {
  .brands-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ----------------------------------------------------------------
   10. DIFFERENTIATORS
   ---------------------------------------------------------------- */
.differentiators { background: var(--color-cream); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}

.diff-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.diff-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.diff-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-lime));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.diff-item > span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brown);
  line-height: 1.35;
}

/* ----------------------------------------------------------------
   11. TOOL SECTION
   ---------------------------------------------------------------- */
.tool-section {
  background: var(--color-dark-3);
  position: relative;
  overflow: hidden;
}

.tool-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(29,186,176,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(232,78,27,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tool-text .section-label { display: block; margin-bottom: 14px; }
.tool-text h2 { color: var(--color-white); margin-bottom: 22px; }
.tool-text p { color: rgba(255,255,255,0.65); line-height: 1.85; }
.tool-text .btn { margin-top: 14px; }

.tool-quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--color-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 36px;
  margin-bottom: 28px;
}

.tool-quote-main {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.tool-quote-sub {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 0;
}

.tool-pillars { display: flex; flex-direction: column; gap: 20px; }

.tool-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tool-pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.tool-pillar strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.tool-pillar p {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .tool-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ----------------------------------------------------------------
   12. METHODOLOGY
   ---------------------------------------------------------------- */
.methodology { background: var(--color-cream-light); }

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting line between steps */
.method-steps::before {
  content: '';
  position: absolute;
  top: 45px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-yellow) 33%, var(--color-teal) 66%, var(--color-lime));
  opacity: 0.25;
  pointer-events: none;
}

.method-step { text-align: center; }

.step-num-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.step-num {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--color-dark-3), var(--color-brown));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.method-step:hover .step-num {
  background: linear-gradient(145deg, var(--color-teal), var(--color-lime));
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(29,186,176,0.3);
}

.step-body h4 { color: var(--color-brown); margin-bottom: 10px; font-size: 1.1rem; }
.step-body p  { color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 0; }

@media (max-width: 860px) {
  .method-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .method-steps::before { display: none; }
}
@media (max-width: 480px) {
  .method-steps { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
}

/* ----------------------------------------------------------------
   13. CONTACT
   ---------------------------------------------------------------- */
.contact {
  background: var(--color-dark-2);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 8%  80%, rgba(232,78,27,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 92% 20%, rgba(29,186,176,0.1)  0%, transparent 50%);
  pointer-events: none;
}

.contact .section-header { position: relative; z-index: 2; }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Contact Info */
.contact-info h3 { color: var(--color-white); margin-bottom: 16px; font-size: 1.5rem; }
.contact-info > p { color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.detail-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.contact-detail-item a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}
.contact-detail-item a:hover { color: var(--color-yellow); }

.contact-tagline {
  padding: 22px 24px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--color-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
}
.contact-tagline p {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-brand-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
}

/* Form wrapper */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}

/* Form elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  font-size: 0.75rem;
}

.req { color: var(--color-orange); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--color-white);
  font-size: 0.93rem;
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-teal);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(29,186,176,0.15);
}

.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(232,78,27,0.15);
}

.form-group select {
  cursor: pointer;
  color: rgba(255,255,255,0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.form-group select.has-value { color: var(--color-white); }
.form-group select option    { background: var(--color-dark); color: var(--color-white); }

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

/* Privacy checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-teal);
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0;
}
.form-check label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 0;
}
.form-check label a { color: var(--color-teal); font-weight: 600; text-decoration: underline; }

/* Submit */
.form-submit .btn { width: 100%; justify-content: center; padding-block: 17px; font-size: 0.95rem; }
.form-submit .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* Form message */
.form-message {
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  display: none;
}
.form-message.is-success {
  display: block;
  background: rgba(29,186,176,0.12);
  border: 1px solid rgba(29,186,176,0.3);
  color: var(--color-teal);
}
.form-message.is-error {
  display: block;
  background: rgba(232,78,27,0.12);
  border: 1px solid rgba(232,78,27,0.3);
  color: #FF8060;
}

@media (max-width: 860px) {
  .contact-wrapper { grid-template-columns: 1fr; gap: 50px; }
  .contact-form-wrap { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ----------------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--color-dark);
  padding-block: 64px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}

.footer-col--brand { padding-right: 20px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-logo-icon { height: 120px; width: auto; }
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--color-white);
  line-height: 1;
}
.footer-logo-text strong { font-weight: 900; }

.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.footer-subtagline {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.25);
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--color-yellow); padding-left: 4px; }

.footer-contact-list p { margin-bottom: 10px; }
.footer-contact-list a {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-contact-list a:hover { color: var(--color-teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  margin-bottom: 0;
}
.footer-copy a { color: rgba(255,255,255,0.4); }
.footer-copy a:hover { color: var(--color-teal); }

.footer-credit {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
}
.footer-credit a {
  color: var(--color-teal);
  font-weight: 700;
  transition: var(--transition);
}
.footer-credit a:hover { color: var(--color-lime); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col--brand { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ----------------------------------------------------------------
   15. SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-revealed {
  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; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   16. ACCESSIBILITY & REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----------------------------------------------------------------
   17. RESPONSIVE FINE-TUNING
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  section { padding-block: 72px; }
  .section-header { margin-bottom: 44px; }
  .hero-content { padding-inline: 20px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: min(280px, 100%); justify-content: center; }
}

@media (max-width: 480px) {
  .contact-form-wrap { padding: 28px 20px; }
  .btn { padding: 13px 28px; }
  .diff-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE MOBILE — FIXES COMPLETOS
   ================================================================ */

/* ── ≤860px ──────────────────────────────────────────────────── */
@media (max-width: 860px) {

  /* Logos — grande arriba, compacto al hacer scroll */
  .nav-logo-icon  { height: 112px !important; width: auto !important; transition: height 0.35s ease !important; }
  .site-nav.scrolled .nav-logo-icon { height: 48px !important; }
  .hero-logo-wrap { display: none; }
  .footer-logo-icon { height: 80px !important; width: auto !important; }
  .footer-logo-text { display: none; }
  /* Hero top padding: account for large logo nav */
  .hero-content { padding-top: 160px; }

  /* Hero */
  .hero-content { padding: 110px 20px 60px; }
  .hero-headline { font-size: clamp(1.8rem, 6.5vw, 2.8rem); line-height: 1.2; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 12px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-brands-preview { flex-wrap: wrap; gap: 8px; }

  /* Sections */
  section { padding-block: 64px; }
  .section-header { margin-bottom: 40px; }
  .container { padding-inline: 16px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-card--dark { padding: 32px 24px; }
  .about-stat-row { flex-wrap: wrap; gap: 16px; }
  .about-stat-item { flex: 0 0 calc(50% - 8px); border-right: none; padding: 0; }

  /* Ecosystem */
  .brands-grid { grid-template-columns: 1fr; gap: 20px; max-width: 100%; }

  /* Differentiators */
  .diff-grid { grid-template-columns: 1fr; gap: 8px; }

  /* Tool */
  .tool-grid { grid-template-columns: 1fr; gap: 40px; }
  .tool-quote { padding: 24px 20px; }

  /* Methodology */
  .method-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .method-steps::before { display: none; }
  .step-num { width: 70px; height: 70px; font-size: 1.6rem; }

  /* Contact */
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-details { gap: 14px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col--brand { grid-column: 1 / -1; padding-right: 0; }
  .footer-bottom { flex-wrap: wrap; gap: 8px; }
}

/* ── ≤480px ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .nav-logo-icon  { height: 88px !important; }
  .site-nav.scrolled .nav-logo-icon { height: 40px !important; }
  .hero-content   { padding-top: 140px; }
  .hero-headline  { font-size: clamp(1.5rem, 7.5vw, 2.2rem); }
  .about-stat-item { flex: 0 0 100%; }
  .method-steps   { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
  .footer-top     { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .diff-grid      { grid-template-columns: 1fr; }
  .brand-card     { padding: 28px 20px; }
  .contact-form-wrap { padding: 20px 14px; }
  .btn            { padding: 12px 20px; font-size: 0.85rem; }
}

/* ----------------------------------------------------------------
   18. PRINT STYLES
   ---------------------------------------------------------------- */
@media print {
  .site-nav, .hero-scroll, .hero-bg-shapes { display: none; }
  .hero { min-height: auto; padding-block: 40px; background: #fff !important; }
  .hero-headline, .hero-desc { color: #000 !important; }
  .ecosystem, .tool-section, .contact { background: #f5f5f5 !important; }
}
