/* =============================================
   EXIL - Corporate Website Stylesheet
   Design System + Component Styles
   ============================================= */

/* =============================================
   0.1 CUSTOM FONTS
   ============================================= */

/* Google Fonts: Poppins (body text) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

/* The Seasons (headings) */
@font-face {
  font-family: 'The Seasons';
  src: url('../assets/fonts/The Seasons Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url('../assets/fonts/The Seasons Light Italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url('../assets/fonts/The Seasons Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url('../assets/fonts/The Seasons Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url('../assets/fonts/The Seasons Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url('../assets/fonts/The Seasons Bold Italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}


/* =============================================
   0. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================= */
:root {
  /* --- Color Palette --- */
  /* Primary: Dark Navy/Purple (Exil Custom) */
  --color-primary-900: #272C42;
  --color-primary-800: #2D3249;
  --color-primary-700: #363950;
  --color-primary-600: #404558;
  --color-primary-500: #4A515F;

  /* Accent: Warm Tan/Mauve (CTAs, highlights) */
  --color-accent: #B99B89;
  --color-accent-hover: #A68A7A;
  --color-accent-light: #C9B3A0;

  /* Silver / Gray Scale (adjusted for cream background) */
  --color-silver-50: #FFFFFF;
  --color-silver-100: #F3ECE4;
  --color-silver-200: #E8DFD5;
  --color-silver-300: #D9CDBE;
  --color-silver-400: #B8A89A;
  --color-silver-500: #8B7A6F;
  --color-silver-600: #6B5F56;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-text: #1C2A3A;
  --color-text-light: #475569;
  --color-text-muted: #94A3B8;

  /* Functional */
  --color-success: #10B981;
  --color-error: #EF4444;

  /* --- Typography --- */
  --font-heading: 'The Seasons', -apple-system, BlinkMacSystemFont, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes (fluid scale) */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* --- Spacing Scale --- */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* --- Layout --- */
  --container-max: 1200px;
  --container-padding: var(--space-6);
  --section-padding: var(--space-20);
  --header-height: 72px;

  /* --- Borders & Radius --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(11, 25, 41, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 25, 41, 0.07), 0 2px 4px -2px rgba(11, 25, 41, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(11, 25, 41, 0.08), 0 4px 6px -4px rgba(11, 25, 41, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(11, 25, 41, 0.1), 0 8px 10px -6px rgba(11, 25, 41, 0.06);
  --shadow-card: 0 1px 3px rgba(11, 25, 41, 0.06), 0 1px 2px rgba(11, 25, 41, 0.04);
  --shadow-card-hover: 0 10px 30px rgba(11, 25, 41, 0.12);

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


/* =============================================
   2. ACCESSIBILITY
   ============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 10000;
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

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


/* =============================================
   3. LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.section--silver {
  background-color: var(--color-white);
}

.section--dark {
  background-color: var(--color-primary-900);
  color: var(--color-white);
}


/* =============================================
   4. HEADER / NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

/* Transparent state (over hero) */
.site-header:not(.is-scrolled) {
  background-color: transparent;
}

/* Scrolled state */
.site-header.is-scrolled {
  background-color: rgba(39, 44, 66, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  color: var(--color-white);
  transition: opacity var(--transition-fast);
}

.logo:hover .logo-text {
  opacity: 0.85;
}

.logo-image {
  height: 50px;
  width: auto;
  display: block;
  transition: opacity var(--transition-fast);
}

.logo:hover .logo-image {
  opacity: 0.85;
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast),
              background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.is-active {
  color: var(--color-white);
}

.nav-link--cta {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  margin-left: var(--space-3);
}

.nav-link--cta:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
  transform-origin: center;
}

/* Hamburger open state */
.menu-toggle.is-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =============================================
   5. HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    var(--color-primary-900) 0%,
    var(--color-primary-800) 40%,
    var(--color-primary-700) 80%,
    var(--color-primary-600) 100%
  );
}

/* Subtle geometric pattern overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 25% 25%, var(--color-white) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, var(--color-white) 1px, transparent 2px);
  background-size: 60px 60px;
}

.hero-decoration {
  position: absolute;
  bottom: 0;
  right: 0%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-16);
  max-width: 1080px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards 0.2s;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards 0.4s;
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: var(--leading-relaxed);
  color: var(--color-silver-300);
  margin-bottom: var(--space-10);
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards 0.6s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards 0.8s;
}


/* =============================================
   6. BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 1px 3px rgba(185, 155, 137, 0.3);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 4px 12px rgba(185, 155, 137, 0.4);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.06);
}

.btn--full {
  width: 100%;
}


/* =============================================
   7. SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto var(--space-16);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-header--light .section-eyebrow {
  color: var(--color-accent-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary-900);
  margin-bottom: var(--space-4);
}

.section-header--light .section-title {
  color: var(--color-white);
}

.section-description {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-light);
}

.section-header--light .section-description {
  color: var(--color-silver-400);
}


/* =============================================
   8. ABOUT SECTION (Nosotros)
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-lead {
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: var(--leading-relaxed);
  color: var(--color-primary-800);
  margin-bottom: var(--space-6);
}

.about-text p {
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-illustration-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.about-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.3s;
}


/* =============================================
   9. DIFERENCIAL SECTION
   ============================================= */
.diferencial-visual {
  margin-bottom: var(--space-16);
}

.hub-diagram {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(185, 155, 137, 0.15),
              0 0 0 16px rgba(185, 155, 137, 0.07);
  z-index: 2;
}

.hub-center-text {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  line-height: var(--leading-snug);
}

/* Connecting lines */
.hub-spokes {
  position: absolute;
  inset: 0;
}

.hub-spokes::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.hub-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 3;
}

.hub-node-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  transition: all var(--transition-base);
}

.hub-node:hover .hub-node-icon {
  background: rgba(185, 155, 137, 0.2);
  border-color: var(--color-accent-light);
  transform: scale(1.1);
}

.hub-node-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-silver-400);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Position nodes at 6 hexagonal points */
.hub-node--1 {
  top: 8.75%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hub-node--2 {
  top: 29.4%;
  left: 85.7%;
  transform: translate(-50%, -50%);
}

.hub-node--3 {
  top: 70.6%;
  left: 85.7%;
  transform: translate(-50%, -50%);
}

.hub-node--4 {
  top: 91.25%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hub-node--5 {
  top: 70.6%;
  left: 14.3%;
  transform: translate(-50%, -50%);
}

.hub-node--6 {
  top: 29.4%;
  left: 14.3%;
  transform: translate(-50%, -50%);
}

/* Benefits */
.diferencial-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.benefit-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-5);
  background: rgba(185, 155, 137, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.benefit-text {
  font-size: var(--text-sm);
  color: var(--color-silver-400);
  line-height: var(--leading-relaxed);
}


/* =============================================
   10. SERVICES SECTION
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-silver-200);
  transition: box-shadow var(--transition-smooth),
              transform var(--transition-smooth);
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* Accent bar at top of card */
.service-card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-700), var(--color-accent));
  transition: height var(--transition-base);
}

.service-card:hover .service-card-accent {
  height: 4px;
}

.service-card-content {
  padding: var(--space-8);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--color-silver-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-700);
  margin-bottom: var(--space-6);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--color-primary-700);
  color: var(--color-white);
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary-900);
  margin-bottom: var(--space-3);
}

.service-description {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-features li {
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  padding-left: var(--space-5);
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}


/* =============================================
   11. TEAM SECTION
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.team-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-silver-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  overflow: hidden;
  position: relative;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Accent bar at top of team card (mirrors service-card-accent pattern) */
.team-card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-700), var(--color-accent));
  margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-6)) var(--space-6);
  transition: height var(--transition-base);
}

.team-card:hover .team-card-accent {
  height: 4px;
}

.team-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary-900);
  margin-bottom: var(--space-1);
}

.team-role {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}


/* =============================================
   12. CONTACT SECTION
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-item-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--color-silver-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-700);
}

.contact-item-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary-900);
  margin-bottom: var(--space-1);
}

.contact-item-text {
  font-size: var(--text-base);
  color: var(--color-text-light);
}

.contact-item-text a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

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

.contact-trust {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--color-silver-100);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent);
}

.contact-trust-text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

/* Form Styles */
.contact-form {
  background: var(--color-silver-50);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-silver-200);
}

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

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary-900);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-silver-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  min-height: 44px;
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(185, 155, 137, 0.12);
}

.form-input.is-error {
  border-color: var(--color-error);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7A8D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: var(--space-10);
}

.form-error {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
}


/* =============================================
   13. FOOTER
   ============================================= */
.site-footer {
  background-color: var(--color-primary-900);
  padding: var(--space-12) 0 var(--space-8);
  color: var(--color-silver-400);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-text--footer {
  font-size: var(--text-xl);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-silver-500);
  margin-top: var(--space-1);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-silver-400);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-6);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-silver-500);
  text-align: center;
}


/* =============================================
   14. ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* Scroll-triggered animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered animations for grids */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =============================================
   15. RESPONSIVE DESIGN
   ============================================= */

/* --- Tablet: 768px - 1024px --- */
@media (max-width: 1024px) {
  :root {
    --section-padding: var(--space-16);
  }

  .about-grid {
    grid-template-columns: 1fr;
    
  }

  .about-illustration-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .diferencial-benefits {
    gap: var(--space-6);
  }
}

/* --- Mobile: < 768px --- */
@media (max-width: 768px) {
  :root {
    --section-padding: var(--space-12);
    --container-padding: var(--space-5);
    --header-height: 64px;
  }

  /* Mobile navigation */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--color-primary-900);
    padding: calc(var(--header-height) + var(--space-8)) var(--space-6) var(--space-8);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-1);
  }

  .nav-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    border-radius: var(--radius-md);
  }

  .nav-link--cta {
    margin-left: 0;
    margin-top: var(--space-4);
    text-align: center;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hero mobile */
  .hero-content {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + var(--space-8));
    padding-bottom: 260px;
  }

  .hero-decoration {
    width: 100%;
    opacity: 0.7;
    right: 12%;
    transform: scale(1.3);
  }

  /* Section headers */
  .section-header {
    margin-bottom: var(--space-10);
  }

  .section-title br {
    display: none;
  }

  /* About */
  .about-illustration-wrapper {
    max-width: 300px;
    margin: 0 auto;
    padding: 0;
  }

  /* Diferencial */
  .hub-diagram {
    width: 260px;
    height: 260px;
  }

  .hub-center {
    width: 90px;
    height: 90px;
  }

  .diferencial-benefits {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-form {
    padding: var(--space-6);
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-6);
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }
}

/* --- Small mobile: < 480px --- */
@media (max-width: 480px) {
  :root {
    --container-padding: var(--space-4);
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .service-card-content {
    padding: var(--space-6);
  }
}


/* =============================================
   16. PRINT STYLES
   ============================================= */
@media print {
  .site-header,
  .menu-toggle,
  .contact-form,
  .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-gradient,
  .hero-pattern {
    display: none;
  }

  .hero-content {
    color: #000;
  }

  .section {
    padding: 2rem 0;
  }
}


/* =============================================
   17. REDUCED MOTION (Accessibility)
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-eyebrow,
  .hero-title,
  .hero-subtitle,
  .hero-actions {
    opacity: 1;
    transform: none;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  .stagger-item {
    opacity: 1;
    transform: none;
  }
}
