/* ==========================================================================
   ALMATEC — Design System
   Fonte: Outfit (Google Fonts) | Paleta: Verde #1a7a2e + Azul #003f9e
   ========================================================================== */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  /* Cores */
  --color-primary:        #1a7a2e;
  --color-primary-dark:   #145c22;
  --color-primary-light:  #eef5f0;
  --color-secondary:      #003f9e;
  --color-secondary-dark: #002d75;
  --color-accent:         #f5c800;
  --color-bg:             #f7f6f2;
  --color-bg-alt:         #eef5f0;
  --color-dark:           #0e1a12;
  --color-dark-card:      #162118;
  --color-text:           #111d14;
  --color-text-muted:     #5a6b5e;
  --color-border:         #d4e0d6;
  --color-white:          #ffffff;

  /* Tipografia */
  --font: 'Outfit', sans-serif;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Escala */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Espaço */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Formas */
  --radius:    4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Sombras */
  --shadow:    0 4px 16px rgba(26, 122, 46, 0.10);
  --shadow-md: 0 6px 24px rgba(26, 122, 46, 0.12);
  --shadow-lg: 0 12px 40px rgba(26, 122, 46, 0.16);

  /* Transição */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --dur: 0.3s;

  /* Layout */
  --container: 1200px;
  --container-narrow: 800px;
  --header-height: 72px;
  --utility-height: 40px;
}

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

.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }

p { max-width: 68ch; }

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-white  { color: var(--color-white); }

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

.section-header {
  margin-bottom: var(--space-12);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(26, 122, 46, 0.25);
}
.btn--primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(26, 122, 46, 0.35);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}
.btn--secondary:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-1px);
}

.btn--outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--outline-white {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--color-white);
  background: transparent;
}
.btn--outline-white:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

.btn--ghost {
  color: var(--color-text-muted);
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover { color: var(--color-text); }

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  min-height: 56px;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Utility Bar ---------- */
.utility-bar {
  background-color: var(--color-dark);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  height: var(--utility-height);
  display: flex;
  align-items: center;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.utility-bar a {
  color: inherit;
  transition: color var(--dur) var(--ease);
}
.utility-bar a:hover { color: var(--color-accent); }

.utility-bar__sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.25);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.nav__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Logo fallback text */
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-text strong {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.nav__logo-text span {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav__links a {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  padding-block: var(--space-2);
  position: relative;
  transition: color var(--dur) var(--ease);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width var(--dur) var(--ease);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--color-primary);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: var(--space-2);
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--dur) var(--ease);
}

.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: calc(var(--utility-height) + var(--header-height));
  background: var(--color-white);
  z-index: 99;
  padding: var(--space-8) var(--space-6);
  flex-direction: column;
  gap: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.nav__mobile.is-open { display: flex; }

.nav__mobile a {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(1.02);
  transition: transform 8s var(--ease);
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 26, 18, 0.55) 0%,
    rgba(14, 26, 18, 0.72) 100%
  );
  z-index: 1;
}

.hero.is-loaded .hero__bg {
  transform: scale(1);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-24);
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(245,200,0,0.15);
  border: 1px solid rgba(245,200,0,0.4);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  margin-bottom: var(--space-6);
  letter-spacing: 0.04em;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}

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

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__trust-logo {
  background: var(--color-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-secondary);
  letter-spacing: 0.05em;
}

.hero__trust-text {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--color-primary);
  padding-block: var(--space-6);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.stat-item {
  color: var(--color-white);
}

.stat-item__number {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
  transition: background var(--dur) var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.service-card:hover .service-card__icon img {
  filter: brightness(0) invert(1);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  /* Convert PNG to dark green #1a7a2e to match SVG icon colour */
  filter: brightness(0) saturate(100%) invert(27%) sepia(73%) saturate(537%) hue-rotate(96deg) brightness(96%);
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Services page — expanded cards */
.service-card--expanded {
  padding: var(--space-10);
}

.service-card--expanded h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.service-card--expanded p {
  font-size: var(--text-base);
}

/* ---------- About Split ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-split__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

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

.about-split__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-alt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.about-split__badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.about-split__badge-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.about-split__badge-icon svg {
  width: 22px;
  height: 22px;
}

.about-split__badge-text strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1;
}

.about-split__badge-text span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.about-split__content {
  max-width: 560px;
}

.about-split__content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.about-split__content p + p {
  margin-bottom: var(--space-8);
}

/* ---------- Partners Strip ---------- */
.partners-strip {
  padding-block: var(--space-16);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.partners-strip__label {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-8);
}

.partners-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  filter: grayscale(0.3);
  opacity: 0.8;
  transition: all var(--dur) var(--ease);
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo__badge {
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-logo__name {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-secondary);
  letter-spacing: -0.01em;
}

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-card blockquote {
  font-size: var(--text-base);
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.review-card__author {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
}

.reviews-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.reviews-source svg {
  width: 20px;
  height: 20px;
  color: #4285F4;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--color-dark);
  padding-block: var(--space-20);
  text-align: center;
}

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

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  margin-inline: auto;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.cta-banner__hours {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info__label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.contact-info__value a {
  transition: color var(--dur) var(--ease);
}
.contact-info__value a:hover { color: var(--color-primary); }

.contact-info__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: var(--space-8);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 280px;
}

/* ---------- Contact Form ---------- */
.form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow);
}

.form__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-6);
}

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

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form__required {
  color: var(--color-primary);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 122, 46, 0.12);
  background: var(--color-white);
}

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

.form__privacy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.5;
}

.form__privacy a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__status {
  display: none;
  padding: var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  margin-top: var(--space-4);
}

.form__status--success {
  background: #dcf7e3;
  color: var(--color-primary-dark);
  border: 1px solid #9fe0b0;
}

.form__status--error {
  background: #fde8e8;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col__logo {
  margin-bottom: var(--space-4);
}

.footer-col__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Logo text fallback */
.footer-logo-text {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.footer-col p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 36ch;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
  transition: color var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--color-white); }

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

.footer-contact__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

.footer-contact__item a {
  color: inherit;
  transition: color var(--dur) var(--ease);
}
.footer-contact__item a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-6);
}

.footer-bottom__copy {
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xs);
}

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

.footer-bottom__legal a {
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xs);
  transition: color var(--dur) var(--ease);
}
.footer-bottom__legal a:hover { color: rgba(255,255,255,0.8); }

/* ---------- Mobile Sticky Bar ---------- */
.sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: var(--space-3) var(--space-4);
  padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
}

.sticky-mobile__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem;
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  min-height: 52px;
  transition: all var(--dur) var(--ease);
}

.sticky-btn:active { transform: scale(0.97); }

.sticky-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.sticky-btn--whatsapp {
  background: #25D366;
  color: var(--color-white);
}
.sticky-btn--whatsapp:hover { background: #1ebe59; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform var(--dur) var(--ease);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

.cookie-banner.is-hidden {
  transform: translateY(110%);
  pointer-events: none;
}

.cookie-banner p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  max-width: none;
}

.cookie-banner a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
  align-items: center;
}

.cookie-banner .btn--ghost {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  min-height: auto;
}
.cookie-banner .btn--ghost:hover { color: var(--color-white); border-color: rgba(255,255,255,0.5); }

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 720px;
  margin-inline: auto;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  margin-bottom: var(--space-2);
}

.legal-content .legal-date {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-10);
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  max-width: none;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.legal-content ul li {
  margin-bottom: var(--space-2);
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--color-dark);
  padding-block: var(--space-16);
  text-align: center;
}

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

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-lg);
  margin-inline: auto;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  justify-content: center;
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--dur) var(--ease);
}
.breadcrumb a:hover { color: var(--color-white); }

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

/* ---------- 404 Page ---------- */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--space-24);
}

.not-found__code {
  font-size: 6rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-4);
  opacity: 0.15;
}

.not-found__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

/* ---------- Scroll Animation ---------- */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-anim-delay="1"] { transition-delay: 0.1s; }
[data-anim-delay="2"] { transition-delay: 0.2s; }
[data-anim-delay="3"] { transition-delay: 0.3s; }
[data-anim-delay="4"] { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-split__image {
    aspect-ratio: 16/7;
    max-height: 380px;
  }

  .about-split__content {
    max-width: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  :root {
    --space-20: 3.5rem;
    --space-24: 4rem;
    --space-16: 3rem;
  }

  .nav__links,
  .nav__cta { display: none; }

  .hamburger { display: flex; }

  .hero {
    min-height: 480px;
  }

  .hero__content {
    padding-block: var(--space-16);
  }

  .stats-strip__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .stat-item__number {
    font-size: var(--text-2xl);
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .utility-bar__inner {
    gap: var(--space-3);
    font-size: var(--text-xs);
  }

  .sticky-mobile { display: block; }

  /* Add bottom padding to prevent sticky bar overlap */
  body { padding-bottom: 80px; }

  .cookie-banner {
    flex-direction: column;
    gap: var(--space-4);
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
  }

  .page-hero {
    padding-block: var(--space-12);
  }

  .form {
    padding: var(--space-6);
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .partners-strip__logos {
    gap: var(--space-8);
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .sticky-mobile,
  .cookie-banner,
  .cta-banner,
  .hero__bg { display: none; }
}
