/* =============================================
   INFOVISION S.A — CORPORATE STYLESHEET
   ============================================= */

:root {
  --green: #97B112;
  --green-light: #afc827;
  --green-dark: #7a9010;
  --blue: #00467E;
  --blue-light: #0059a0;
  --blue-dark: #003360;
  --white: #ffffff;
  --off-white: #f6f7f3;
  --gray-50: #f8f9fa;
  --gray-100: #eef0ec;
  --gray-200: #dde1d8;
  --gray-400: #9aa399;
  --gray-600: #5a6358;
  --gray-800: #2a2f28;
  --gray-900: #161a14;
  --font-display: '', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 140px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- CONTAINERS ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--gray-900); }
h2 em { font-style: normal; color: var(--green); }
h3 { font-size: 1.25rem; font-weight: 700; }

/* ---- SECTION HEAD ---- */
.section-head { text-align: center; margin-bottom: 64px; }
.section-head p { color: var(--gray-600); max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); background: rgba(151,177,18,0.1); padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.section-label.light { color: var(--green); }
.section-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); transition: all var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(22,26,20,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), var(--shadow);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: flex; align-items: center; flex-shrink: 0; }
.logo-mark img, #site-logo { width: 230px; height: auto; object-fit: contain; display: block; }
.footer .logo-mark img, #footer-logo { width: 230px; height: auto; object-fit: contain; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.logo-sa { font-family: var(--font-display); font-size: 0.65rem; font-weight: 600; color: var(--green); letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--green); transition: width var(--transition); border-radius: 2px; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.btn-asesoria {
  flex-shrink: 0; padding: 10px 22px; border-radius: 100px;
  background: var(--green); color: var(--white); font-size: 0.88rem; font-weight: 600;
  transition: all var(--transition); box-shadow: 0 4px 16px rgba(151,177,18,0.35);
}
.btn-asesoria:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(151,177,18,0.45); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(22,26,20,0.98); backdrop-filter: blur(20px); padding: 20px 24px 28px; flex-direction: column; gap: 4px; border-top: 1px solid rgba(255,255,255,0.06); }
.mobile-link { color: rgba(255,255,255,0.8); font-size: 1rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color var(--transition); }
.mobile-link:hover { color: var(--green); }
.mobile-cta { margin-top: 16px; text-align: center; border-bottom: none; }
.mobile-menu.open { display: flex; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--gray-900); overflow: hidden; padding: var(--nav-h) 0 0;
}
.hero-bg { position: absolute; inset: 0; }
#networkCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(151,177,18,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,177,18,0.8) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.glow-1 { width: 600px; height: 600px; top: -150px; left: -100px; background: radial-gradient(circle, rgba(0,70,126,0.35) 0%, transparent 70%); }
.glow-2 { width: 500px; height: 500px; bottom: -100px; right: 0; background: radial-gradient(circle, rgba(151,177,18,0.2) 0%, transparent 70%); }

.hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr; gap: 32px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(151,177,18,0.12); border: 1px solid rgba(151,177,18,0.25);
  color: var(--green); padding: 8px 18px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  width: fit-content; animation: fadeUp 0.8s ease both;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(151,177,18,0.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(151,177,18,0.25); } 50% { box-shadow: 0 0 0 6px rgba(151,177,18,0.1); } }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 800; color: var(--white);
  line-height: 1.08; letter-spacing: -0.02em;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-title em { font-style: normal; color: var(--green); }

.hero-sub {
  color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 540px;
  line-height: 1.7; animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white); font-weight: 600;
  padding: 14px 28px; border-radius: 100px; font-size: 0.95rem;
  transition: all var(--transition); box-shadow: 0 6px 28px rgba(151,177,18,0.4);
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(151,177,18,0.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.85);
  padding: 14px 28px; border-radius: 100px; font-size: 0.95rem; font-weight: 500;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: rgba(151,177,18,0.05); }

.hero-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat span { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat small { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 4px; }
.hero-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

/* Hero visual cards */
.hero-visual { display: none; }

.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.3); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; animation: fadeUp 1s 0.8s ease both; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(transparent, rgba(151,177,18,0.5)); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

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

/* =============================================
   SERVICES
   ============================================= */
.services { padding: 100px 0; background: var(--gray-50); }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.service-card {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px 32px; border: 1px solid var(--gray-100);
  transition: all var(--transition); overflow: hidden; cursor: default;
  opacity: 0; transform: translateY(30px);
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.service-card.featured { background: var(--blue); border-color: var(--blue); }
.service-card.featured h3, .service-card.featured .sc-list li, .service-card.featured .sc-number { color: rgba(255,255,255,0.9); }
.service-card.featured .sc-icon { background: rgba(255,255,255,0.1); }
.service-card.featured .sc-icon svg { stroke: rgba(255,255,255,0.9); }
.service-card.featured .sc-link { color: var(--green); }
.service-card.featured .sc-list li::before { background: var(--green); }

.sc-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover .sc-accent { transform: scaleX(1); }
.service-card.featured .sc-accent { transform: scaleX(1); background: linear-gradient(90deg, var(--green), rgba(255,255,255,0.3)); }

.sc-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--green); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.sc-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(151,177,18,0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: all var(--transition);
}
.sc-icon svg { stroke: var(--green); }
.service-card:hover .sc-icon { background: rgba(151,177,18,0.18); }
.sc-number { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: var(--gray-400); letter-spacing: 0.08em; margin-bottom: 8px; }
.service-card h3 { margin-bottom: 20px; color: var(--gray-900); font-size: 1.2rem; }
.sc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.sc-list li { font-size: 0.9rem; color: var(--gray-600); padding-left: 16px; position: relative; }
.sc-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.sc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--blue); transition: gap var(--transition); }
.sc-link:hover { gap: 10px; }

/* =============================================
   WHY US
   ============================================= */
.why-us { padding: 100px 0; background: var(--gray-900); position: relative; overflow: hidden; }
.why-bg { position: absolute; inset: 0; }
.why-shape {
  position: absolute; top: -200px; right: -200px; width: 700px; height: 700px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,70,126,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.why-left h2 { color: var(--white); }
.why-left p { color: rgba(255,255,255,0.55); margin: 20px 0 36px; font-size: 1rem; line-height: 1.75; }
.why-values { display: flex; flex-direction: column; gap: 20px; }
.wv-item { display: flex; gap: 16px; align-items: flex-start; }
.wv-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; background: rgba(151,177,18,0.15); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.wv-item strong { display: block; color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.wv-item span { color: rgba(255,255,255,0.45); font-size: 0.85rem; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 28px 24px; backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(151,177,18,0.3); }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 8px; }
.stat-num .counter { font-size: inherit; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.stat-bar { height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.stat-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--blue-light)); border-radius: 2px; width: 0%; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* =============================================
   TECH SECTION
   ============================================= */
.tech-section { padding: 100px 0; background: var(--white); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-item {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 36px 20px; border-radius: var(--radius); border: 1px solid var(--gray-100);
  transition: all var(--transition); cursor: default;
  opacity: 0; transform: translateY(20px);
}
.tech-item.visible { opacity: 1; transform: translateY(0); }
.tech-item:hover { border-color: var(--green); background: rgba(151,177,18,0.04); transform: translateY(-4px); }
.ti-icon {
  width: 64px; height: 64px; border-radius: 16px; background: var(--gray-50);
  display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.ti-icon svg { stroke: var(--blue); transition: stroke var(--transition); }
.tech-item:hover .ti-icon { background: var(--blue); }
.tech-item:hover .ti-icon svg { stroke: var(--white); }
.tech-item span { font-size: 0.88rem; font-weight: 600; color: var(--gray-600); text-align: center; transition: color var(--transition); }
.tech-item:hover span { color: var(--blue); }

/* =============================================
   CONTACT
   ============================================= */
.contact { padding: 100px 0; background: var(--gray-50); }
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 36px; line-height: 1.75; }
.ci-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: rgba(151,177,18,0.1); display: flex; align-items: center; justify-content: center; }
.ci-item strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--gray-800); margin-bottom: 2px; }
.ci-item span { color: var(--gray-600); font-size: 0.88rem; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white); font-weight: 600;
  padding: 13px 24px; border-radius: 100px; font-size: 0.92rem;
  transition: all var(--transition); box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #20bc5a; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.4); }

/* FORM */
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg); padding: 44px 40px;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field label { font-size: 0.84rem; font-weight: 600; color: var(--gray-700); }
.cf-field input, .cf-field select, .cf-field textarea {
  padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--gray-200);
  font-family: var(--font-body); font-size: 0.92rem; color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white); outline: none; width: 100%;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(151,177,18,0.12);
}
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa399' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: var(--white); font-weight: 700;
  padding: 15px 32px; border-radius: 100px; font-size: 0.95rem; font-family: var(--font-body);
  border: none; cursor: pointer; transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(0,70,126,0.3);
}
.btn-submit:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,70,126,0.4); }
.form-message { font-size: 0.88rem; font-weight: 500; min-height: 20px; text-align: center; }
.form-message.success { color: var(--green); }
.form-message.error { color: #e05555; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--gray-900); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.social-links { display: flex; gap: 10px; margin-top: 24px; }
.social-link {
  width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4);
  transition: all var(--transition);
}
.social-link:hover { background: var(--green); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.4); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--green); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,0.4); font-size: 0.86rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { color: rgba(255,255,255,0.25); font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); font-size: 0.82rem; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--green); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }
.wa-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--gray-900); color: var(--white); font-size: 0.8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .btn-asesoria { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 60px 24px; }
  .hero-stats { gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* Responsive logo sizing when header is large */
@media (max-width: 1024px) {
  .logo-mark img, #site-logo { width: 140px; }
}
@media (max-width: 480px) {
  .logo-mark img, #site-logo { width: 110px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-div { display: none; }
}

/* Scroll reveal animation delays */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.08s; }
.service-card:nth-child(3) { transition-delay: 0.16s; }
.service-card:nth-child(4) { transition-delay: 0.24s; }
.service-card { transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition), border-color var(--transition); }
.tech-item:nth-child(n) { transition: opacity 0.5s ease calc(var(--i, 0) * 0.07s), transform 0.5s ease calc(var(--i, 0) * 0.07s), border-color var(--transition), background var(--transition); }

/* Back to top button */
.back-to-top {
  position: fixed; right: 28px; bottom: 96px; z-index: 1001;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(151,177,18,0.28);
  cursor: pointer; opacity: 0; transform: translateY(12px); transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.back-to-top svg { width: 20px; height: 20px; stroke: #fff; }
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (max-width: 480px) {
  .back-to-top { right: 16px; bottom: 84px; width: 50px; height: 50px; }
}
