/*
=====================================
RRV Agencia Aduanal - Base Stylesheet
=====================================
Professional customs brokerage website
Modern, authoritative, trustworthy design
*/

/* =====================================
   1. CSS Custom Properties
   ===================================== */
:root {
  /* Brand Colors */
  --color-primary: #a53692;           /* Magenta - CTAs, accents */
  --color-secondary: #2b2e4e;         /* Dark blue-gray - header, footer */
  --color-tertiary: #6bceb5;          /* Teal/mint - secondary accents */
  --color-dark: #1a1a2e;              /* Deep dark */
  --color-gray: #555;                 /* Medium gray */
  --color-light-gray: #f7f7fb;        /* Light background */
  --color-white: #ffffff;

  /* Gradient overlays */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-tertiary) 100%);
  --gradient-dark: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(43, 46, 78, 0.9) 100%);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 2rem;      /* 32px */
  --space-lg: 4rem;      /* 64px */
  --space-xl: 6rem;      /* 96px */

  /* Design Tokens */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);

  /* Z-index Scale */
  --z-header: 1000;
  --z-dropdown: 1010;
  --z-overlay: 1020;
  --z-modal: 1030;
  --z-whatsapp: 999;
}

/* =====================================
   2. Reset & Base Styles
   ===================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-gray);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* =====================================
   3. Container
   ===================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =====================================
   4. Typography
   ===================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-gray);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto var(--space-md);
  text-align: center;
}

/* =====================================
   5. Buttons
   ===================================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #8b2b7a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-tertiary);
  border-color: var(--color-tertiary);
}

.btn-secondary:hover {
  background-color: var(--color-tertiary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-accent:hover {
  background-color: #3a3e66;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-text {
  padding: 0;
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* =====================================
   6. Skip Link (Accessibility)
   ===================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--border-radius) 0;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-tertiary);
  outline-offset: 2px;
}

/* =====================================
   7. Header / Navigation
   ===================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(60, 65, 108, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.top-bar {
  background-color: var(--color-dark);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: var(--space-md);
  color: var(--color-white);
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.top-bar-contact a:hover {
  color: var(--color-tertiary);
}

.top-bar-social {
  display: flex;
  gap: var(--space-sm);
}

.top-bar-social a {
  color: var(--color-white);
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.top-bar-social a:hover {
  color: var(--color-primary);
}

.navbar {
  padding: 0.75rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-left {
  flex: 0 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 56px;
  width: auto;
  transition: height var(--transition-base), opacity var(--transition-fast);
}

.site-logo .logo-hover {
  display: none;
}

.site-logo:hover .logo-default {
  display: none;
}

.site-logo:hover .logo-hover {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-menu a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--color-primary);
}

.nav-menu a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Scrolled header state */
.site-header.scrolled {
  background: rgba(43, 46, 78, 0.98);
  box-shadow: var(--shadow-md);
}

.site-header.scrolled .navbar {
  padding: 0.5rem 0;
}

.site-header.scrolled .site-logo img {
  height: 40px;
}

/* =====================================
   8. Hero Section
   ===================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(43, 46, 78, 0.85) 100%),
              url('../images/hero.jpg') center center/cover no-repeat;
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-dark);
  opacity: 0.7;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-white);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  margin-bottom: var(--space-md);
  min-height: 3.6em;
  color: rgba(255, 255, 255, 0.95);
}

.hero-subtitle strong {
  color: var(--color-tertiary);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

/* =====================================
   9. Stats Bar
   ===================================== */
.stats-bar {
  background-color: var(--color-secondary);
  padding: 3rem 0;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-item {
  text-align: center;
  color: var(--color-white);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* =====================================
   10. Section Base
   ===================================== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--color-light-gray);
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

/* =====================================
   11. About Section
   ===================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  margin-bottom: var(--space-sm);
}

.about-content h3 {
  color: var(--color-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.about-features {
  margin-top: var(--space-md);
}

.about-features li {
  padding-left: 2rem;
  margin-bottom: var(--space-sm);
  position: relative;
  line-height: 1.7;
}

.about-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-tertiary);
  font-weight: 700;
  font-size: 1.25rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.mv-card {
  background: var(--color-white);
  border: 2px solid rgba(165, 54, 146, 0.1);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  transition: all var(--transition-base);
}

.mv-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mv-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  font-size: 1.75rem;
}

.mv-card h3 {
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.mv-card p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* =====================================
   12. Services Grid
   ===================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.service-card p {
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  color: var(--color-gray);
  flex: 1;
  font-size: 0.92rem;
}

.service-link {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.service-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.service-link:hover::after {
  transform: translateX(4px);
}

/* =====================================
   12b. Service Detail Pages
   ===================================== */
.service-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(43, 46, 78, 0.95) 100%);
  color: var(--color-white);
}

.service-hero .container {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.service-hero-content {
  flex: 1;
}

.service-hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.service-hero-content .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.service-hero-img {
  flex: 0 0 300px;
  max-width: 300px;
}

.service-hero-img img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.service-detail {
  padding: var(--space-lg) 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.service-detail-content h2 {
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.service-detail-content p {
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.service-features li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.6;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-tertiary);
  font-weight: 700;
}

.service-sidebar {
  position: sticky;
  top: 6rem;
}

.service-sidebar-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
}

.service-sidebar-card h3 {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.service-sidebar-card ul {
  list-style: none;
  padding: 0;
}

.service-sidebar-card ul li {
  margin-bottom: 0.5rem;
}

.service-sidebar-card ul li a {
  color: var(--color-gray);
  transition: color var(--transition-fast);
}

.service-sidebar-card ul li a:hover {
  color: var(--color-primary);
}

.service-sidebar-card ul li.active a {
  color: var(--color-primary);
  font-weight: 600;
}

.service-cta {
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(165, 54, 146, 0.15) 100%);
  text-align: center;
}

.service-cta h2 {
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.service-cta p {
  color: var(--color-gray);
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-cta .btn {
  margin: 0 0.5rem;
}

@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 6rem 0 3rem;
  }
  .service-hero .container {
    flex-direction: column;
    text-align: center;
  }
  .service-hero-img {
    flex: 0 0 auto;
    max-width: 200px;
  }
}

/* =====================================
   12b. Legal / Privacy Pages
   ===================================== */
.legal-hero {
  background: var(--gradient-dark);
  padding: 8rem 0 3rem;
  color: var(--color-white);
  text-align: center;
}

.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--color-tertiary);
  font-size: 0.95rem;
  opacity: 0.9;
}

.legal-content {
  padding: var(--space-xl) 0;
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray);
}

.legal-section {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid #eee;
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-top: var(--space-sm);
  margin-bottom: 0.5rem;
}

.legal-section p {
  margin-bottom: 0.75rem;
}

.legal-section ul,
.legal-section ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.4rem;
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  color: var(--color-tertiary);
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: var(--space-sm) 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.legal-table th {
  background: var(--color-secondary);
  color: var(--color-white);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.legal-table td {
  background: var(--color-white);
}

.legal-table tr:nth-child(even) td {
  background: var(--color-light-gray);
}

.legal-note {
  font-size: 0.88rem;
  font-style: italic;
  color: #888;
  margin-top: 0.5rem;
}

.legal-consent {
  background: var(--color-light-gray);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  margin-top: var(--space-lg);
}

.legal-consent p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 6rem 0 2rem;
  }
  .legal-hero h1 {
    font-size: 1.8rem;
  }
  .legal-body {
    font-size: 0.95rem;
  }
  .legal-section h2 {
    font-size: 1.3rem;
  }
  .legal-table {
    font-size: 0.82rem;
  }
  .legal-table th,
  .legal-table td {
    padding: 0.5rem 0.6rem;
  }
}

/* =====================================
   13. Testimonials
   ===================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-style: italic;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: var(--space-md);
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-info h4 {
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.testimonial-sector {
  font-size: 0.875rem;
  color: var(--color-tertiary);
}

/* =====================================
   14. FAQ Section
   ===================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 2px solid rgba(165, 54, 146, 0.1);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.active {
  border-color: var(--color-primary);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-secondary);
  transition: all var(--transition-fast);
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(165, 54, 146, 0.05);
}

.faq-question::after {
  content: '+';
  font-size: 1.75rem;
  color: var(--color-primary);
  font-weight: 300;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-gray);
  line-height: 1.7;
}

/* =====================================
   15. Contact Section
   ===================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(165, 54, 146, 0.15);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: all var(--transition-base);
  background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(165, 54, 146, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-info {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 120px;
}

.contact-info h3 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(165, 54, 146, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-tertiary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  margin-bottom: 0;
  color: var(--color-white);
  line-height: 1.5;
}

.contact-info-content a {
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.contact-info-content a:hover {
  color: var(--color-tertiary);
}

/* =====================================
   16. Footer
   ===================================== */
.footer-logo {
  display: block;
  height: auto;
  max-width: 140px;
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

.site-footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-lg) 0 0;
}

.footer-main {
  padding-bottom: var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr 1.2fr;
  gap: var(--space-md);
}

.footer-col h3,
.footer-title {
  color: var(--color-tertiary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Footer social icons */
.footer-social,
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

.footer-social a,
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-base);
  transform: none;
}

.footer-social a:hover,
.social-links a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(165, 54, 146, 0.35);
}

/* Footer contact list */
.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-tertiary);
  stroke: var(--color-tertiary);
}

.footer-contact-list li svg[fill="currentColor"] {
  fill: var(--color-tertiary);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
  font-size: 0.9rem;
}

.footer-contact-list a:hover {
  color: var(--color-primary);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-sm) 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* =====================================
   17. WhatsApp Float Button
   ===================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-whatsapp);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* =====================================
   18. Responsive Design
   ===================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: var(--space-md);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .footer-col--about {
    grid-column: 1 / -1;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1rem;
  }

  /* Typography */
  h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  /* Spacing */
  .section {
    padding: 3rem 0;
  }

  .section-title {
    margin-bottom: var(--space-md);
  }

  /* Header */
  .top-bar {
    display: none;
  }

  .navbar {
    padding: 1rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right var(--transition-base);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: var(--z-header);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
  }

  .nav-actions {
    margin-top: var(--space-sm);
    flex-direction: column;
    width: 100%;
  }

  .nav-actions .btn {
    width: 100%;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
    margin-top: 70px;
    padding: var(--space-lg) 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  /* Stats */
  .stats-bar {
    padding: 2rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .footer-col--about {
    grid-column: 1 / -1;
  }

  /* WhatsApp */
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.75rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 1rem;
  }

  /* Spacing */
  .section {
    padding: 2.5rem 0;
  }

  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Hero */
  .hero {
    min-height: 60vh;
  }

  .hero-buttons .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Service Cards */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-img {
    height: 180px;
  }

  /* Contact */
  .contact-form {
    padding: 1.5rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col--about {
    grid-column: auto;
  }

  /* WhatsApp */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }
}

/* =====================================
   19. Utility Classes
   ===================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-tertiary {
  color: var(--color-tertiary);
}

.text-accent {
  color: var(--color-tertiary);
}

.text-white {
  color: var(--color-white);
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.bg-light {
  background-color: var(--color-light-gray);
}

.mb-1 {
  margin-bottom: var(--space-sm);
}

.mb-2 {
  margin-bottom: var(--space-md);
}

.mb-3 {
  margin-bottom: var(--space-lg);
}

.mt-1 {
  margin-top: var(--space-sm);
}

.mt-2 {
  margin-top: var(--space-md);
}

.mt-3 {
  margin-top: var(--space-lg);
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

/* Visibility utilities */
.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: block;
  }
}

/* =====================================
   END OF STYLESHEET
   ===================================== */
