/*
Theme Name: Lampo
Theme URI: https://lampo.cl
Author: Lampo Technologies
Author URI: https://lampo.cl
Description: Sitio corporativo Lampo — Soluciones tecnológicas innovadoras. Especialistas en IA, Cloud, IoT, Integraciones, Análisis de Datos y Big Data.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lampo
Tags: technology, dark, modern, business, one-page
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Colors */
  --c-bg:           #080B12;
  --c-bg2:          #0D1117;
  --c-card:         #111827;
  --c-card-hover:   #162033;
  --c-accent:       #E8450A;
  --c-accent-light: #FF5A1F;
  --c-accent-glow:  rgba(232, 69, 10, 0.25);
  --c-white:        #FFFFFF;
  --c-muted:        #94A3B8;
  --c-subtle:       #4B5563;
  --c-border:       rgba(255, 255, 255, 0.07);
  --c-border-hover: rgba(232, 69, 10, 0.4);
  --c-cream:        #F4F3EF;

  /* Typography */
  --f-heading: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'DM Sans', Arial, sans-serif;

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

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-normal: 0.3s ease;
  --t-slow:   0.5s ease;

  /* Shadows */
  --shadow-card:   0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 0 40px rgba(232, 69, 10, 0.35);
}

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

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

body {
  font-family: var(--f-body);
  font-weight: 300;
  background: var(--c-bg);
  color: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--c-muted); line-height: 1.7; }

.text-accent { color: var(--c-accent); }
.text-muted  { color: var(--c-muted); }
.text-white  { color: var(--c-white); }

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

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

.section-label {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
  color: var(--c-white);
}

.section-title em {
  font-style: normal;
  color: var(--c-accent);
}

.section-desc {
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: all var(--t-normal);
  border: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-accent-light);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid var(--c-border);
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: translateY(-2px);
}

/* ============================================
   BADGE
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-family: var(--f-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-live {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse-dot 2s ease-in-out infinite;
}

.badge-dev {
  background: rgba(232, 69, 10, 0.12);
  color: var(--c-accent);
  border: 1px solid rgba(232, 69, 10, 0.25);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--t-normal);
}

.navbar.scrolled {
  background: rgba(8, 11, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  padding: 0.875rem 0;
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}
.navbar__logo img {
  max-width: 100%;
  height: auto;
}

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

.navbar__nav a {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--c-muted);
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
}
.navbar__nav a:hover { color: var(--c-white); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-white);
  transition: all var(--t-normal);
  border-radius: 2px;
}
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(8, 11, 18, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-md);
}
.navbar__mobile.open { display: block; }
.navbar__mobile a {
  display: block;
  padding: 0.875rem 0;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t-fast);
}
.navbar__mobile a:last-of-type { border-bottom: none; }
.navbar__mobile a:hover { color: var(--c-white); }
.navbar__mobile .btn {
  margin-top: var(--space-md);
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .navbar__nav,
  .navbar__actions .btn { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__logo img { width: 160px; height: auto; }
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--c-bg);
}

.hero__bg::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,69,10,0.13) 0%, transparent 68%);
  top: -250px; left: -250px;
  animation: orb-drift 22s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,69,10,0.07) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 20%, transparent 100%);
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(70px, 50px) scale(1.12); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,69,10,0.1);
  border: 1px solid rgba(232,69,10,0.22);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-family: var(--f-heading);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-lg);
  animation: fade-in-up 0.7s ease both;
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  color: var(--c-white);
  margin-bottom: var(--space-md);
  animation: fade-in-up 0.7s 0.1s ease both;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--c-muted);
  margin-bottom: var(--space-lg);
  max-width: 580px;
  animation: fade-in-up 0.7s 0.2s ease both;
}

.hero__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: var(--space-xl);
  animation: fade-in-up 0.7s 0.3s ease both;
}
.hero__stack span {
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-family: var(--f-heading);
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: -0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  animation: fade-in-up 0.7s 0.4s ease both;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fade-in 1.2s 1.2s ease both;
  opacity: 0;
}
.hero__scroll-hint span {
  font-size: 0.625rem;
  font-family: var(--f-heading);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-subtle);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--c-accent) 0%, transparent 100%);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0%   { transform: scaleY(1) translateY(0); opacity: 1; }
  100% { transform: scaleY(0.4) translateY(18px); opacity: 0; }
}

/* ============================================
   SECTION: SERVICES
   ============================================ */
.services {
  background: var(--c-bg2);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,69,10,0.5), transparent);
}

.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  gap: var(--space-lg);
}
.services-intro .section-desc { margin-bottom: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--c-bg2);
  padding: 2.25rem var(--space-md);
  transition: background var(--t-normal);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), transparent);
  opacity: 0;
  transition: opacity var(--t-normal);
}
.service-card:hover { background: var(--c-card-hover); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 44px; height: 44px;
  color: var(--c-accent);
  margin-bottom: var(--space-md);
}
.service-card h3 {
  font-size: 1.0625rem;
  color: var(--c-white);
  margin-bottom: 0.625rem;
}
.service-card p { font-size: 0.875rem; line-height: 1.65; }

/* ============================================
   SECTION: PROJECTS
   ============================================ */
.projects { background: var(--c-bg); }

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  gap: var(--space-lg);
}
.projects-header .section-desc { margin-bottom: 0; }

.projects-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.project-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-normal);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

/* Featured project */
.project-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-direction: unset;
}
.project-card--featured .project-card__visual {
  height: auto;
  min-height: 300px;
}
.project-card--featured .project-card__body {
  padding: 3rem var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-card__visual {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visual backgrounds per project */
.project-agroerp   .project-card__visual { background: linear-gradient(135deg, #071A10 0%, #031008 100%); }
.project-segvial   .project-card__visual { background: linear-gradient(135deg, #14100A 0%, #0A0805 100%); }
.project-conta     .project-card__visual { background: linear-gradient(135deg, #081018 0%, #040810 100%); }
.project-iot       .project-card__visual { background: linear-gradient(135deg, #100814 0%, #080510 100%); }

.project-card__visual-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0.9;
}
.project-agroerp .project-card__visual-glow {
  background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%);
}
.project-segvial .project-card__visual-glow {
  background: radial-gradient(circle, rgba(251,191,36,0.18) 0%, transparent 70%);
}
.project-conta .project-card__visual-glow {
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
}
.project-iot .project-card__visual-glow {
  background: radial-gradient(circle, rgba(232,69,10,0.2) 0%, transparent 70%);
}

.project-card__visual-icon {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
}
.project-agroerp .project-card__visual-icon { color: rgba(16,185,129,0.7); }
.project-segvial .project-card__visual-icon { color: rgba(251,191,36,0.7); }
.project-conta   .project-card__visual-icon { color: rgba(99,102,241,0.7); }
.project-iot     .project-card__visual-icon { color: rgba(232,69,10,0.7); }

.project-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: var(--space-sm);
}
.project-card h3 {
  color: var(--c-white);
  font-size: 1.25rem;
}
.project-card p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: var(--space-md);
}
.project-tag {
  padding: 0.25rem 0.625rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-family: var(--f-heading);
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.03em;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-accent);
  transition: gap var(--t-fast);
  margin-top: auto;
  width: fit-content;
}
.project-card__link:hover { gap: 0.875rem; }
.project-card__link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================
   SECTION: INDUSTRIES
   ============================================ */
.industries {
  background: var(--c-bg2);
  position: relative;
  overflow: hidden;
}
.industries::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,69,10,0.5), transparent);
}
.industries::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 55% at 50% 100%, rgba(232,69,10,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: var(--space-md);
  background: rgba(255,255,255,0.022);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: all var(--t-normal);
}
.industry-card:hover {
  background: rgba(232,69,10,0.06);
  border-color: rgba(232,69,10,0.22);
  transform: translateY(-3px);
}

.industry-icon {
  width: 44px; height: 44px;
  background: rgba(232,69,10,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.industry-icon svg { width: 22px; height: 22px; }
.industry-card h4 { color: var(--c-white); font-size: 1rem; }
.industry-card p  { font-size: 0.875rem; }

/* ============================================
   SECTION: ABOUT / MISSION
   ============================================ */
.about { background: var(--c-bg); }

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

.about__quote {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--c-white);
}
.about__quote .line-accent { color: var(--c-accent); }
.about__quote .line-ghost  {
  color: rgba(255,255,255,0.18);
  font-weight: 300;
  font-family: var(--f-body);
  letter-spacing: 0.25em;
  font-size: 0.55em;
  display: block;
  margin-top: 0.5rem;
}

.about__text p {
  font-size: 1.0625rem;
  margin-bottom: var(--space-md);
}
.about__text p:last-of-type { margin-bottom: 0; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-border);
}
.about__stat-num {
  font-family: var(--f-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}
.about__stat p { font-size: 0.8125rem; color: var(--c-muted); }

/* ============================================
   SECTION: CONTACT / CTA
   ============================================ */
.cta-section {
  background: var(--c-bg);
  padding-bottom: var(--space-3xl);
}

.cta-inner {
  background: linear-gradient(135deg, rgba(232,69,10,0.13) 0%, rgba(232,69,10,0.04) 100%);
  border: 1px solid rgba(232,69,10,0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(232,69,10,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 { margin-bottom: var(--space-md); position: relative; }
.cta-inner p  {
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.cta-contact-form {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: var(--space-sm);
  text-align: left;
}

.form-group label {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--c-muted);
  letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(232,69,10,0.5);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--c-card); }

.form-submit { width: 100%; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--space-md);
}

.footer-brand__logo { margin-bottom: var(--space-sm); }
.footer-brand p {
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.65;
}

.footer-col h5 {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--c-white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--c-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.8rem; }

.footer-social {
  display: flex;
  gap: 0.625rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.footer-social svg { width: 15px; height: 15px; }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.26s; }
.stagger-5 { transition-delay: 0.33s; }
.stagger-6 { transition-delay: 0.40s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid         { grid-template-columns: repeat(2, 1fr); }
  .projects-layout       { grid-template-columns: 1fr; }
  .project-card--featured { grid-template-columns: 1fr; flex-direction: column; }
  .project-card--featured .project-card__visual { min-height: 220px; }
  .project-card--featured .project-card__body   { padding: var(--space-md); }
  .footer-top            { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .about__inner          { grid-template-columns: 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-xl:  3rem;
  }
  .services-grid       { grid-template-columns: 1fr; }
  .industries-grid     { grid-template-columns: repeat(2, 1fr); }
  .services-intro,
  .projects-header     { flex-direction: column; align-items: flex-start; }
  .about__stats        { grid-template-columns: repeat(3, 1fr); }
  .cta-inner           { padding: var(--space-xl) var(--space-md); border-radius: var(--radius-lg); }
  .footer-top          { grid-template-columns: 1fr; }
  .footer-bottom       { flex-direction: column; gap: var(--space-md); text-align: center; }
  .form-row            { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .hero__actions   { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .about__stats    { grid-template-columns: 1fr; }
}
