/* ==========================================================================
   Taamir Group: custom styles layered on top of Bootstrap 5
   Brand colours from the logo: teal #007E7E and gold #F6B412
   Type: Montserrat for headings, buttons and labels; Open Sans for text
   ========================================================================== */

:root {
  --tg-teal: #007e7e;
  --tg-teal-dark: #00605f;
  --tg-teal-deep: #03302f;
  --tg-mint: #f1f8f8;
  --tg-gold: #f6b412;
  --tg-gold-dark: #dba000;
  --tg-ink: #15292a;
  --tg-muted: #5b6d6e;
  --tg-line: #dce8e8;
  --tg-radius: 20px;
  --tg-shadow-sm: 0 6px 22px rgba(3, 48, 47, 0.08);
  --tg-shadow-lg: 0 25px 60px rgba(3, 48, 47, 0.18);
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  /* Bootstrap components read these, so they follow the site fonts too */
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.7;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tg-ink);
  background: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--tg-ink);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

img {
  max-width: 100%;
}

.text-gold {
  color: var(--tg-gold) !important;
}

.section-padding {
  padding: 96px 0;
}

.section-tint {
  background: var(--tg-mint);
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2000;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--tg-gold);
  color: var(--tg-ink);
}

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-font-size: 0.9375rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-lg {
  --bs-btn-font-size: 1rem;
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-padding-x: 1.75rem;
}

.btn-gold {
  --bs-btn-color: var(--tg-ink);
  --bs-btn-bg: var(--tg-gold);
  --bs-btn-border-color: var(--tg-gold);
  --bs-btn-hover-color: var(--tg-ink);
  --bs-btn-hover-bg: var(--tg-gold-dark);
  --bs-btn-hover-border-color: var(--tg-gold-dark);
  --bs-btn-active-color: var(--tg-ink);
  --bs-btn-active-bg: var(--tg-gold-dark);
  --bs-btn-active-border-color: var(--tg-gold-dark);
  --bs-btn-focus-shadow-rgb: 246, 180, 18;
  box-shadow: 0 10px 25px rgba(246, 180, 18, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 14px 30px rgba(246, 180, 18, 0.45);
}

.btn-teal {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--tg-teal);
  --bs-btn-border-color: var(--tg-teal);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--tg-teal-dark);
  --bs-btn-hover-border-color: var(--tg-teal-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--tg-teal-dark);
  --bs-btn-active-border-color: var(--tg-teal-dark);
  --bs-btn-focus-shadow-rgb: 0, 126, 126;
  box-shadow: 0 10px 25px rgba(0, 126, 126, 0.25);
}

.btn-outline-teal {
  --bs-btn-color: var(--tg-teal);
  --bs-btn-border-color: var(--tg-teal);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--tg-teal);
  --bs-btn-hover-border-color: var(--tg-teal);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--tg-teal-dark);
  --bs-btn-active-border-color: var(--tg-teal-dark);
  --bs-btn-focus-shadow-rgb: 0, 126, 126;
}

/* ---------- Top info bar ---------- */
.topbar {
  padding: 0.6rem 0;
  background: var(--tg-teal-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
}

.topbar-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar-link:hover {
  color: var(--tg-gold);
}

.topbar-link .bi {
  margin-inline-end: 0.45rem;
  color: var(--tg-gold);
}

/* ---------- Navigation ---------- */
.site-navbar {
  padding: 0.6rem 0;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.site-navbar.scrolled {
  box-shadow: var(--tg-shadow-sm);
}

.brand-logo {
  width: auto;
  height: 72px;
}

.site-navbar .nav-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tg-ink);
}

.site-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.1rem;
  height: 3px;
  border-radius: 3px;
  background: var(--tg-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--tg-teal);
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  transform: scaleX(1);
}

/* ---------- Banners: the home page and every inner page use this same component ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 130px);
  min-height: calc(100svh - 130px);
  padding: 80px 0 150px;
  background-color: var(--tg-teal-deep);
  color: #fff;
  --page-hero-img: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=80");
}

.hero--page {
  min-height: 68vh;
  min-height: 68svh;
  padding: 130px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2%;
  z-index: -2;
  background: var(--page-hero-img) center / cover no-repeat;
  animation: heroZoom 24s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(3, 48, 47, 0.96) 0%, rgba(0, 96, 95, 0.86) 48%, rgba(0, 126, 126, 0.45) 100%);
}

.page-hero--about {
  --page-hero-img: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2000&q=80");
}

.page-hero--services {
  --page-hero-img: url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=2000&q=80");
}

.page-hero--projects {
  --page-hero-img: url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=2000&q=80");
}

.page-hero--contact {
  --page-hero-img: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2000&q=80");
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-pill {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.hero-text {
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hero-animate {
  animation: fadeUp 0.9s ease both;
}

.hero-animate.delay-1 {
  animation-delay: 0.15s;
}

.hero-animate.delay-2 {
  animation-delay: 0.3s;
}

.hero-animate.delay-3 {
  animation-delay: 0.45s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Credentials strip (overlaps the home banner) ---------- */
.stats-section {
  position: relative;
  z-index: 3;
  margin-top: -95px;
}

.stats-card {
  padding: 2.25rem 1rem;
  border-radius: var(--tg-radius);
  background: #fff;
  box-shadow: var(--tg-shadow-lg);
}

.stat-item {
  padding: 1rem 0.5rem;
  text-align: center;
}

.stat-icon {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--tg-teal);
}

.stat-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--tg-ink);
}

.stat-label {
  font-size: 1rem;
  color: var(--tg-muted);
}

.stat-label a {
  color: var(--tg-muted);
  text-decoration: none;
}

.stat-label a:hover {
  color: var(--tg-teal);
}

@media (min-width: 992px) {
  .stat-item {
    position: relative;
  }

  .stat-item + .stat-item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--tg-line);
  }
}

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tg-teal);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--tg-gold);
}

.section-title {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
}

.section-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--tg-muted);
}

.section-header {
  max-width: 740px;
  margin: 0 auto 3rem;
}

/* ---------- Cost estimator ---------- */
.calc-card,
.calc-result {
  height: 100%;
  padding: 2rem;
  border-radius: var(--tg-radius);
  box-shadow: var(--tg-shadow-lg);
}

.calc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.calc-card .form-label {
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.calc-result {
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(135deg, var(--tg-teal-deep), var(--tg-teal-dark));
}

.calc-label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.calc-total {
  margin: 0.4rem 0 0.2rem;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--tg-gold);
}

.calc-range {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
}

.calc-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.calc-facts div {
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.calc-facts span {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
}

.calc-facts strong {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

.calc-breakdown {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

.calc-breakdown strong {
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}

.calc-note {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.calc-note a {
  font-weight: 600;
  color: #ffd45a;
}

.calc-howto {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--tg-line);
}

.calc-howto h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.calc-howto ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  color: var(--tg-muted);
}

.calc-howto li + li {
  margin-top: 0.35rem;
}

/* ---------- About ---------- */
.about-visual {
  position: relative;
}

.about-visual::before {
  content: "";
  position: absolute;
  top: -18px;
  inset-inline-start: -18px;
  width: 62%;
  height: 70%;
  border: 3px solid var(--tg-gold);
  border-radius: var(--tg-radius);
  z-index: 0;
}

.about-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--tg-radius);
  box-shadow: var(--tg-shadow-lg);
}

.about-badge {
  position: absolute;
  inset-inline-end: -20px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.4rem;
  border-radius: 16px;
  background: var(--tg-teal);
  color: #fff;
  box-shadow: var(--tg-shadow-lg);
}

.about-badge .bi {
  font-size: 2rem;
  color: var(--tg-gold);
}

.about-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.2;
}

.about-badge span {
  font-size: 0.875rem;
  opacity: 1;
}

.checklist {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.checklist .bi {
  font-size: 1.2rem;
  color: var(--tg-teal);
}

.mini-card {
  padding: 1.5rem;
  border-left: 4px solid var(--tg-gold);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--tg-shadow-sm);
}

.mini-card .bi {
  font-size: 1.6rem;
  color: var(--tg-teal);
}

.mini-card h3 {
  margin: 0.6rem 0 0.35rem;
  font-size: 1.125rem;
}

.mini-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--tg-muted);
}

.mini-card--lg {
  padding: 2.25rem 2rem;
}

.mini-card--lg .bi {
  font-size: 2.2rem;
}

.mini-card--lg h3 {
  font-size: 1.25rem;
}

.mini-card--lg p {
  font-size: 1rem;
}

/* ---------- Services ---------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.75rem;
  overflow: hidden;
  border: 1px solid var(--tg-line);
  border-radius: var(--tg-radius);
  background: #fff;
  box-shadow: var(--tg-shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tg-gold), var(--tg-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--tg-teal), var(--tg-teal-dark));
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 12px 24px rgba(0, 126, 126, 0.25);
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--tg-gold);
  color: var(--tg-ink);
  transform: rotate(-6deg) scale(1.05);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.service-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tg-muted);
}

.service-link {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tg-teal);
  text-decoration: none;
}

.service-link:hover {
  color: var(--tg-teal-dark);
}

/* ---------- Projects ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.filter-btn {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--tg-line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tg-ink);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--tg-teal);
  color: var(--tg-teal);
}

.filter-btn.active {
  border-color: var(--tg-teal);
  background: var(--tg-teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 126, 126, 0.25);
}

.project-item {
  animation: fadeIn 0.5s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.project-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--tg-radius);
  background: var(--tg-teal-deep);
  box-shadow: var(--tg-shadow-sm);
}

.project-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 48, 47, 0.92) 0%, rgba(3, 48, 47, 0.15) 60%, transparent 100%);
  transition: background 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.07);
}

.project-card:hover::after {
  background: linear-gradient(to top, rgba(0, 126, 126, 0.95) 0%, rgba(0, 126, 126, 0.2) 65%, transparent 100%);
}

.project-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.5rem;
  color: #fff;
}

.project-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--tg-gold);
  color: var(--tg-ink);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-caption h3 {
  margin: 0;
  font-size: 1.0625rem;
  color: #fff;
}

/* ---------- Why choose us ---------- */
.why-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--tg-radius);
  box-shadow: var(--tg-shadow-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  color: var(--tg-teal);
  font-size: 1.5rem;
  box-shadow: var(--tg-shadow-sm);
  transition: background 0.3s ease, color 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--tg-teal);
  color: #fff;
}

.feature-item h3 {
  margin-bottom: 0.3rem;
  font-size: 1.0625rem;
}

.feature-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--tg-muted);
}

/* ---------- Process ---------- */
.process-step {
  position: relative;
  height: 100%;
  padding: 2.75rem 1.6rem 2.2rem;
  border-radius: var(--tg-radius);
  background: #fff;
  box-shadow: var(--tg-shadow-sm);
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin: -4.9rem auto 1.1rem;
  border: 6px solid var(--tg-mint);
  border-radius: 50%;
  background: var(--tg-gold);
  color: var(--tg-ink);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(246, 180, 18, 0.35);
}

.process-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.125rem;
}

.process-step p {
  margin: 0;
  font-size: 1rem;
  color: var(--tg-muted);
}

/* ---------- Call to action band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(3, 48, 47, 0.94), rgba(0, 126, 126, 0.88)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.cta-band h2 {
  font-weight: 800;
  color: #fff;
}

.cta-band p {
  max-width: 640px;
  margin: 1rem auto 0;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Contact ---------- */
.contact-list {
  display: grid;
  gap: 1.4rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--tg-teal);
  color: #fff;
  font-size: 1.3rem;
}

.contact-list h3 {
  margin-bottom: 0.1rem;
  font-size: 1rem;
}

.contact-list p,
.contact-list a {
  margin: 0;
  font-size: 1rem;
  color: var(--tg-muted);
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--tg-teal);
}

.contact-list .directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tg-teal);
}

.contact-list .directions-link:hover {
  color: var(--tg-teal-dark);
}

.contact-card {
  padding: 2.5rem;
  border-radius: var(--tg-radius);
  background: #fff;
  box-shadow: var(--tg-shadow-lg);
}

.contact-card .form-label {
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.contact-card .form-control,
.contact-card .form-select {
  padding: 0.7rem 1rem;
  border-color: var(--tg-line);
  border-radius: 12px;
  font-size: 1rem;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  border-color: var(--tg-teal);
  box-shadow: 0 0 0 0.2rem rgba(0, 126, 126, 0.18);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tg-teal-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.site-footer h3 {
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  background: #fff;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 84px;
}

.footer-pec {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(246, 180, 18, 0.14);
  color: var(--tg-gold);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  padding-inline-start: 0.35rem;
  color: var(--tg-gold);
}

.footer-contact {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact .bi {
  margin-top: 0.3rem;
  color: var(--tg-gold);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--tg-gold);
}

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.9rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.6);
  animation: pulseRing 2s ease-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1040;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--tg-teal);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: var(--tg-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, visibility 0.3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--tg-gold);
  color: var(--tg-ink);
}

/* ---------- Reveal on scroll (only when JavaScript is running) ---------- */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .hero {
    padding: 70px 0 150px;
  }

  .hero--page {
    padding: 110px 0 80px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(3, 48, 47, 0.92) 0%, rgba(0, 96, 95, 0.88) 100%);
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .stats-section {
    margin-top: -70px;
  }

  .stats-card {
    padding: 1.5rem 0.5rem;
  }

  .about-visual::before {
    display: none;
  }

  .about-badge {
    inset-inline-end: 12px;
    bottom: 12px;
  }

  .contact-card {
    padding: 1.75rem;
  }

  .calc-card,
  .calc-result {
    padding: 1.5rem;
  }

  .cta-band {
    padding: 80px 0;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }

  .back-to-top {
    left: 16px;
    bottom: 16px;
  }

  .footer-bottom {
    padding-bottom: 5rem;
  }
}

@media (max-width: 575.98px) {
  .calc-facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
