/* ============================================
   TOWING MARAN - Complete Stylesheet
   Design: Rugged, professional towing service
   Colors: Navy blue + Orange (from logo)
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors (from logo) */
  --color-primary: #1B2A4A;
  --color-primary-dark: #111D35;
  --color-primary-light: #2A3F6B;
  --color-secondary: #D4872A;
  --color-secondary-dark: #B8721F;
  --color-secondary-light: #E89A3D;

  /* CTA Colors */
  --color-cta-call: #DC2626;
  --color-cta-call-hover: #B91C1C;
  --color-cta-whatsapp: #25D366;
  --color-cta-whatsapp-hover: #1EBE57;

  /* Neutral Colors */
  --color-dark: #111827;
  --color-text: #1F2937;
  --color-text-light: #6B7280;
  --color-border: #D1D5DB;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F3F4F6;
  --color-bg-dark: #0F172A;
  --color-white: #FFFFFF;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --font-size-sm: clamp(0.8125rem, 0.775rem + 0.25vw, 0.875rem);
  --font-size-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --font-size-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --font-size-xl: clamp(1.1875rem, 1.1rem + 0.45vw, 1.3125rem);
  --font-size-2xl: clamp(1.375rem, 1.2rem + 0.75vw, 1.625rem);
  --font-size-3xl: clamp(1.625rem, 1.4rem + 1.1vw, 2rem);
  --font-size-4xl: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
  --font-size-5xl: clamp(2.25rem, 1.8rem + 2vw, 3rem);

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

  /* Layout */
  --container-max: 1200px;
  --header-height: 70px;
  --border-radius: 8px;
  --border-radius-lg: 12px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary-dark);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-primary);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__header p {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 650px;
  margin: var(--space-md) auto 0;
}

/* Text visibility on dark backgrounds */
.hero,
.page-header,
.section--dark,
.form-section {
  color: var(--color-white);
}

.hero h1, .hero h2, .hero h3, .hero h4,
.page-header h1, .page-header h2, .page-header h3, .page-header h4,
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.form-section h1, .form-section h2, .form-section h3, .form-section h4,
.footer h1, .footer h2, .footer h3, .footer h4 {
  color: var(--color-white);
}

.hero .section__header p,
.page-header .section__header p,
.form-section .section__header p {
  color: rgba(255, 255, 255, 0.8);
}

.hero .section__label,
.page-header .section__label,
.section--dark .section__label,
.form-section .section__label {
  color: var(--color-secondary-light);
}

.hero strong, .hero .content strong,
.page-header strong, .page-header .content strong,
.section--dark strong, .section--dark .content strong,
.form-section strong, .form-section .content strong,
.footer strong, .footer .content strong {
  color: var(--color-white);
}

.hero a,
.page-header a,
.section--dark a,
.form-section a,
.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.hero a:hover,
.page-header a:hover,
.section--dark a:hover,
.form-section a:hover,
.footer a:hover {
  color: var(--color-white);
}

.section__label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 3px solid var(--color-secondary);
  transition: box-shadow var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.header__logo img {
  height: 50px;
  width: auto;
}

.header__logo-text {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.header__logo-text span {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Navigation */
.nav {
  display: none;
}

.nav.active {
  display: block;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 3px solid var(--color-secondary);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.nav__list {
  display: flex;
  flex-direction: column;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: var(--space-md) var(--space-lg);
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--font-size-base);
  border-bottom: 1px solid var(--color-bg-alt);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-secondary);
  background-color: var(--color-bg-alt);
}

/* Dropdown */
.nav__dropdown {
  display: none;
  background-color: var(--color-bg-alt);
}

.nav__dropdown.active {
  display: block;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.nav__dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  margin-left: var(--space-sm);
  flex-shrink: 0;
}

.nav__dropdown-toggle.active::after {
  transform: rotate(-135deg);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-2xl);
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav__dropdown-link:hover {
  color: var(--color-secondary);
  background-color: var(--color-border);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger__line + .hamburger__line {
  margin-top: 5px;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Header CTA (desktop) */
.header__cta {
  display: none;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background-color: var(--color-primary);
  background-image:
    linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, rgba(27, 42, 74, 0.95) 100%);
  color: var(--color-white);
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero h1 .highlight {
  color: var(--color-secondary);
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__phone {
  display: inline-block;
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
}

.hero__phone a {
  color: var(--color-white);
}

.hero__phone a:hover {
  color: var(--color-secondary);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 700;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.2;
  min-height: 44px;
}

.btn--call {
  background-color: var(--color-cta-call);
  color: var(--color-white);
  border-color: var(--color-cta-call);
}

.btn--call:hover {
  background-color: var(--color-cta-call-hover);
  border-color: var(--color-cta-call-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--whatsapp {
  background-color: var(--color-cta-whatsapp);
  color: var(--color-white);
  border-color: var(--color-cta-whatsapp);
}

.btn--whatsapp:hover {
  background-color: var(--color-cta-whatsapp-hover);
  border-color: var(--color-cta-whatsapp-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn--primary:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--font-size-lg);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-sm);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Button icon (SVG inline) */
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ---------- Cards ---------- */
.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

/* Coverage/Location card */
.card--location {
  text-align: center;
  border-top: 4px solid var(--color-secondary);
}

.card--location .card__title {
  font-size: var(--font-size-2xl);
}

.card--location .card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: var(--font-size-sm);
  margin-top: var(--space-md);
}

.card--location .card__link:hover {
  gap: var(--space-sm);
}

/* Feature card (Why Choose Us) */
.card--feature {
  text-align: center;
  border: none;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-bg-alt) 100%);
  border-left: 4px solid var(--color-secondary);
  text-align: left;
}

.card--feature .card__icon {
  background-color: var(--color-primary);
}

/* ---------- Intro / Two-Column ---------- */
.intro__image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-secondary);
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Quote / Contact Form ---------- */
.form-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.form-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  max-width: 700px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(212, 135, 42, 0.15);
  background-color: var(--color-white);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__message {
  padding: var(--space-md);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-align: center;
  display: none;
}

.form__message--success {
  display: block;
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #84E1BC;
}

.form__message--error {
  display: block;
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #F8B4B4;
}

.form__message--loading {
  display: block;
  background-color: #E1EFFE;
  color: #1E40AF;
  border: 1px solid #93C5FD;
}

/* ---------- FAQ Accordion ---------- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  line-height: 1.4;
  gap: var(--space-md);
  min-height: 44px;
}

.faq__question:hover {
  background-color: var(--color-bg-alt);
}

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition-base);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-secondary);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2.5px;
  transform: translateY(-50%);
}

.faq__icon::after {
  top: 0;
  left: 50%;
  width: 2.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq__item.active .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq__answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq__answer-inner p + p {
  margin-top: var(--space-sm);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  padding: var(--space-md) 0;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: var(--color-text-light);
}

.breadcrumb__link {
  color: var(--color-text-light);
  font-weight: 500;
}

.breadcrumb__link:hover {
  color: var(--color-secondary);
}

.breadcrumb__current {
  color: var(--color-primary);
  font-weight: 600;
}

/* ---------- Page Header ---------- */
.page-header {
  background-color: var(--color-primary);
  background-image:
    linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table th,
.table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.table tbody tr:hover {
  background-color: var(--color-bg-alt);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  color: var(--color-white);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.cta-section .btn--call {
  background-color: var(--color-white);
  color: var(--color-cta-call);
  border-color: var(--color-white);
}

.cta-section .btn--call:hover {
  background-color: var(--color-cta-call);
  color: var(--color-white);
  border-color: var(--color-cta-call);
}

.cta-section .btn--whatsapp {
  border-color: var(--color-white);
}

/* ---------- Services List ---------- */
.services-list {
  display: grid;
  gap: var(--space-lg);
}

.service-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-secondary);
}

.service-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius);
  font-size: 1.25rem;
}

.service-item__content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

.service-item__content p {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

/* Feature list (checkmarks) */
.feature-list {
  display: grid;
  gap: var(--space-sm);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
}

.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-3xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer__brand p {
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

.footer__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-secondary);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--color-secondary);
  margin-top: 2px;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
  color: var(--color-secondary);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: background-color var(--transition-fast);
}

.footer__social a:hover {
  background-color: var(--color-secondary);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: var(--font-size-xs);
}

/* ---------- Floating Mobile CTA ---------- */
.floating-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--color-white);
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  padding: var(--space-sm);
  gap: var(--space-sm);
}

.floating-cta .btn {
  flex: 1;
  padding: 0.75rem;
  font-size: var(--font-size-sm);
  border-radius: var(--border-radius);
}

/* Add body padding to prevent content being hidden behind floating CTA */
body {
  padding-bottom: 70px;
}

/* ---------- Content Formatting ---------- */
.content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.content p {
  margin-bottom: var(--space-md);
}

.content ul,
.content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.content ul {
  list-style: disc;
}

.content ol {
  list-style: decimal;
}

.content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.content strong {
  color: var(--color-primary);
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   RESPONSIVE BREAKPOINTS (Mobile-First)
   ============================================ */

/* Small devices (576px+) */
@media (min-width: 576px) {
  .btn-group {
    flex-direction: row;
    justify-content: center;
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (768px+) */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }

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

  .hero {
    padding: var(--space-4xl) 0;
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .form-card {
    padding: var(--space-2xl);
  }

  /* Hide floating CTA on desktop */
  .floating-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* Large devices (992px+) */
@media (min-width: 992px) {
  .hamburger {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .nav__link {
    padding: var(--space-sm) var(--space-md);
    border-bottom: none;
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius);
  }

  .nav__link:hover,
  .nav__link.active {
    background-color: transparent;
    color: var(--color-secondary);
  }

  /* Desktop dropdown */
  .nav__item--dropdown {
    position: relative;
  }

  .nav__dropdown-toggle::after {
    width: 6px;
    height: 6px;
  }

  .nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
  }

  .nav__item--dropdown:hover .nav__dropdown,
  .nav__dropdown.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__dropdown-link {
    padding: var(--space-sm) var(--space-lg);
  }

  /* Desktop header CTA */
  .header__cta {
    display: flex;
    gap: var(--space-sm);
    margin-left: var(--space-md);
  }

  .header__cta .btn {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Extra large devices (1200px+) */
@media (min-width: 1200px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero {
    padding: var(--space-4xl) 0 calc(var(--space-4xl) + 1rem);
  }
}
