/* ==========================================================================
   Tectronics Audio UK — Stylesheet
   Gloss Black / Carbon / Metallic Red theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800;900&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --radius: 0.5rem;

  --background: #14141a;
  --foreground: #f7f7f8;
  --carbon: #191a20;
  --carbon-light: #23242c;
  --silver: #c2c3c8;
  --brand-red: #c7372f;
  --brand-red-glow: #e0473c;
  --card: #17171d;
  --card-foreground: #f7f7f8;
  --primary: #c7372f;
  --primary-foreground: #fbfafa;
  --secondary: #23242c;
  --muted: #202027;
  --muted-foreground: #9a9ba3;
  --border: #34353f;
  --input: #23242c;
  --ring: #c7372f;

  --carbon-pattern:
    repeating-linear-gradient(45deg, #191a20 0px, #191a20 2px, #14141a 2px, #14141a 4px),
    repeating-linear-gradient(-45deg, rgba(35, 36, 44, 0.5) 0px, rgba(35, 36, 44, 0.5) 2px, transparent 2px, transparent 4px);

  --gradient-red: linear-gradient(135deg, #c7372f, #942720);
  --gradient-dark: linear-gradient(180deg, #14141a, #0c0c10);

  --shadow-red-glow: 0 0 30px rgba(199, 55, 47, 0.5), 0 0 80px rgba(199, 55, 47, 0.25);
  --shadow-red-soft: 0 8px 32px rgba(199, 55, 47, 0.3);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.6);

  --font-display: "Orbitron", "Inter", sans-serif;
  --font-sans: "Rajdhani", "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.section { padding: 5rem 0; }
.section-lg { padding: 5rem 0; }
@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }
  .section-lg { padding: 7rem 0; }
}

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ==========================================================================
   Utility classes
   ========================================================================== */

.carbon-bg {
  background-image: var(--carbon-pattern);
  background-size: 8px 8px;
}

.text-red { color: var(--brand-red); }
.text-muted { color: var(--muted-foreground); }

.text-glow-red {
  text-shadow: 0 0 12px rgba(199, 55, 47, 0.6), 0 0 32px rgba(199, 55, 47, 0.35);
}

.bg-gradient-red { background-image: var(--gradient-red); }
.bg-gradient-dark { background-image: var(--gradient-dark); }

.shadow-red-glow { box-shadow: var(--shadow-red-glow); }
.shadow-red-soft { box-shadow: var(--shadow-red-soft); }

.hairline-red { position: relative; }
.hairline-red::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199, 55, 47, 0.6); }
  50% { box-shadow: 0 0 0 16px rgba(199, 55, 47, 0); }
}
.animate-pulse-red { animation: pulse-red 2s infinite; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.8s ease-out both; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.pulse-dot { animation: pulse-dot 1.6s ease-in-out infinite; }

/* ==========================================================================
   Buttons / CTA
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background-image: var(--gradient-red);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-red-soft);
}
.btn-primary:hover {
  box-shadow: var(--shadow-red-glow);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--border);
  background: rgba(23, 23, 29, 0.6);
  backdrop-filter: blur(6px);
  color: var(--foreground);
}
.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.btn-outline-red {
  border-color: var(--brand-red);
  background: transparent;
  color: var(--foreground);
}
.btn-outline-red:hover {
  background: rgba(199, 55, 47, 0.1);
}

.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:hover .icon-shift { transform: translateX(3px); }
.icon-shift { transition: transform 0.2s ease; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, rgba(20, 20, 26, 0.8), transparent);
}
.site-header.scrolled {
  background: rgba(20, 20, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
@media (min-width: 768px) { .site-header .container { height: 5rem; } }

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand svg { transition: transform 0.2s ease; }
.brand:hover svg { transform: scale(1.05); }

.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}
@media (min-width: 768px) { .brand-text { display: flex; } }
.brand-text .t1 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--foreground);
}
.brand-text .t2 {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--brand-red);
}

.main-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a {
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 247, 248, 0.8);
  transition: color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand-red); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-call-btn { display: none; }
@media (min-width: 768px) { .header-call-btn { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--foreground);
  padding: 0.5rem;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(20, 20, 26, 0.97);
  backdrop-filter: blur(20px);
  margin: 0 -1rem;
  padding: 1.5rem 1rem;
}
@media (min-width: 768px) { .mobile-menu { margin: 0 -2rem; padding: 1.5rem 2rem; } }
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a {
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(247, 247, 248, 0.9);
  border-left: 2px solid transparent;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.mobile-menu nav a:hover { color: var(--brand-red); background: var(--carbon-light); border-left-color: var(--brand-red); }
.mobile-menu .btn { margin-top: 1rem; width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 9rem 0 8rem; } }

.hero-bg { position: absolute; inset: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-bg .overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--background) 10%, rgba(20,20,26,0.85) 55%, rgba(20,20,26,0.4));
}
.hero-bg .overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--background), transparent 55%, rgba(20,20,26,0.6));
}
.hero-bg .overlay-3 { position: absolute; inset: 0; opacity: 0.3; mix-blend-mode: overlay; }

.hero-content { position: relative; max-width: 48rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 55, 47, 0.4);
  background: rgba(199, 55, 47, 0.1);
  margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand-red); }
.hero-badge span.label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--brand-red);
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) { .hero h1 { font-size: 3.2rem; } }
@media (min-width: 900px) { .hero h1 { font-size: 4.6rem; } }

.hero p.lead {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero p.lead { font-size: 1.25rem; } }

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

@media (max-width: 639px) {
  .hero { padding: 6rem 0 4rem; }
  .hero-content { padding-top: 1rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero p.lead { font-size: 1rem; }
  .hero-ctas { gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .mobile-menu { padding: 1.25rem 1rem; }
  .menu-toggle { margin-left: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 0.75rem; }
  .section { padding: 4rem 0; }
  .section-lg { padding: 4.5rem 0; }
}

.hero-content { position: relative; max-width: 48rem; width: 100%; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.05; }
.hero p.lead { max-width: 100%; }
.hero-badge { flex-wrap: wrap; }
.hero-badge span.label { font-size: 0.65rem; }

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section-heading { padding: 0 0.5rem; }
.section-heading h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.section-heading .desc { max-width: 100%; }
.faq-list { width: 100%; }

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

@media (min-width: 768px) {
  .site-header .container { padding: 0 2rem; }
  .main-nav { display: flex; }
  .mobile-menu { display: none !important; }
  .hero p.lead { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .header-actions { justify-content: flex-end; }
}

/* ==========================================================================
   Features bar
   ========================================================================== */

.features-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(5, 1fr); } }
.feature-item {
  background: var(--background);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}
@media (min-width: 768px) { .feature-item { flex-direction: row; } }
.feature-item svg { width: 1.5rem; height: 1.5rem; color: var(--brand-red); flex-shrink: 0; }
.feature-item span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.section-heading {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}
@media (min-width: 768px) { .section-heading { margin-bottom: 4rem; } }
.section-heading.align-left { margin-left: 0; text-align: left; }

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.align-left .eyebrow { justify-content: flex-start; }
.eyebrow .line { height: 1px; width: 2rem; background: var(--brand-red); }
.eyebrow span.label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--brand-red);
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .section-heading h2 { font-size: 2.75rem; } }

.section-heading .desc {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
@media (min-width: 768px) { .section-heading .desc { font-size: 1.1rem; } }

/* ==========================================================================
   Services grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.service-card:hover { border-color: rgba(199, 55, 47, 0.6); }
.service-card .top-line {
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
  opacity: 0; transition: opacity 0.25s ease;
}
.service-card:hover .top-line { opacity: 1; }
.service-card .carbon-overlay { position: absolute; inset: 0; opacity: 0.2; }
.service-card .card-inner { position: relative; }

.service-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: rgba(199, 55, 47, 0.15);
  border: 1px solid rgba(199, 55, 47, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}
.service-card:hover .service-icon { background: rgba(199, 55, 47, 0.25); box-shadow: var(--shadow-red-soft); }
.service-icon svg { width: 1.5rem; height: 1.5rem; color: var(--brand-red); }

.service-card h3 { font-size: 1.1rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; }

.card-link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--brand-red);
  text-transform: uppercase;
}
.card-link svg { width: 0.875rem; height: 0.875rem; }

/* ==========================================================================
   Why us grid
   ========================================================================== */

.why-section { background: var(--card); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { background: var(--card); padding: 2rem; transition: background 0.25s ease; }
.why-item:hover { background: var(--carbon-light); }
.why-item .row { display: flex; align-items: flex-start; gap: 1rem; }
.why-item .num { font-family: var(--font-display); font-size: 1.9rem; color: rgba(199, 55, 47, 0.6); }
.why-item h3 { font-size: 1rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; }

.glow-blob {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(199, 55, 47, 0.1);
  filter: blur(120px);
  pointer-events: none;
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.process-wrap { position: relative; }
.process-line {
  display: none;
  position: absolute;
  top: 2rem; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 55, 47, 0.4), transparent);
}
@media (min-width: 1024px) { .process-line { display: block; } }
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(5, 1fr); } }
.process-step { position: relative; text-align: center; }
.process-num {
  position: relative;
  margin: 0 auto 1rem;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--background);
  border: 2px solid var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-red-soft);
}
.process-num span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  font-weight: 700;
}
.process-step h3 { font-size: 0.85rem; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-section { background: var(--card); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,26,0.9), transparent);
  opacity: 0.6;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .fade { opacity: 1; }
.gallery-item .label {
  position: absolute; bottom: 0.75rem; left: 0.75rem; right: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  text-transform: uppercase;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease;
}
.testimonial-card:hover { border-color: rgba(199, 55, 47, 0.5); }
.testimonial-card .quote-icon { position: absolute; top: 1.25rem; right: 1.25rem; width: 2rem; height: 2rem; color: rgba(199, 55, 47, 0.4); }
.testimonial-card .stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonial-card .stars svg { width: 1rem; height: 1rem; color: var(--brand-red); fill: var(--brand-red); }
.testimonial-card .quote-text { color: rgba(247,247,248,0.9); line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.9rem; }
.testimonial-card .who { padding-top: 1rem; border-top: 1px solid var(--border); }
.testimonial-card .who .name { font-family: var(--font-display); letter-spacing: 0.05em; font-size: 0.9rem; }
.testimonial-card .who .car { font-size: 0.75rem; color: var(--brand-red); margin-top: 0.25rem; }

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--brand-red); }
@media (min-width: 768px) { .stat-num { font-size: 3rem; } }
.stat-label { margin-top: 0.5rem; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.15em; color: var(--muted-foreground); text-transform: uppercase; }

.stats-boxed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
@media (min-width: 768px) { .stats-boxed { grid-template-columns: repeat(4, 1fr); } }
.stats-boxed .stat-box { background: var(--card); padding: 2rem; text-align: center; }

/* ==========================================================================
   Map
   ========================================================================== */

.map-frame {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 400px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.25); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section { background: var(--card); }
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.5rem;
  transition: border-color 0.25s ease;
}
.faq-item:hover { border-color: rgba(199, 55, 47, 0.5); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  color: var(--brand-red);
  margin-left: 1rem;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer { margin-top: 1rem; font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta { position: relative; overflow: hidden; }
.final-cta .cta-inner { position: relative; max-width: 48rem; margin: 0 auto; text-align: center; }
.final-cta .cta-logo { height: 4rem; width: auto; margin: 0 auto 1.5rem; }
.final-cta h2 { font-size: 1.9rem; font-weight: 900; }
@media (min-width: 768px) { .final-cta h2 { font-size: 3rem; } }
.final-cta p.lead { margin-top: 1.25rem; color: var(--muted-foreground); font-size: 1.1rem; }
.final-cta .cta-buttons { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .final-cta .cta-buttons { flex-direction: row; } }
.trust-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}
.trust-row span { display: flex; align-items: center; gap: 0.5rem; }
.trust-row svg { width: 1rem; height: 1rem; color: var(--brand-red); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  background-image: var(--carbon-pattern), var(--gradient-dark);
  background-size: 8px 8px, auto;
  margin-top: 5rem;
}
.site-footer .top-line {
  position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col .cta-logo { height: 3.5rem; margin-bottom: 1rem; }
.footer-col p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(247,247,248,0.7);
  transition: all 0.2s ease;
}
.footer-social a:hover { color: var(--brand-red); border-color: var(--brand-red); }
.footer-social svg { width: 1rem; height: 1rem; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9rem; }
.footer-col ul a { color: rgba(247,247,248,0.8); transition: color 0.2s ease; }
.footer-col ul a:hover { color: var(--brand-red); }
.footer-col ul li { display: flex; gap: 0.75rem; color: rgba(247,247,248,0.8); align-items: flex-start; }
.footer-col ul li svg { width: 1rem; height: 1rem; color: var(--brand-red); flex-shrink: 0; margin-top: 0.15rem; }
.footer-col ul a.contact-link { display: flex; align-items: center; gap: 0.75rem; }
.footer-col ul a.contact-link svg { margin-top: 0; }

.footer-bottom {
  margin-top: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-bottom .links { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--brand-red); }

/* ==========================================================================
   Floating CTAs
   ========================================================================== */

.floating-ctas {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.floating-ctas a {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-elevated);
  transition: transform 0.2s ease;
}
.floating-ctas a:hover { transform: scale(1.1); }
.floating-ctas .whatsapp { background: #25D366; }
.floating-ctas .call { background-image: var(--gradient-red); box-shadow: var(--shadow-red-glow); }
.floating-ctas svg { width: 1.5rem; height: 1.5rem; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
@media (min-width: 768px) { .page-hero { padding: 10rem 0 4rem; } }
.page-hero .fade-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,20,26,0.6), var(--background)); }
.page-hero .content { position: relative; }
.page-hero .eyebrow-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--brand-red);
  text-transform: uppercase;
}
.page-hero h1 { margin-top: 1rem; font-size: 2.2rem; font-weight: 900; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.75rem; } }
.page-hero p { margin-top: 1.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; font-size: 1.1rem; color: var(--muted-foreground); line-height: 1.6; }

/* ==========================================================================
   About page
   ========================================================================== */

.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 768px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
.about-copy .eyebrow-label {
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.4em; color: var(--brand-red); text-transform: uppercase;
}
.about-copy h2 { margin-top: 0.75rem; font-size: 1.75rem; font-weight: 700; }
@media (min-width: 768px) { .about-copy h2 { font-size: 2.2rem; } }
.about-copy .body { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; color: var(--muted-foreground); line-height: 1.7; }

.about-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.about-card { padding: 1.75rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.about-card.highlight { border-color: rgba(199, 55, 47, 0.3); }
.about-card h3 { font-size: 0.9rem; letter-spacing: 0.1em; }
.about-card.highlight h3 { color: var(--brand-red); }
.about-card p { margin-top: 0.75rem; color: rgba(247,247,248,0.9); line-height: 1.6; }
.about-card ul { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: var(--muted-foreground); }

.quals-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .quals-grid { grid-template-columns: repeat(4, 1fr); } }
.qual-card { padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--background); transition: border-color 0.25s ease; }
.qual-card:hover { border-color: rgba(199, 55, 47, 0.5); }
.qual-card svg { width: 1.75rem; height: 1.75rem; color: var(--brand-red); margin-bottom: 1rem; }
.qual-card h3 { font-size: 0.9rem; letter-spacing: 0.1em; }
.qual-card p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted-foreground); }

.cta-box {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-box { padding: 4rem; } }
.cta-box .overlay-red { position: absolute; inset: 0; background: linear-gradient(to right, rgba(199,55,47,0.1), transparent); }
.cta-box .content { position: relative; }
.cta-box h2 { font-size: 1.75rem; font-weight: 900; }
@media (min-width: 768px) { .cta-box h2 { font-size: 2.2rem; } }
.cta-box p { margin-top: 1rem; color: var(--muted-foreground); }
.cta-box .btn { margin-top: 2rem; }

/* ==========================================================================
   Services page
   ========================================================================== */

.service-groups { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .service-groups { grid-template-columns: repeat(2, 1fr); } }
.service-group {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.service-group:hover { border-color: rgba(199, 55, 47, 0.5); }
.service-group .carbon-overlay { position: absolute; inset: 0; opacity: 0.2; }
.service-group .top-line { position: absolute; top: -1px; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-red), transparent); opacity: 0; transition: opacity 0.25s ease; }
.service-group:hover .top-line { opacity: 1; }
.service-group .group-inner { position: relative; }
.service-group .group-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.service-group .group-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--radius);
  background: rgba(199,55,47,0.15);
  border: 1px solid rgba(199,55,47,0.4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-red-soft);
  flex-shrink: 0;
}
.service-group .group-icon svg { width: 1.5rem; height: 1.5rem; color: var(--brand-red); }
.service-group h2 { font-size: 1.25rem; letter-spacing: 0.05em; }
@media (min-width: 768px) { .service-group h2 { font-size: 1.5rem; } }
.service-group > .group-inner > p { color: var(--muted-foreground); margin-bottom: 1.5rem; }

.service-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 1.5rem; }
.service-items li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(247,247,248,0.9); }
.service-items svg { width: 1rem; height: 1rem; color: var(--brand-red); flex-shrink: 0; }

.service-benefits { padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.5rem; }
.service-benefits .b-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted-foreground); }
.service-benefits .b-dot { width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--brand-red); flex-shrink: 0; }

.process-boxed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
@media (min-width: 768px) { .process-boxed { grid-template-columns: repeat(5, 1fr); } }
.process-boxed .p-box { background: var(--background); padding: 1.5rem; text-align: center; }
.process-boxed .p-box .n { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-red); }
.process-boxed .p-box .t { margin-top: 0.5rem; font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.25s ease;
}
.contact-card:hover { border-color: rgba(199,55,47,0.5); }
.contact-card .row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-card .icon-box {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius);
  background: rgba(199,55,47,0.15);
  border: 1px solid rgba(199,55,47,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card .icon-box svg { width: 1.25rem; height: 1.25rem; color: var(--brand-red); }
.contact-card .label { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.15em; color: var(--muted-foreground); text-transform: uppercase; }
.contact-card .value { margin-top: 0.25rem; color: var(--foreground); }

.contact-map { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; height: 16rem; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.25); }

.form-panel {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
@media (min-width: 768px) { .form-panel { padding: 2.5rem; } }
.form-panel .carbon-overlay { position: absolute; inset: 0; opacity: 0.25; }
.form-panel .form-inner { position: relative; }
.form-panel h2 { font-size: 1.5rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }

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

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(199,55,47,0.25);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field-error { margin-top: 0.5rem; font-size: 0.75rem; color: var(--brand-red); }

.consent-row { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--muted-foreground); margin-top: 1.25rem; }
.consent-row input { margin-top: 0.2rem; accent-color: var(--brand-red); width: 1rem; height: 1rem; flex-shrink: 0; }

.form-message { margin-top: 1.25rem; }
.form-panel .btn { margin-top: 1.5rem; width: 100%; }
@media (min-width: 640px) { .form-panel .btn { width: auto; } }

.sent-state { text-align: center; padding: 3rem 0; }
.sent-state .check-circle {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(199,55,47,0.15);
  border: 1px solid var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-red-glow);
}
.sent-state .check-circle svg { width: 2rem; height: 2rem; color: var(--brand-red); }
.sent-state h3 { margin-top: 1.5rem; font-size: 1.5rem; }
.sent-state p { margin-top: 0.75rem; color: var(--muted-foreground); }

.hidden { display: none !important; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
