/* ---------------------------------------------------------
   Búhos SpA — paleta "Arctic"
   Tema claro helado: blancos azulados, hielo y celeste glaciar.
   Generado a partir de styles.css: misma estructura y utilidades,
   solo cambian los tokens de color en :root.
--------------------------------------------------------- */
:root {
  /* Arctic palette */
  --radius: .875rem;

  --background: oklch(97% .01 230);
  --foreground: oklch(22% .04 250);
  --card: oklch(99% .005 230);

  --primary: oklch(68% .11 220);
  --primary-foreground: oklch(99% .005 230);

  --secondary: oklch(93% .015 225);
  --secondary-foreground: oklch(22% .04 250);

  --muted: oklch(94% .012 225);
  --muted-foreground: oklch(45% .03 240);

  --accent: oklch(78% .1 200);

  --border: oklch(22% .04 250 / .1);
  --input: oklch(22% .04 250 / .14);
  --ring: oklch(68% .11 220);

  --gradient-primary: linear-gradient(120deg, oklch(78% .1 200), oklch(60% .13 240));
  --gradient-surface: linear-gradient(160deg, oklch(22% .04 250 / .05), oklch(22% .04 250 / .01));
  --glow-primary: 0 0 0 1px oklch(68% .11 220 / .25), 0 24px 60px -20px oklch(68% .11 220 / .35);
  --shadow-elevated: 0 30px 80px -40px oklch(40% .05 240 / .22);

  --grid-line: oklch(22% .04 250 / .06);

  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
svg { display: block; }

.icon-xs { width: 1rem; height: 1rem; }
.icon-sm { width: 1.25rem; height: 1.25rem; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.mt-lg { margin-top: 2rem; }

/* ---------------------------------------------------------
   Shared effects
--------------------------------------------------------- */
.glass-panel {
  background: var(--gradient-surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
}

.glow-ring { box-shadow: var(--glow-primary); }

.text-gradient {
  background: var(--gradient-primary);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: .4;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

.eyebrow {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.h2 {
  margin-top: .75rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 640px) { .h2 { font-size: 2.25rem; } }

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: inherit;
  border-radius: .75rem;
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}

.btn--primary {
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  font-weight: 600;
  box-shadow: var(--glow-primary);
}
.btn--primary:hover { transform: translateY(-2px); }

.btn--outline {
  background: var(--gradient-surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
  color: var(--foreground);
  font-weight: 500;
}
.btn--outline:hover { border-color: oklch(78% .16 195 / .4); color: var(--primary); }

.btn--lg { height: 3rem; padding: 0 2rem; font-size: 1rem; border-radius: .75rem; }
.btn--sm { height: 2.25rem; padding: 0 1rem; font-size: .75rem; border-radius: .5rem; }

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  margin: 1rem auto 0;
  max-width: 72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: .75rem 1.25rem;
}

.brand { display: flex; align-items: center; gap: .5rem; }

.brand__mark {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: .75rem;
  background: oklch(78% .16 195 / .15);
  color: var(--primary);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.main-nav { display: none; align-items: center; gap: 1.75rem; }
.main-nav a {
  font-size: .875rem;
  color: var(--muted-foreground);
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--foreground); }

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: .25rem;
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .header-cta { display: block; }
  .menu-toggle { display: none; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  margin: .5rem 1.25rem 0;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--gradient-surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: .6rem .25rem;
  font-size: .9375rem;
  color: var(--muted-foreground);
}
.mobile-nav a:hover { color: var(--foreground); }
.mobile-nav .btn { margin-top: .5rem; align-self: flex-start; }

@media (min-width: 768px) {
  .mobile-nav { display: none !important; }
}

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 6rem;
}
@media (min-width: 640px) { .hero { padding-top: 11rem; } }

.hero__inner {
  position: relative;
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 1.25rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .375rem 1rem;
  font-size: .75rem;
  color: var(--muted-foreground);
}

.hero__title {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
}
@media (min-width: 640px) { .hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.75rem; } }

.hero__lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--muted-foreground);
  font-size: 1rem;
}
@media (min-width: 640px) { .hero__lead { font-size: 1.125rem; } }

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero__stats {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(3, 1fr); } }

.hero__stats dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}
.hero__stats dd {
  margin-top: .25rem;
  font-size: .875rem;
  color: var(--muted-foreground);
}

.hero__media { position: relative; }

.hero__glow {
  position: absolute;
  inset: -1.5rem;
  border-radius: 2rem;
  background-image: var(--gradient-primary);
  opacity: .2;
  filter: blur(64px);
}

.hero__img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  border: 1px solid var(--border);
  object-fit: cover;
}

/* ---------------------------------------------------------
   Sections
--------------------------------------------------------- */
.section {
  margin: 0 auto;
  max-width: 72rem;
  padding: 6rem 1.25rem;
}
.section--last { padding-bottom: 6rem; padding-top: 0; }

.section__head { max-width: 42rem; }

.section__grid { display: grid; gap: 2.5rem; }
.section__grid--about { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .section__grid--about { grid-template-columns: 1fr 1.2fr; } }

.about__copy { display: flex; flex-direction: column; gap: 1.25rem; color: var(--muted-foreground); }

/* Services / step cards */
.cards-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--gradient-surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: oklch(78% .16 195 / .4); }

.card__icon {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: .75rem;
  background: oklch(78% .16 195 / .12);
  color: var(--primary);
  transition: background-color .25s ease;
}
.card:hover .card__icon { background: oklch(78% .16 195 / .2); }

.card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.card p { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* Enfoque steps */
.steps {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step__num { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; display: block; }

/* Panels (IA + contacto) */
.panel {
  border-radius: 1.5rem;
  padding: 2rem;
}
@media (min-width: 640px) { .panel { padding: 3rem; } }

.panel--split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .panel--split { grid-template-columns: repeat(2, 1fr); } }

.panel__lead { margin-top: 1.25rem; color: var(--muted-foreground); }
.panel__lead--sm { max-width: 28rem; margin-top: 1rem; }

.feature-list { display: flex; flex-direction: column; gap: .75rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  border-radius: .75rem;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, oklch(95% 0.0185 245.559), oklch(90% 0.01965 245.78));
  padding: 1rem;
  font-size: .875rem;
}
.feature-list li svg { margin-top: .125rem; flex-shrink: 0; }
.feature-list li span { color: var(--muted-foreground); }

.section__grid--contact { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .section__grid--contact { grid-template-columns: repeat(2, 1fr); } }

.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: .75rem;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, oklch(95% 0.0185 245.559), oklch(90% 0.01965 245.78));
  padding: 1rem;
}
.contact-list li a { font-size: .875rem; }
.contact-list li a:hover { color: var(--primary); }
.contact-list li span { font-size: .875rem; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.site-footer__inner {
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .875rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .site-footer__inner { flex-direction: row; } }
