*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  line-height: 1.2;
}

p {
  overflow-wrap: break-word;
}

:root {
  --color-primary: #0066CC;
  --color-primary-dark: #004C99;
  --color-primary-light: #E8F2FF;
  --color-accent: #00A3A3;
  --color-accent-dark: #008080;
  --color-success: #28A745;
  --color-warning: #FFC107;
  --color-danger: #DC3545;

  --color-text: #1A1A2E;
  --color-text-muted: #555566;
  --color-text-light: #888899;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F8FC;
  --color-bg-dark: #0A1628;
  --color-border: #E0E6ED;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --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;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 72px;
  --transition: 200ms ease;
}

@media (max-width: 768px) {
  :root {
    --fs-base: 1rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
    --header-height: 64px;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

.container--narrow {
  max-width: var(--max-width-narrow);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

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

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

a {
  color: var(--color-primary);
  transition: color var(--transition);
}

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

strong { font-weight: var(--fw-semibold); }

ul:not([class]), ol:not([class]) {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

ul:not([class]) li, ol:not([class]) li {
  margin-bottom: var(--space-sm);
}

img {
  height: auto;
  border-radius: var(--radius-md);
}

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

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

.section--dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section__header p {
  color: var(--color-text-muted);
  font-size: var(--fs-lg);
}

.section__subtitle {
  display: inline-block;
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

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

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

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

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

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

.flex--between {
  justify-content: space-between;
}

.flex--center {
  justify-content: center;
}

.flex--wrap {
  flex-wrap: wrap;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.8rem;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

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

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

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

.btn--white:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

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

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

/* Cards */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
}

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

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

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

.card__text {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* Product Card */
.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

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

.product-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.product-card__body {
  padding: var(--space-xl);
}

.product-card__badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.product-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.product-card__text {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
}

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

.product-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
  color: var(--color-text-muted);
}

.product-card__features li::before {
  content: "\2713";
  color: var(--color-success);
  font-weight: var(--fw-bold);
}

/* Trust Bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
}

.trust-bar__icon {
  color: var(--color-success);
  font-size: 1.2rem;
}

/* Testimonial */
.testimonial {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.testimonial__stars {
  color: var(--color-warning);
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.testimonial__text {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.testimonial__author {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.testimonial__location {
  color: var(--color-text-light);
  font-size: var(--fs-xs);
}

/* Form */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  transition: border-color var(--transition);
  background: var(--color-bg);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

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

/* Badge / Tag */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
}

.tag--primary {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.tag--accent {
  background: #E0F7FA;
  color: var(--color-accent-dark);
}

.tag--success {
  background: #E8F5E9;
  color: var(--color-success);
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-3xl) 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* Call Float (mobile) */
.call-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: transform var(--transition);
}

.call-float:hover {
  transform: scale(1.1);
}

.call-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@media (min-width: 769px) {
  .call-float {
    display: none;
  }
}

/* Breadcrumb */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb span {
  margin: 0 var(--space-sm);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: "+";
  font-size: var(--fs-xl);
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: "\2212";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: var(--space-lg);
  color: var(--color-text-muted);
}

/* Stats Row */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat__number {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Map embed */
.map-embed {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius-lg);
}

/* Responsive table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

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

.comparison-table th {
  background: var(--color-bg-alt);
  font-weight: var(--fw-semibold);
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 900;
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
}

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

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  position: relative;
  width: 24px;
  height: 24px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav__toggle span:nth-child(1) {
  top: 3px;
}

.nav__toggle span:nth-child(2) {
  top: 11px;
}

.nav__toggle span:nth-child(3) {
  top: 19px;
}

/* Hamburger to X animation */
.nav__toggle.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--space-sm) 0;
  margin-top: var(--space-md);
}

.nav__dropdown:hover .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.nav__dropdown-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-xl);
    gap: 0;
    overflow-y: auto;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__link {
    padding: var(--space-md) 0;
    font-size: var(--fs-lg);
    border-bottom: 1px solid var(--color-border);
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: var(--space-lg);
  }

  .nav__dropdown.active .nav__dropdown-menu {
    display: block;
  }
}

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, #fff 50%, var(--color-primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,102,204,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.hero__subtitle {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero__text {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__image {
  position: relative;
}

.hero__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__image {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* Hero compact variant for inner pages */
.hero--compact {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.hero--compact h1 {
  font-size: var(--fs-3xl);
}

.hero--compact .hero__text {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  color: #ccd6e0;
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
}

.footer__logo {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: #fff;
  display: block;
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: #8899aa;
  margin-bottom: var(--space-lg);
}

.footer__trust {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #fff;
}

.footer__trust span {
  background: rgba(255,255,255,0.08);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.footer__heading {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: #fff;
  margin-bottom: var(--space-lg);
}

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

.footer__links a {
  font-size: var(--fs-sm);
  color: #8899aa;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__links a:hover {
  color: #fff;
}

.footer__hours {
  margin-top: var(--space-lg);
  font-size: var(--fs-sm);
  color: #667788;
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: var(--space-3xl) 0 var(--space-lg);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: #556677;
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  color: #556677;
}

.footer__bottom-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
