/* ============================================================
   R&A Engenharia e Automação — Landing Page Styles
   ============================================================ */

/* --- Variables --- */
:root {
  --blue:        #1B3A8C;
  --blue-dark:   #112560;
  --blue-mid:    #1e4299;
  --blue-light:  #2451B3;
  --orange:      #E8720C;
  --orange-dk:   #C45E08;
  --orange-lt:   #FF8C2A;
  --white:       #FFFFFF;
  --off:         #F5F7FA;
  --g100:        #F0F2F6;
  --g200:        #E2E6ED;
  --g400:        #9AA3B2;
  --g600:        #64748B;
  --g800:        #334155;
  --dark:        #0D1B2A;

  --font-h: 'Oswald', sans-serif;
  --font-b: 'DM Sans', sans-serif;

  --sh-sm:  0 2px 8px rgba(27,58,140,.08);
  --sh-md:  0 8px 32px rgba(27,58,140,.13);
  --sh-lg:  0 20px 60px rgba(27,58,140,.18);
  --sh-or:  0 8px 32px rgba(232,114,12,.32);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;

  --hh: 90px;
  --hero-h: 880px;
  --container: 1280px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --- Typography helpers --- */
.text-orange   { color: var(--orange); }
.section-label {
  display: block;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-label--light { color: var(--orange-lt); }
.section-title {
  font-family: var(--font-h);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 14px;
}
.section-sub { font-size: 17px; color: var(--g600); max-width: 540px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .section-sub { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--r-sm);
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: all .28s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn--orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--sh-or);
}
.btn--orange:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(232,114,12,.42);
}
.btn--blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--sh-md);
}
.btn--blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.38);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn--lg { padding: 16px 34px; font-size: 15px; }
.btn--xl { padding: 20px 48px; font-size: 17px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--hh);
  min-height: var(--hh);
  background: var(--blue-dark);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.scrolled {
  background: rgba(17,37,96,.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 28px rgba(0,0,0,.28);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__logo img {
  height: 46px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-h);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: all .22s var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.header__cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .28s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: var(--hero-h);
  min-height: var(--hero-h);
  display: flex;
  align-items: center;
  padding: calc(var(--hh) + 72px) 0 88px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("images/bg-desktop.jpg");
  background-image: image-set(
    url("images/bg-desktop.webp") type("image/webp"),
    url("images/bg-desktop.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(11,24,68,.62) 0%,
    rgba(27,58,140,.42) 50%,
    rgba(17,37,96,.28) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
}
.hero__copy {
  width: 100%;
  max-width: 620px;
}
.hero__visual {
  width: 100%;
  min-height: clamp(360px, 48vh, 560px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.92);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .5px;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.35); }
}
.hero__title {
  font-family: var(--font-h);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: 0;
}
.hero__title-line {
  display: block;
  white-space: nowrap;
}
.hero__title em { font-style: normal; }
.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero__sub strong { color: var(--white); font-weight: 600; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 500;
}
.hero__trust svg { color: var(--orange); flex-shrink: 0; }
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(255,255,255,.38);
  border-bottom: 2px solid rgba(255,255,255,.38);
  transform: rotate(45deg);
  animation: bounce-down 2s infinite;
}
@keyframes bounce-down {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%     { transform: rotate(45deg) translateY(6px); }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
  background: var(--blue-dark);
  padding: 72px 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border-radius: var(--r-md);
  overflow: hidden;
}
.problem-card {
  background: rgba(255,255,255,.03);
  padding: 40px 32px;
  border-top: 3px solid transparent;
  transition: all .28s var(--ease);
}
.problem-card:hover {
  background: rgba(255,255,255,.07);
  border-top-color: var(--orange);
}
.problem-icon { font-size: 30px; margin-bottom: 14px; }
.problem-card h3 {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.problem-card p { font-size: 15px; color: rgba(255,255,255,.62); line-height: 1.7; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: 104px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual picture,
.services-residential__media picture,
.services-split__img picture,
.cta-banner__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.about-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  font-size: 13px;
  font-weight: 600;
}
.about-badge--stat {
  top: -18px;
  right: -18px;
  flex-direction: column;
  gap: 2px;
  background: var(--orange);
  color: var(--white);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--sh-or);
}
.about-badge--stat .badge-stat-num {
  font-family: var(--font-h);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  display: inline;
}
.about-badge--stat span:nth-child(2) {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 700;
}
.about-badge--stat span:last-child {
  font-size: 12px;
  font-weight: 500;
  opacity: .9;
}
.about-badge--cert {
  bottom: -18px;
  left: -18px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 18px;
  max-width: 230px;
  line-height: 1.4;
}
.about-badge--cert svg { flex-shrink: 0; color: var(--orange-lt); }
.about-content p {
  font-size: 16px;
  color: var(--g600);
  line-height: 1.82;
  margin-bottom: 18px;
}
.about-list {
  margin: 26px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--g800);
  font-weight: 500;
}
.about-list svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { padding: 104px 0; background: var(--off); }
.tabs {
  display: flex;
  gap: 6px;
  background: var(--g100);
  padding: 5px;
  border-radius: var(--r-md);
  width: fit-content;
  margin: 0 auto 44px;
}
.tab-btn {
  font-family: var(--font-h);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 11px 26px;
  border-radius: var(--r-sm);
  color: var(--g600);
  transition: all .25s var(--ease);
}
.tab-btn.active { background: var(--blue); color: var(--white); box-shadow: var(--sh-md); }
.tab-btn:hover:not(.active) { background: var(--g200); color: var(--dark); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 3-col grid for residencial */
.services-residential {
  display: grid;
  gap: 24px;
}
.services-residential__media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.svc-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 34px 26px;
  border: 2px solid transparent;
  box-shadow: var(--sh-sm);
  transition: all .28s var(--ease);
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  border-color: var(--orange);
  box-shadow: var(--sh-lg);
  transform: translateY(-6px);
}
.svc-card--flat {
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 22px;
}
.svc-card--flat .svc-icon { flex-shrink: 0; }
.svc-card--flat:hover { transform: translateY(-3px); }
.svc-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.svc-card--flat .svc-icon { margin-bottom: 0; }
.svc-card h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.svc-card p {
  font-size: 14.5px;
  color: var(--g600);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 18px;
}
.svc-card--flat p { margin-bottom: 12px; }
.svc-link {
  font-family: var(--font-h);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--orange);
  transition: all .22s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.svc-link:hover { color: var(--orange-dk); letter-spacing: 1.2px; }

/* Split layout for predial/industrial */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.services-split--reverse { direction: rtl; }
.services-split--reverse > * { direction: ltr; }
.services-split__img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.services-split__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section { background: var(--orange); padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-family: var(--font-h);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-number .counter { display: inline; }
.stat-label { font-size: 13.5px; font-weight: 500; opacity: .86; letter-spacing: .4px; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diff-section { padding: 104px 0; background: var(--white); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.diff-card {
  padding: 34px 26px;
  border-radius: var(--r-md);
  background: var(--off);
  border: 1px solid var(--g200);
  position: relative;
  overflow: hidden;
  transition: all .28s var(--ease);
}
.diff-card:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}
.diff-card:hover .diff-icon { background: var(--orange); }
.diff-num {
  font-family: var(--font-h);
  font-size: 68px;
  font-weight: 700;
  color: var(--g200);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.diff-icon {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
  transition: background .25s var(--ease);
}
.diff-card h3 {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.diff-card p { font-size: 14.5px; color: var(--g600); line-height: 1.72; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
}
.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,24,68,.9) 0%, rgba(27,58,140,.82) 100%);
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner__content h2 {
  font-family: var(--font-h);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-banner__content p { font-size: 16px; color: rgba(255,255,255,.72); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 104px 0; background: var(--off); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  align-items: start;
}
.tcard {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 34px 26px;
  box-shadow: var(--sh-sm);
  border: 2px solid transparent;
  transition: box-shadow .28s var(--ease);
}
.tcard--featured {
  border-color: var(--orange);
  box-shadow: var(--sh-or);
  transform: scale(1.04);
}
.tcard:hover { box-shadow: var(--sh-lg); }
.tcard__stars { color: var(--orange); font-size: 18px; letter-spacing: 3px; margin-bottom: 14px; }
.tcard__text {
  font-size: 15px;
  color: var(--g800);
  line-height: 1.82;
  font-style: italic;
  margin-bottom: 22px;
}
.tcard__author { display: flex; align-items: center; gap: 13px; }
.tcard__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.tcard__author strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.tcard__author span  { font-size: 12px; color: var(--g400); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 104px 0; background: var(--white); }
.faq-inner { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--off);
  border-radius: var(--r-md);
  border: 1px solid var(--g200);
  overflow: hidden;
  transition: border-color .24s var(--ease);
}
.faq-item.open { border-color: var(--blue); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color .22s var(--ease);
}
.faq-q:hover { color: var(--blue); }
.faq-item.open .faq-q { color: var(--blue); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--orange);
  transition: transform .3s var(--ease);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--g600);
  line-height: 1.8;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.final-cta__inner { position: relative; z-index: 1; }
.final-cta__title {
  font-family: var(--font-h);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.14;
  margin-bottom: 18px;
}
.final-cta__sub {
  font-size: 18px;
  color: rgba(255,255,255,.73);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.72;
}
.final-cta__info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
}
.final-cta__info li { color: rgba(255,255,255,.68); font-size: 14px; font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); padding: 72px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__logo { height: 50px; width: auto; border-radius: 4px; margin-bottom: 18px; }
.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,.52);
  line-height: 1.82;
  max-width: 300px;
  margin-bottom: 22px;
}
.footer__social { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.58);
  transition: all .24s var(--ease);
}
.social-btn:hover { background: var(--orange); color: var(--white); }
.footer__col h4 {
  font-family: var(--font-h);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.52);
  transition: color .22s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__col ul a::before { content: '›'; color: var(--orange); font-size: 16px; }
.footer__col ul a:hover { color: var(--white); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
  font-size: 14px;
  color: rgba(255,255,255,.52);
}
.footer__contact-item svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer__contact-item a { color: rgba(255,255,255,.52); transition: color .22s var(--ease); }
.footer__contact-item a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__bottom-inner p { font-size: 13px; color: rgba(255,255,255,.36); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 30px rgba(37,211,102,.42);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.wpp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 40px rgba(37,211,102,.52);
}
.wpp-float__pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wpp-ring 2.8s cubic-bezier(.215,.61,.355,1) infinite;
}
@keyframes wpp-ring {
  0%  { transform: scale(1);   opacity: .8; }
  100%{ transform: scale(1.7); opacity: 0;  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-animate].in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .diff-grid { grid-template-columns: repeat(2,1fr); }
  .services-split { grid-template-columns: 1fr; }
  .services-split--reverse { direction: ltr; }
  .services-split__img img { height: 320px; }
  .services-residential__media img { height: 320px; }
}

@media (max-width: 768px) {
  :root { --hh: 90px; }

  /* mobile nav */
  .header__nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--hh);
    left: 0; right: 0;
    background: var(--blue-dark);
    padding: 20px 16px 28px;
    gap: 2px;
    box-shadow: 0 20px 40px rgba(0,0,0,.32);
    z-index: 998;
  }
  .header__nav.open { display: flex; }
  .nav-link { padding: 13px 16px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .header__cta { display: none; }
  .hamburger { display: flex; }

  .hero { height: auto; min-height: auto; padding: calc(var(--hh) + 56px) 0 72px; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__copy { max-width: 100%; }
  .hero__title-line { white-space: normal; }
  .hero__visual { display: none; }
  .hero__title {
    font-size: 52px;
    line-height: 1;
  }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }

  .problem-grid { grid-template-columns: 1fr; }
  .services-residential__media img { height: 260px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .tcard--featured { transform: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .tabs { flex-direction: column; width: 100%; }
  .tab-btn { text-align: center; }
  .about-badge--stat { top: -12px; right: -8px; }
  .about-badge--cert { left: -8px; bottom: -12px; }
  .final-cta__info { flex-direction: column; align-items: center; gap: 10px; }
  .wpp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
}

@media (max-width: 560px) {
  .hero__title { font-size: 48px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 24px; }
  .hero__title { font-size: 44px; }
  .stat-number { font-size: 42px; }
  .final-cta__title { font-size: 26px; }
  .cta-banner__content h2 { font-size: 20px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 41px; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 38px; }
}

@media (max-width: 340px) {
  .hero__content {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero__title { font-size: 36px; }
}
