/* ===================================================
   MADU PERSONAL TRAINER — DESIGN SYSTEM
   Paleta: Nudes empoeirados, Rosa Premium (Muted Berry), Mármore, Rosa pálido
   Tipografia: Playfair Display (serifa) + Montserrat (sans-serif)
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Core Palette */
  --nude:          hsl(25, 30%, 88%);
  --nude-deep:     hsl(25, 25%, 78%);
  --nude-light:    hsl(30, 40%, 95%);
  --rose-pale:     hsl(350, 40%, 90%);
  --rose-medium:   hsl(350, 35%, 80%);
  --rose-deep:     hsl(350, 30%, 65%);
  --gold:          hsl(330, 34%, 63%);
  --gold-light:    hsl(330, 38%, 75%);
  --gold-brush:    hsl(330, 30%, 52%);
  --marble-white:  hsl(0, 0%, 98%);
  --marble-vein:   hsl(0, 0%, 90%);
  --charcoal:      hsl(0, 0%, 20%);
  --charcoal-soft: hsl(0, 0%, 35%);
  --off-white:     hsl(30, 30%, 97%);
  --cream:         hsl(35, 40%, 94%);
  --white:         #fff;

  /* Functional */
  --bg-primary:    var(--marble-white);
  --bg-warm:       var(--cream);
  --bg-rose:       var(--rose-pale);
  --text-primary:  var(--charcoal);
  --text-soft:     var(--charcoal-soft);
  --accent:        var(--gold);
  --accent-hover:  var(--gold-brush);

  /* Typography */
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:     'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Spacing */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   1.5rem;
  --sp-lg:   2.5rem;
  --sp-xl:   4rem;
  --sp-2xl:  6rem;
  --sp-3xl:  8rem;

  /* Sizing */
  --max-width: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --radius-full: 50%;

  /* Transitions */
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    200ms;
  --dur-med:     400ms;
  --dur-slow:    600ms;

  /* Shadows */
  --shadow-soft:    0 2px 20px hsla(0, 0%, 0%, 0.04);
  --shadow-medium:  0 4px 30px hsla(0, 0%, 0%, 0.08);
  --shadow-gold:    0 4px 20px hsla(330, 34%, 63%, 0.15);
  --shadow-lift:    0 12px 40px hsla(0, 0%, 0%, 0.1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* --- Subtle Animated Mesh Gradient Background --- */
@keyframes meshDrift {
  0%   { background-position: 0% 50%, 100% 50%, 50% 0%; }
  25%  { background-position: 50% 0%, 0% 100%, 100% 50%; }
  50%  { background-position: 100% 50%, 50% 0%, 0% 100%; }
  75%  { background-position: 50% 100%, 100% 0%, 50% 50%; }
  100% { background-position: 0% 50%, 100% 50%, 50% 0%; }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, hsla(30, 40%, 95%, 0.6), transparent),
    radial-gradient(ellipse 60% 80% at 80% 20%, hsla(350, 40%, 92%, 0.5), transparent),
    radial-gradient(ellipse 70% 70% at 50% 80%, hsla(25, 30%, 90%, 0.4), transparent);
  background-size: 200% 200%, 200% 200%, 200% 200%;
  animation: meshDrift 18s ease-in-out infinite;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--dur-fast) var(--ease-out);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section-padding {
  padding: var(--sp-3xl) 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 { font-weight: 700; }

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-soft);
  max-width: 68ch;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-xs);
}

.section-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--rose-deep);
  margin-top: var(--sp-xs);
}

.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: var(--sp-md) 0;
  border-radius: 2px;
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, transparent 0%, hsla(0,0%,100%,0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-brush);
  box-shadow: 0px 12px 25px hsla(330, 34%, 50%, 0.2);
}

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.05);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--sp-sm) 0;
  transition: all var(--dur-med) var(--ease-out);
  background: hsla(0, 0%, 98%, 0.75);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
}

.nav.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 1px 30px hsla(0, 0%, 0%, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.nav__logo span {
  color: var(--gold);
}

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

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-soft);
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--dur-med) var(--ease-out);
}

.nav__link:hover {
  color: var(--gold-brush);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.7rem;
  border-radius: var(--radius-pill);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease-out);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  background: linear-gradient(160deg, var(--marble-white) 0%, var(--cream) 40%, var(--rose-pale) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, hsla(330, 34%, 63%, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: hsla(330, 34%, 63%, 0.1);
  border: 1px solid hsla(330, 34%, 63%, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-brush);
  margin-bottom: var(--sp-md);
}

.hero__badge svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--sp-sm);
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--rose-deep);
  margin-bottom: var(--sp-md);
  line-height: 1.5;
}

.hero__text {
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero__image-frame {
  position: relative;
  width: 85%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, hsla(350, 40%, 90%, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hero__float-card {
  position: absolute;
  bottom: 10%;
  left: -5%;
  background: var(--white);
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.hero__float-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__float-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.hero__float-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.hero__float-text span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--text-soft);
}

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

/* --- About Section --- */
.about {
  background: var(--white);
  position: relative;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.about__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.about__img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.about__img-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.about__img-card:first-child {
  grid-row: span 2;
}

.about__img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-sm);
  background: linear-gradient(0deg, hsla(0,0%,0%,0.5) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__content h2 {
  margin-bottom: var(--sp-xs);
}

.about__text {
  margin-top: var(--sp-md);
  line-height: 1.9;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
}

.about__stats {
  display: flex;
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--marble-vein);
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* --- Qualifications Section --- */
.qualifications {
  background: linear-gradient(180deg, var(--cream) 0%, var(--marble-white) 100%);
  position: relative;
}

.qualifications__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-2xl);
}

.qualifications__header p {
  margin: var(--sp-md) auto 0;
}

.qualifications__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.qual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.qual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transition: transform var(--dur-med) var(--ease-out);
}

.qual-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.qual-card:hover::before {
  transform: scaleX(1);
}

.qual-card__icon {
  width: 90px;
  height: 90px;
  margin: 0 auto var(--sp-md);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.qual-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qual-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--sp-sm);
  color: var(--text-primary);
}

.qual-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: hsla(330, 34%, 63%, 0.1);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold-brush);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}

.qual-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.qualifications__cta {
  text-align: center;
  margin-top: var(--sp-2xl);
}

/* --- Services Section --- */
.services {
  background: var(--white);
  position: relative;
}

.services__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-2xl);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.service-card {
  background: var(--marble-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.service-card__image {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, hsla(0,0%,0%,0.4) 0%, transparent 50%);
}

.service-card__tag {
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-sm);
  padding: 0.3rem 0.8rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-brush);
}

.service-card__body {
  padding: var(--sp-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: 1.3rem;
  margin-bottom: var(--sp-sm);
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
  flex: 1;
}

.service-card__features {
  margin-top: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.service-card__feature svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
}

.service-card__cta {
  margin-top: var(--sp-md);
}

/* --- Testimonials Section --- */
.testimonials {
  background: linear-gradient(180deg, var(--cream) 0%, var(--rose-pale) 50%, var(--cream) 100%);
  position: relative;
}

.testimonials__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-2xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
  margin-bottom: var(--sp-2xl);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, hsla(0,0%,0%,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-sm);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay span {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonials__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-soft);
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.testimonial-card__quote {
  position: absolute;
  top: var(--sp-sm);
  right: var(--sp-md);
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold-light);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-sm);
}

.testimonial-card__stars svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
}

.testimonial-card__text {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--gold-light);
  flex-shrink: 0;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* --- Blog Section --- */
.blog {
  background: var(--white);
}

.blog__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-2xl);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.blog-card {
  background: var(--marble-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--dur-med) var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.blog-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--nude), var(--rose-pale));
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.06);
}

.blog-card__category {
  position: absolute;
  bottom: var(--sp-sm);
  left: var(--sp-sm);
  padding: 0.25rem 0.7rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-brush);
}

.blog-card__body {
  padding: var(--sp-md);
}

.blog-card__date {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: var(--sp-xs);
  transition: color var(--dur-fast) var(--ease-out);
}

.blog-card:hover .blog-card__title {
  color: var(--gold-brush);
}

.blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-brush);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap var(--dur-fast) var(--ease-out);
}

.blog-card__link:hover {
  gap: 0.8rem;
}

.blog-card__link svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-brush);
}

/* --- Contact Section --- */
.contact {
  background: linear-gradient(180deg, var(--cream) 0%, var(--rose-pale) 100%);
  position: relative;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.contact__content h2 {
  margin-bottom: var(--sp-xs);
}

.contact__text {
  margin-top: var(--sp-md);
  line-height: 1.8;
}

.contact__info {
  margin-top: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.contact__info-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.contact__info-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact__info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact__social {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.contact__social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--dur-fast) var(--ease-out);
}

.contact__social-link:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.contact__social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  transition: fill var(--dur-fast) var(--ease-out);
}

.contact__social-link:hover svg {
  fill: var(--white);
}

/* Contact Form */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-medium);
}

.contact__form h3 {
  margin-bottom: var(--sp-md);
}

.form-group {
  margin-bottom: var(--sp-md);
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--marble-vein);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--marble-white);
  transition: all var(--dur-fast) var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px hsla(330, 34%, 63%, 0.1);
  background: var(--white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.form-submit {
  margin-top: var(--sp-sm);
  width: 100%;
}

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: hsla(0, 0%, 100%, 0.7);
  padding: var(--sp-2xl) 0 var(--sp-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.footer__brand-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--sp-sm);
}

.footer__brand-logo span {
  color: var(--gold-light);
}

.footer__brand-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: hsla(0, 0%, 100%, 0.5);
  max-width: 32ch;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-md);
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  color: hsla(0, 0%, 100%, 0.5);
  padding: 0.3rem 0;
  transition: all var(--dur-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer__bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-top: var(--sp-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 0.78rem;
  color: hsla(0, 0%, 100%, 0.4);
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-md);
}

.footer__bottom-links a {
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.4);
}

.footer__bottom-links a:hover {
  color: var(--gold-light);
}

/* --- Scroll Animations (Fade-in Up) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 150ms; }
.stagger-children > *:nth-child(3) { transition-delay: 300ms; }
.stagger-children > *:nth-child(4) { transition-delay: 450ms; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
    text-align: center;
  }

  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image-wrapper {
    order: -1;
  }

  .hero__float-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: 5%;
    animation: float-mobile 4s ease-in-out infinite;
  }

  @keyframes float-mobile {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .about__images {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--sp-2xl) 0;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-lg);
    padding: var(--sp-xl);
    box-shadow: -10px 0 40px hsla(0,0%,0%,0.1);
    transition: right var(--dur-med) var(--ease-out);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__toggle {
    display: flex;
  }

  .qualifications__grid,
  .services__grid,
  .testimonials__cards,
  .blog__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }

  .about__stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__badge {
    justify-content: center;
  }
}

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

  .hero__actions .btn {
    width: 100%;
  }

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

  .about__img-card:first-child {
    grid-row: auto;
  }

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

/* --- Marble Texture Overlay --- */
.marble-bg {
  position: relative;
}

.marble-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.marble-bg > * {
  position: relative;
  z-index: 1;
}

/* --- Smooth Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--marble-white);
}

::-webkit-scrollbar-thumb {
  background: var(--nude-deep);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
