:root {
  --slate: #0f172a;
  --teal: #0a5f5c;
  --teal-bright: #0c6b67;
  --teal-deep: #074e4b;
  --orange: #e8700a;
  --orange-ink: #b34d00;
  --stone: #c9a86a;
  --stone-ink: #9a7434;
  --bg: #faf9f6;
  --bg-muted: #f5f5f4;
  --white: #ffffff;
  --header-h: 4.5rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(10, 95, 92, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 112, 10, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-muted) 100%);
  min-height: 100vh;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border-radius: 0.5rem;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.navbar {
  max-width: 72rem;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 2;
}

.navbar__logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  display: block;
}

.navbar__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__name-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.navbar__name-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--slate) 55%, transparent);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.navbar__menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--slate) 78%, transparent);
  border-radius: 0.5rem;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.navbar__menu a:hover,
.navbar__menu a:focus-visible {
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
  outline: none;
}

.navbar__menu a.is-active {
  color: var(--teal);
}

.navbar__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 1px;
  background: var(--teal);
}

.navbar__menu .navbar__cta.is-active {
  margin-left: 0.35rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 55%, var(--orange) 160%);
  box-shadow: 0 4px 14px rgba(10, 95, 92, 0.25);
}

.navbar__menu .navbar__cta:hover,
.navbar__menu .navbar__cta:focus-visible {
  color: var(--white);
  filter: brightness(1.05);
}

.navbar__cta.is-active::after {
  display: none;
}

.navbar__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}

.navbar__toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.navbar__toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  border-radius: 1px;
  background: var(--slate);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  min-height: 70vh;
  scroll-margin-top: var(--header-h);
}

.section--home {
  min-height: calc(100vh - var(--header-h));
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.25rem 3.5rem;
  overflow: hidden;
}

.hero__inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero__eyebrow-line {
  width: 2.25rem;
  height: 2px;
  border-radius: 1px;
  background: var(--teal);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--slate);
  text-wrap: balance;
}

.hero__title-accent {
  display: block;
  font-style: italic;
  color: var(--orange-ink);
}

.hero__lead {
  max-width: 34rem;
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--slate) 72%, transparent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 55%, var(--orange) 160%);
  box-shadow: 0 6px 18px rgba(10, 95, 92, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px rgba(10, 95, 92, 0.34);
}

.btn--ghost {
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 28%, transparent);
}

.btn--ghost:hover {
  background: color-mix(in srgb, var(--teal) 13%, transparent);
  transform: translateY(-2px);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.25rem;
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--slate) 10%, transparent);
}

.hero__stat dd {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  color: var(--teal);
}

.hero__stat dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--slate) 55%, transparent);
}

/* Visual — abstract arch composition (no image assets needed) */

.hero__visual {
  position: relative;
  height: clamp(20rem, 46vw, 33rem);
}

.hero__arch {
  position: absolute;
  bottom: 0;
  border-radius: 999px 999px 1rem 1rem;
}

.hero__arch--main {
  left: 14%;
  right: 14%;
  top: 0;
  background: url("../images/projects/verdant-villa.webp") center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(10, 95, 92, 0.3);
  overflow: hidden;
}

.hero__arch--back {
  left: 0;
  right: 38%;
  top: 10%;
  height: 90%;
  background: url("../images/projects/azure-heights.webp") center / cover no-repeat;
  opacity: 0.9;
}

.hero__arch--side {
  right: 0;
  left: 66%;
  top: 18%;
  height: 82%;
  background: url("../images/projects/amber-cafe.webp") center / cover no-repeat;
  opacity: 0.85;
}


.hero__card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
  border-radius: 0.85rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.hero__card--badge {
  top: 12%;
  right: -2%;
  animation: hero-float 5s ease-in-out infinite;
}

.hero__card-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 112, 10, 0.18);
}

.hero__card--rating {
  bottom: 14%;
  left: -4%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  animation: hero-float 6s ease-in-out 0.8s infinite;
}

.hero__card-stars {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--stone);
}

.hero__card-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--slate) 70%, transparent);
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Entrance animation */

.hero__content > *,
.hero__visual {
  animation: hero-rise 0.9s var(--ease) both;
}

.hero__content > *:nth-child(2) {
  animation-delay: 0.1s;
}

.hero__content > *:nth-child(3) {
  animation-delay: 0.2s;
}

.hero__content > *:nth-child(4) {
  animation-delay: 0.3s;
}

.hero__content > *:nth-child(5) {
  animation-delay: 0.4s;
}

.hero__visual {
  animation-delay: 0.25s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll hint */

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--slate) 50%, transparent);
  transition: color 0.2s var(--ease);
}

.hero__scroll:hover {
  color: var(--teal);
}

.hero__scroll-track {
  width: 1.15rem;
  height: 2rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 0.3rem;
}

.hero__scroll-thumb {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  animation: hero-scroll-hint 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-hint {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(0.55rem);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ---------- Hero responsive ---------- */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__visual {
    max-width: 26rem;
    margin: 0 auto;
    width: 100%;
    height: clamp(18rem, 60vw, 26rem);
  }

  .hero__card--badge {
    right: 0;
  }

  .hero__card--rating {
    left: 0;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    gap: 1.25rem 1.75rem;
  }
}

@media (max-width: 900px) {
  .navbar__name-sub {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    inset: 0 0 auto 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-0.5rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .navbar__menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar__menu a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .navbar__menu a.is-active::after {
    left: 1rem;
    right: auto;
    width: 1.5rem;
    bottom: 0.55rem;
  }

  .navbar__cta {
    margin: 0.5rem 0 0;
    justify-content: center;
  }
}

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

  .navbar__menu,
  .navbar__menu a,
  .navbar__toggle-bar {
    transition: none;
  }

  .hero__content > *,
  .hero__visual,
  .hero__card--badge,
  .hero__card--rating,
  .hero__scroll-thumb {
    animation: none;
  }
}


/* ============================================
   Shared section styles
   ============================================ */

.section:not(.section--home) {
  padding: 5.5rem 1.25rem;
  position: relative;
}

.section__inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.section-head {
  max-width: 38rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

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

.eyebrow-line {
  width: 2.25rem;
  height: 2px;
  border-radius: 1px;
  background: var(--teal);
}

.section-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--slate);
}

.section-title em {
  font-style: italic;
  color: var(--orange-ink);
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--slate) 72%, transparent);
}

.section-lead--center {
  max-width: 32rem;
  margin: 0 auto;
}

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

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

/* ============================================
   About
   ============================================ */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 4rem;
}

.about__visual {
  position: relative;
  height: clamp(22rem, 34vw, 28rem);
}

.about__arch {
  position: absolute;
  bottom: 0;
  border-radius: 999px 999px 1rem 1rem;
}

.about__arch--tall {
  left: 8%;
  right: 34%;
  top: 0;
  background: url("../images/projects/casa-terra.webp") center / cover no-repeat;
  box-shadow: 0 22px 50px rgba(10, 95, 92, 0.28);
}

.about__arch--short {
  right: 0;
  left: 52%;
  top: 22%;
  background: url("../images/projects/slate-kitchen.webp") center / cover no-repeat;
  opacity: 0.95;
}

.about__badge {
  position: absolute;
  bottom: 8%;
  right: -4%;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
  border-radius: 1rem;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
  animation: hero-float 5.5s ease-in-out infinite;
}

.about__badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--orange-ink);
}

.about__badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: color-mix(in srgb, var(--slate) 70%, transparent);
}

.about__points {
  display: grid;
  gap: 1.35rem;
  margin: 1.75rem 0 2rem;
}

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

.about__point-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 18%, transparent);
}

.about__point h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
}

.about__point p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--slate) 68%, transparent);
}

/* ============================================
   Services
   ============================================ */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.9rem 1.6rem;
  background: color-mix(in srgb, var(--white) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
  border-radius: 1.1rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--teal) 30%, transparent);
  box-shadow: 0 18px 40px rgba(10, 95, 92, 0.12);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.15rem;
  border-radius: 0.9rem;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 8px 18px rgba(10, 95, 92, 0.24);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--slate);
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--slate) 68%, transparent);
}

/* ============================================
   Our Work
   ============================================ */

.work__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.work__filter-btn {
  min-height: 2.75rem;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--slate) 70%, transparent);
  background: color-mix(in srgb, var(--white) 75%, transparent);
  border: 1px solid color-mix(in srgb, var(--slate) 10%, transparent);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.work__filter-btn:hover {
  color: var(--teal);
  border-color: color-mix(in srgb, var(--teal) 35%, transparent);
}

.work__filter-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.work__filter-btn.is-active {
  color: var(--white);
  background: var(--teal);
  border-color: transparent;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work__card {
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.work__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.work__card.is-hidden {
  display: none;
}

.work__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-muted);
}

.work__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.work__tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(15, 23, 42, 0.45);
  border-radius: 999px;
}

.work__info {
  padding: 1.1rem 1.25rem;
}

.work__info h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate);
}

.work__info p {
  margin: 0;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--slate) 55%, transparent);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial-card {
  position: relative;
  margin: 0;
  padding: 1.6rem 1.7rem;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
  border-radius: 1.1rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--teal) 28%, transparent);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.testimonial-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  flex-shrink: 0;
}

.testimonial-card__who {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.testimonial-card__who strong {
  font-size: 0.9rem;
  color: var(--slate);
}

.testimonial-card__who small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: color-mix(in srgb, var(--slate) 58%, transparent);
}

.testimonial-card__who .g-mark {
  flex-shrink: 0;
}

.testimonial-card__tags {
  margin: 0.9rem 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal);
  border-top: 1px dashed color-mix(in srgb, var(--slate) 12%, transparent);
  padding-top: 0.8rem;
}

.testimonial-card__stars {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--stone-ink);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--slate) 78%, transparent);
}

/* ---------- Reviews summary ---------- */

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
  max-width: 30rem;
  margin: -1rem auto 2.75rem;
  padding: 1.1rem 1.75rem;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
}

.reviews-summary__score {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--slate);
}

.reviews-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.reviews-summary__meta small {
  font-size: 0.8rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--slate) 60%, transparent);
}

.reviews-summary__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 25%, transparent);
  border-radius: 999px;
  transition: background 0.2s var(--ease);
}

.reviews-summary__link:hover,
.reviews-summary__link:focus-visible {
  background: color-mix(in srgb, var(--teal) 15%, transparent);
}

.testimonials__carousel {
  position: relative;
  overflow: hidden;
  padding: 0 3.5rem; /* reserved gutters so arrows never cover card text */
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s var(--ease);
}

.testimonials__track .testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
}

.testimonials__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(10, 95, 92, 0.35);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.testimonials__btn:hover {
  background: var(--teal-bright);
  transform: translateY(-50%) scale(1.05);
}

.testimonials__btn:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

.testimonials__btn--prev {
  left: 0;
}

.testimonials__btn--next {
  right: 0;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.testimonials__dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  background: color-mix(in srgb, var(--slate) 20%, transparent);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.testimonials__dot.is-active {
  background: var(--teal);
  transform: scale(1.2);
}

.testimonials__dot:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ============================================
   Contact
   ============================================ */

.contact {
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(232, 112, 10, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 90%, rgba(10, 95, 92, 0.07), transparent 55%);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.contact__list {
  display: grid;
  gap: 1.3rem;
  margin-top: 2rem;
}

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

.contact__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 18%, transparent);
}

.contact__list strong {
  display: block;
  font-size: 0.9rem;
  color: var(--slate);
}

.contact__list small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
}

.contact__list span,
.contact__list a,
.contact__list small {
  font-size: 0.88rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--slate) 65%, transparent);
}

.contact__list a:hover {
  color: var(--teal);
}

.contact__form {
  padding: 2rem;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

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

.form__field {
  margin-bottom: 1.1rem;
}

.form__field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--slate) 75%, transparent);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--slate);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--slate) 14%, transparent);
  border-radius: 0.7rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form__field textarea {
  resize: vertical;
  min-height: 6rem;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 15%, transparent);
}

.form__field ::placeholder {
  color: color-mix(in srgb, var(--slate) 55%, transparent);
}

.form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.form__note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent);
  border-radius: 0.7rem;
}

/* ---------- Map ---------- */

.contact__map {
  margin-top: 3rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--slate) 8%, transparent);
  box-shadow: var(--shadow);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 25rem;
  border: 0;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--slate);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 1.25rem 1.75rem;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.site-footer__tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 22rem;
}

.site-footer__heading {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.site-footer__nap {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.75rem;
}

.site-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer__phone:hover {
  color: var(--stone);
}

.site-footer__phone:focus-visible {
  outline: 2px solid var(--stone);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.site-footer__icons {
  display: flex;
  gap: 0.75rem;
}

.site-footer__icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-footer__icons a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.site-footer__icons a:focus-visible {
  outline: 2px solid var(--stone);
  outline-offset: 2px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.site-footer__bottom .site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__bottom a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer__bottom a:hover {
  color: var(--stone);
}

.site-footer__bottom a:focus-visible {
  outline: 2px solid var(--stone);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* ============================================
   WhatsApp floating button
   ============================================ */

.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wa-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.wa-fab:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .wa-fab {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab {
    transition: none;
  }

  .wa-fab:hover {
    transform: none;
  }
}

/* ============================================
   Responsive — sections
   ============================================ */

@media (max-width: 960px) {
  .section:not(.section--home) {
    padding: 4rem 1.25rem;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__visual {
    max-width: 24rem;
    margin: 0 auto;
    width: 100%;
  }

  .about__badge {
    right: 0;
  }

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

  .testimonials__carousel {
    padding: 0;
  }

  .testimonials__track .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .testimonials__btn {
    display: none;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .site-footer__brand {
    align-items: center;
  }

  .site-footer__icons {
    justify-content: center;
  }

  .site-footer__bottom .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

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

  .testimonials__track .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .testimonials__btn {
    display: none;
  }

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

  .contact__form {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about__badge,
  .service-card,
  .work__card,
  .testimonial-card {
    transition: none;
  }

  .testimonials__track {
    transition: none;
  }
}
