/* =============================================================================
   Tri Tech Cooling — Unified stylesheet
   Premium, modern, minimalist. Mobile-first with Grid + Flexbox.
   ============================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-color: #06b6d4;
  --bg-dark: #0f172a;
  --bg-dark-soft: #1e293b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-on-dark: #e2e8f0;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --header-h: 76px;
  --container: 1180px;
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ----- Header / Nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.site-header .logo {
  min-width: 0;
}

.site-header .brand-name {
  max-width: 210px;
  line-height: 1.2;
}

.logo img {
  width: auto !important;
  height: 64px !important;
  object-fit: contain;
}

.site-footer .logo img {
  height: 38px !important;
}

.brand-highlight {
  color: var(--accent-color);
}

.logo-mark {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  background: url("Images/Tritech_logo.jpeg") center / contain no-repeat;
  display: grid;
  place-items: center;
  color: transparent;
  box-shadow: none;
}

.logo-mark svg {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.08);
}

.nav-dropdown {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-dropdown-link {
  padding-right: 0.35rem;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.08);
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 280px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 0.45rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: normal;
  line-height: 1.35;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-color);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-cta {
  margin-left: 0.5rem;
  background: var(--primary-color) !important;
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bg-dark);
  transition: var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--bg-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ----- Hero slider ----- */
.hero-slider {
  position: relative;
  height: min(88vh, 720px);
  overflow: hidden;
  background: var(--bg-dark);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.slide.is-active img {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.35) 70%);
  display: flex;
  align-items: center;
}

.slide-content {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  color: #fff;
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.85rem;
}

.slide-content h1,
.page-hero h1,
.section-title {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.slide-content h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  margin-bottom: 0.85rem;
}

.slide-content p {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 52ch;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.4);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary-color);
}

.slider-btn.prev {
  left: 1.25rem;
}

.slider-btn.next {
  right: 1.25rem;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots button.is-active {
  width: 28px;
  background: #fff;
}

/* ----- Page hero (inner pages) ----- */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--bg-dark) center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.45));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-block: 4rem;
}

.page-hero p {
  color: var(--text-on-dark);
  max-width: 46ch;
  margin-top: 0.6rem;
}

/* ----- Sections ----- */
section {
  padding: 5rem 0;
}

.section-kicker {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 58ch;
}

.section-head {
  margin-bottom: 2.5rem;
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: var(--bg-dark);
  color: #fff;
}

.bg-dark .section-lead {
  color: var(--text-on-dark);
}

/* ----- Feature cards ----- */
.feature-grid,
.card-grid,
.team-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-light);
}

.gallery-upload-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.gallery-upload-note strong {
  color: var(--text-main);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ----- Split layout ----- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split img,
.placeholder-frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.mission-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.mission-list li {
  display: flex;
  gap: 0.6rem;
  color: var(--text-muted);
}

.mission-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
}

/* ----- Intro teaser ----- */
.teaser-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--primary-color);
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ----- CTA banner ----- */
.cta-banner {
  background: linear-gradient(120deg, var(--primary-color), #0e7490);
  color: #fff;
  padding: 3.5rem 0;
}

.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.03em;
}

.cta-banner p {
  opacity: 0.9;
  margin-top: 0.35rem;
}

/* ----- Team ----- */
.team-grid {
  grid-template-columns: repeat(4, 1fr);
}

.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover img {
  transform: scale(1.04);
}

.team-card .meta {
  padding: 1rem 1.1rem 1.25rem;
}

.team-card h3 {
  font-size: 1rem;
}

.team-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ----- Services ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.learn-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.88rem;
}

.learn-more:hover {
  color: var(--accent-color);
}

.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body .learn-more {
  margin-top: auto;
}

.related-products {
  grid-template-columns: repeat(3, 1fr);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.timeline-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.6rem;
  letter-spacing: -0.04em;
  font-size: 1.3rem;
}

/* ----- Portfolio ----- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 260px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}


.gallery-overlay .tag {
  font-size: 0.75rem;
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-item.is-hidden {
  display: none;
}

/* ----- Contact ----- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.form-card,
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  background: var(--bg-light);
  color: var(--text-main);
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: var(--primary-color);
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  display: none;
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #dc2626;
}

.field.is-invalid .field-error {
  display: block;
}

.form-success {
  display: none;
  background: rgba(6, 182, 212, 0.12);
  color: #0e7490;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.info-list {
  display: grid;
  gap: 1rem;
}

.info-list li strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.map-frame {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-location-heading {
  margin-top: 0.45rem;
  color: #fff;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}

.socials a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.newsletter {
  display: flex;
  gap: 0.4rem;
}

.newsletter input {
  background: var(--bg-dark-soft);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.newsletter .btn {
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.newsletter-msg {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  min-height: 1.1em;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .feature-grid,
  .services-grid,
  .gallery-grid,
  .timeline,
  .team-grid,
  .related-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .split.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }
}

@media (max-width: 768px) {
  .site-header .nav-inner {
    gap: 0.5rem;
  }

  .site-header .logo {
    flex: 1;
    gap: 0.45rem;
    font-size: 0.9rem;
  }

  .site-header .logo img {
    height: 52px !important;
  }

  .site-header .brand-name {
    max-width: 190px;
    font-size: 0.82rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-dropdown {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .nav-dropdown-link {
    flex: 1;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    flex-basis: 100%;
    max-height: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.35rem 0.75rem;
    background: transparent;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 0.45rem 0.65rem;
  }

  .feature-grid,
  .services-grid,
  .gallery-grid,
  .timeline,
  .team-grid,
  .related-products,
  .form-row,
  .teaser-stats,
  .footer-grid,
  .cta-banner .container,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-slider {
    height: 78vh;
  }

  .slider-btn.prev {
    left: 0.6rem;
  }

  .slider-btn.next {
    right: 0.6rem;
  }

  section {
    padding: 3.25rem 0;
  }
}

/* ----- Floating WhatsApp ----- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.whatsapp-float .whatsapp-label {
  background: #fff;
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.whatsapp-float .whatsapp-label small {
  display: block;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
}

.whatsapp-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.whatsapp-icon svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover .whatsapp-icon {
  transform: translateY(-3px) scale(1.04);
  background: #1ebe5d;
}

.whatsapp-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@media (max-width: 380px) {
  .site-header .logo img {
    height: 46px !important;
  }

  .site-header .brand-name {
    max-width: 170px;
    font-size: 0.76rem;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .whatsapp-icon {
    width: 52px;
    height: 52px;
  }
}
