/* ================================================================
   PyFsa Software — Design System
   Dark editorial · Acid lime accent
   Fonts: Bebas Neue (display) · DM Sans (body) · JetBrains Mono (accent)
   ================================================================ */

/* ----------------------------------------------------------------
   Variables
   ---------------------------------------------------------------- */
:root {
  --bg:           #080808;
  --surface:      #0f0f0f;
  --surface-2:    #161616;
  --text:         #f0f0eb;
  --text-muted:   #888888;
  --text-faint:   #3a3a3a;
  --accent:       #c5f135;
  --accent-dark:  #9abd1a;
  --accent-glow:  rgba(197, 241, 53, 0.10);
  --border:       #1e1e1e;
  --border-mid:   #2a2a2a;
  --green-wa:     #25D366;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius:     6px;
  --transition: 0.3s ease;
}

/* ----------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; line-height: 1.1; }
img { max-width: 100%; display: block; }

section { padding: 100px 0; overflow: hidden; }

/* ----------------------------------------------------------------
   Shared Utilities
   ---------------------------------------------------------------- */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}
.section-label.light { color: rgba(197, 241, 53, 0.65); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.02;
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 0.75rem;
}

.section-header { margin-bottom: 3rem; }
.section-header.text-center .section-label,
.section-header.text-center .section-title,
.section-header.text-center .section-subtitle {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------------
   Header
   ---------------------------------------------------------------- */
#header {
  height: 72px;
  z-index: 997;
  transition: all 0.4s;
  background: transparent;
}
#header.header-scrolled {
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

#logo .logo-link {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--text);
}
#logo .logo-link:hover { color: var(--text); }
.logo-py { color: var(--accent); }
.logo-fsa { color: var(--text); }

/* Desktop nav */
.navbar { padding: 0; }
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2px;
}
.navbar a,
.navbar a:focus {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 240, 235, 0.55);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.navbar a:hover,
.navbar .active,
.navbar .active:focus {
  color: var(--text);
  background: var(--surface-2);
}

/* Mobile toggle */
.mobile-nav-toggle {
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: var(--transition);
}
@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}

/* Mobile nav overlay */
.navbar-mobile {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
}
.navbar-mobile ul {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
}
.navbar-mobile a,
.navbar-mobile a:focus {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 32px;
  background: none;
  justify-content: center;
}
.navbar-mobile a:hover { color: var(--accent); background: none; }
.navbar-mobile .mobile-nav-toggle { color: var(--text-muted); }

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
#hero {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(197, 241, 53, 0.07) 0%, transparent 65%);
  pointer-events: none;
  animation: pulse-glow 7s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.12); opacity: 0.65; }
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 110px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.1s;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 128px);
  line-height: 0.93;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 2rem;
}
.hero-line {
  display: block;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-line:nth-child(1) { animation-delay: 0.25s; }
.hero-line:nth-child(2) { animation-delay: 0.42s; }
.hero-line:nth-child(3) { animation-delay: 0.58s; }
.accent-text { color: var(--accent); }

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.72s;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.88s;
}

.btn-primary-cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 34px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 2px;
  display: inline-block;
  transition: var(--transition);
}
.btn-primary-cta:hover {
  background: var(--accent-dark);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-secondary-cta {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  padding: 14px 34px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-mid);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-secondary-cta i { font-size: 18px; }
.btn-secondary-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 22px 0;
  z-index: 3;
  animation: fadeUp 0.9s ease both;
  animation-delay: 1.05s;
}
.hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 40px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border-mid);
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .stat-divider { display: none; }
  .stat-item { padding: 8px 20px; }
}

/* ----------------------------------------------------------------
   Fade-up keyframe (shared)
   ---------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   About
   ---------------------------------------------------------------- */
#about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.about-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 1.5rem;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-list li i { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-wrapper img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.75);
  transition: filter 0.5s;
}
.about-img-wrapper:hover img { filter: brightness(0.82) saturate(1); }

.about-img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(197, 241, 53, 0.4);
  padding: 12px 20px;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.about-img-badge-text {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--accent);
  display: block;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.about-img-badge-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   Services
   ---------------------------------------------------------------- */
#features { background: var(--bg); }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  position: relative;
  transition: border-color 0.35s, transform 0.35s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-glow);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(197, 241, 53, 0.28);
  transform: translateY(-5px);
}
.service-card:hover::before { opacity: 1; }

.service-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.service-card:hover .service-number { color: var(--accent); }

.service-icon { margin-bottom: 1rem; }
.service-icon i {
  font-size: 28px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.service-card:hover .service-icon i { color: var(--accent); }

.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.68;
  margin: 0;
}

/* Accent card */
.service-card-accent {
  background: var(--accent);
  border-color: var(--accent);
}
.service-card-accent::before { display: none; }
.service-card-accent:hover { transform: translateY(-5px); border-color: var(--accent-dark); }
.service-custom-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(8, 8, 8, 0.55);
  margin-bottom: 1rem;
}
.service-card-accent .service-title { color: var(--bg); font-size: 28px; }
.service-card-accent .service-desc { color: rgba(8, 8, 8, 0.68); }
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  margin-top: 1.5rem;
  padding: 10px 20px;
  background: rgba(8, 8, 8, 0.14);
  border-radius: 2px;
  transition: background 0.3s;
}
.service-cta:hover { background: rgba(8, 8, 8, 0.28); color: var(--bg); }

/* ----------------------------------------------------------------
   Why Us
   ---------------------------------------------------------------- */
#why-us {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-us-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-us-header {
  padding: 56px 48px;
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-us-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.08;
  margin: 0;
}
.why-feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 36px 48px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.why-feature:last-child { border-bottom: none; }
.why-feature:hover { background: rgba(197, 241, 53, 0.035); }
.why-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.why-feature:hover .why-feature-icon { border-color: var(--accent); background: var(--accent-glow); }
.why-feature-icon i { font-size: 20px; color: var(--text-muted); transition: color 0.3s; }
.why-feature:hover .why-feature-icon i { color: var(--accent); }
.why-feature-body h4 {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 6px;
}
.why-feature-body p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }

@media (max-width: 991px) {
  .why-us-header { border-right: none; border-bottom: 1px solid var(--border); padding: 40px; }
  .why-feature { padding: 28px 40px; }
}
@media (max-width: 576px) {
  .why-us-header { padding: 32px; }
  .why-feature { padding: 24px 32px; }
}

/* ----------------------------------------------------------------
   CTA
   ---------------------------------------------------------------- */
#call-to-action {
  background: var(--bg);
  padding: 80px 0;
}
.cta-inner {
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.04;
  margin: 0;
}
.cta-action {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cta-whatsapp-btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  background: var(--green-wa);
  color: #fff;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: var(--transition);
}
.cta-whatsapp-btn i { font-size: 20px; }
.cta-whatsapp-btn:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }
.cta-or {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
.cta-form-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 1px;
}
.cta-form-link:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 767px) {
  .cta-inner { padding: 40px; flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------
   Clients
   ---------------------------------------------------------------- */
#clients {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
  background: var(--border);
}
@media (max-width: 991px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .clients-grid { grid-template-columns: repeat(2, 1fr); } }

.client-item {
  background: var(--surface-2);
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.client-item:hover { background: var(--surface); }
.client-item img {
  max-width: 130px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s, filter 0.3s;
}
.client-item:hover img { opacity: 1; }

/* ----------------------------------------------------------------
   Team
   ---------------------------------------------------------------- */
#team { background: var(--bg); }

.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  text-align: center;
  transition: border-color 0.35s, transform 0.35s;
}
.member-card:hover {
  border-color: rgba(197, 241, 53, 0.22);
  transform: translateY(-5px);
}
.member-pic {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  flex-shrink: 0;
  border: 2px solid var(--border-mid);
  box-shadow:
    0 0 0 5px var(--surface),
    0 0 0 7px rgba(197, 241, 53, 0.18);
  transition: box-shadow 0.4s;
}
.member-card:hover .member-pic {
  box-shadow:
    0 0 0 5px var(--surface),
    0 0 0 7px rgba(197, 241, 53, 0.5);
}
.member-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: filter 0.5s, transform 0.5s;
}
.member-card:hover .member-pic img {
  filter: grayscale(0%);
  transform: scale(1.06);
}
.member-info { padding: 0; }
.member-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 4px;
}
.member-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 18px;
}
.member-social { display: flex; gap: 8px; justify-content: center; }
.member-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}
.member-social a:hover { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }

/* ----------------------------------------------------------------
   Contact
   ---------------------------------------------------------------- */
#contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.contact-intro {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.72;
  margin-bottom: 2.5rem;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon i { font-size: 18px; color: var(--accent); }
.contact-detail strong {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 2px;
}
.contact-detail p { margin: 0; font-size: 14px; color: var(--text-muted); }
.contact-detail a { color: var(--text-muted); }
.contact-detail a:hover { color: var(--accent); }

.contact-social { display: flex; gap: 10px; }
.contact-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 18px;
  transition: var(--transition);
}
.contact-social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

.contact-form-wrapper {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-wrapper .form-control {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  color: var(--text);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form-wrapper .form-control:focus {
  background: var(--surface);
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 241, 53, 0.1);
  outline: none;
}
.contact-form-wrapper .form-control::placeholder { color: var(--text-faint); }
.contact-form-wrapper textarea.form-control { resize: vertical; min-height: 130px; }

.contact-form-wrapper button[type="submit"] {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  transition: var(--transition);
}
.contact-form-wrapper button[type="submit"]:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.php-email-form .loading {
  display: none;
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.php-email-form .error-message {
  display: none;
  padding: 12px 16px;
  background: rgba(237, 60, 13, 0.1);
  border: 1px solid rgba(237, 60, 13, 0.3);
  border-radius: var(--radius);
  color: #ed3c0d;
  font-size: 13px;
  margin-bottom: 12px;
}
.php-email-form .sent-message {
  display: none;
  padding: 12px 16px;
  background: rgba(24, 210, 110, 0.08);
  border: 1px solid rgba(24, 210, 110, 0.3);
  border-radius: var(--radius);
  color: #18d26e;
  font-size: 13px;
  margin-bottom: 12px;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
#footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-brand .logo-py {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.footer-brand .logo-fsa {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--text);
  letter-spacing: 0.12em;
}
.footer-brand p { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.65; }

.footer-links-group { display: flex; flex-direction: column; gap: 9px; }
.footer-links-group a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links-group a:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-contact a { font-size: 13px; color: var(--text-muted); transition: color 0.3s; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ----------------------------------------------------------------
   Testimonials
   ---------------------------------------------------------------- */
#testimonials {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  transition: border-color 0.35s, transform 0.35s;
}
.testimonial-card:hover {
  border-color: rgba(197, 241, 53, 0.22);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--accent);
  line-height: 0.65;
  margin-bottom: 1.25rem;
  opacity: 0.55;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--accent-glow);
  border: 1px solid rgba(197, 241, 53, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text);
  display: block;
  line-height: 1.2;
}
.testimonial-role {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

/* ----------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------- */
#faq { background: var(--bg); }

.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2rem;
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 2px;
  transition: var(--transition);
}
.faq-cta:hover { color: var(--accent); border-color: var(--accent); }

.faq-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
}
.faq-accordion .accordion-item:first-child { border-top: 1px solid var(--border); }

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  padding: 22px 0;
  box-shadow: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--accent); }
.faq-accordion .accordion-button:focus { box-shadow: none; outline: none; }

.faq-accordion .accordion-button::after {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-image: none;
  content: '+';
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  transition: color 0.3s;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  content: '−';
  color: var(--accent);
  transform: none;
}

.faq-accordion .accordion-body {
  padding: 0 32px 22px 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.78;
}

/* ----------------------------------------------------------------
   WhatsApp Float
   ---------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 76px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.38);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float i { font-size: 26px; color: #fff; }
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* ----------------------------------------------------------------
   Back to top
   ---------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  color: var(--text-muted);
  z-index: 996;
  transition: var(--transition);
  visibility: hidden;
  opacity: 0;
}
.back-to-top i { font-size: 16px; line-height: 0; }
.back-to-top:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.back-to-top.active { visibility: visible; opacity: 1; }

/* ----------------------------------------------------------------
   AOS override
   ---------------------------------------------------------------- */
[data-aos] { pointer-events: auto !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ---- Tablet landscape (≤ 992px) ---- */
@media (max-width: 992px) {

  section { padding: 72px 0; }

  /* Hero */
  .hero-container { padding-top: 80px; padding-bottom: 120px; }
  .hero-subtitle { font-size: 16px; }
  .stat-item { padding: 4px 24px; }

  /* About */
  .about-img-badge { padding: 10px 14px; }
  .about-img-badge-text { font-size: 16px; }
}

/* ---- Tablet portrait / mobile landscape (≤ 768px) ---- */
@media (max-width: 768px) {

  section { padding: 60px 0; }

  /* AOS — animaciones más rápidas en mobile */
  [data-aos] { transition-duration: 400ms !important; }

  /* Hero */
  .hero-container {
    padding-top: 72px;
    padding-bottom: 130px;
  }
  .hero-title { font-size: clamp(44px, 12vw, 80px); }
  .hero-subtitle { font-size: 15px; max-width: 100%; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary-cta,
  .btn-secondary-cta { width: 100%; justify-content: center; text-align: center; }

  /* Hero stats */
  .hero-stats { padding: 16px 0; }
  .hero-stats-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-divider { display: none; }
  .stat-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-number { font-size: 28px; }

  /* About */
  .about-img-wrapper img { aspect-ratio: 16 / 9; }
  .about-img-badge {
    bottom: 12px;
    right: 12px;
    padding: 8px 12px;
  }
  .about-img-badge-text { font-size: 14px; }

  /* Services */
  .service-card { padding: 24px; }

  /* Why Us — eliminar caja exterior en mobile */
  .why-us-inner { border: none; border-radius: 0; }
  .why-us-header {
    padding: 0 0 32px 0;
    background: transparent;
    border-right: none;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
  }
  .why-feature { padding: 20px 0; gap: 16px; border-bottom: 1px solid var(--border); }
  .why-feature:last-child { border-bottom: none; }
  .why-feature:hover { background: transparent; }
  .why-feature-body h4 { font-size: 17px; }

  /* Touch targets — mínimo 44px */
  .member-social a { width: 44px; height: 44px; font-size: 17px; }
  .contact-social a { width: 44px; height: 44px; font-size: 20px; }

  /* CTA */
  .cta-inner { padding: 32px 24px; gap: 24px; }
  .cta-action { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-whatsapp-btn { width: 100%; justify-content: center; }

  /* Team */
  .member-pic { width: 130px; height: 130px; }

  /* Contact */
  .contact-title { font-size: clamp(40px, 10vw, 64px); }
  .contact-form-wrapper { padding: 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* ---- Mobile portrait (≤ 576px) ---- */
@media (max-width: 576px) {

  section { padding: 52px 0; }

  /* Hero */
  .hero-container { padding-top: 64px; padding-bottom: 120px; }
  .hero-badge { font-size: 10px; }
  .hero-title { font-size: clamp(38px, 11vw, 60px); }
  .hero-glow { width: 320px; height: 320px; top: -5%; right: -20%; }

  /* Hero stats — stack a 1 columna en pantallas muy chicas */
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 10px 12px; }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 9px; }

  /* Section headers */
  .section-title { font-size: clamp(30px, 8vw, 44px); }

  /* About */
  .about-title { font-size: clamp(24px, 7vw, 36px); }
  .about-text { font-size: 14px; }
  .about-list li { font-size: 12px; }

  /* Services */
  .service-card { padding: 20px; }
  .service-title { font-size: 20px; }

  /* Why Us */
  .why-us-inner { border-radius: 0; border-left: none; border-right: none; }
  .why-feature { padding: 20px 16px; }
  .why-feature-icon { width: 38px; height: 38px; }
  .why-feature-icon i { font-size: 17px; }

  /* Testimonials */
  .testimonial-card { padding: 24px; }
  .testimonial-text { font-size: 14px; }

  /* FAQ */
  .faq-accordion .accordion-button { font-size: 14px; padding: 18px 0; }
  .faq-accordion .accordion-body { font-size: 13px; }

  /* Team */
  .member-pic { width: 120px; height: 120px; }
  .member-card { padding: 28px 20px 24px; }

  /* Contact */
  .contact-intro { font-size: 14px; }
  .contact-form-wrapper { padding: 20px 16px; }
  .contact-form-wrapper button[type="submit"] { font-size: 14px; padding: 12px 20px; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 68px; right: 14px; width: 46px; height: 46px; }
  .whatsapp-float i { font-size: 22px; }
  .back-to-top { right: 14px; bottom: 14px; }
}
