/* ============================================
   CONCEPTO PIEL — styles.css
   Elegant medical spa aesthetic
   Mobile-first, warm palette
============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
============================================ */
:root {
  /* Palette */
  --cream:        #faf7f2;
  --cream-mid:    #f3ede3;
  --cream-deep:   #e8ddd0;
  --sand:         #d4c4b0;
  --taupe:        #a89880;
  --warm-brown:   #6b5744;
  --espresso:     #2d2118;
  --charcoal:     #1a1410;

  --accent:       #b08b6e;    /* warm terracotta-bronze */
  --accent-light: #c9a98a;
  --accent-dark:  #8a6a50;

  --white:        #ffffff;
  --off-white:    #fefcf9;

  /* Typography */
  --font-serif:   'Cormorant Garamond', 'Georgia', serif;
  --font-sans:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-gap: clamp(80px, 10vw, 140px);
  --container:   1200px;
  --gutter:      clamp(1.25rem, 5vw, 2.5rem);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 180ms;
  --duration-base: 280ms;
  --duration-slow: 480ms;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(45, 33, 24, 0.06), 0 1px 2px rgba(45, 33, 24, 0.04);
  --shadow-md:   0 4px 16px rgba(45, 33, 24, 0.08), 0 2px 6px rgba(45, 33, 24, 0.05);
  --shadow-lg:   0 12px 40px rgba(45, 33, 24, 0.12), 0 4px 12px rgba(45, 33, 24, 0.06);

  /* Header height */
  --header-h: 72px;
}

/* ============================================
   RESET & BASE
============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--espresso);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

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

/* ============================================
   TYPOGRAPHY
============================================ */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--warm-brown);
  margin-top: 1.25rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   LAYOUT
============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-decoration: none;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(176, 139, 110, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--espresso);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--warm-brown);
  border-color: var(--sand);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background-color: var(--warm-brown);
  color: var(--cream);
  border-color: var(--warm-brown);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--cream);
  border-color: rgba(250, 247, 242, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background-color: rgba(250, 247, 242, 0.12);
  border-color: var(--cream);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* ============================================
   LINK ARROW
============================================ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--duration-fast) var(--ease-out), color var(--duration-fast);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.link-arrow:hover {
  color: var(--accent-dark);
  gap: 0.75rem;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ============================================
   SCROLL ANIMATION
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-up--delay   { transition-delay: 120ms; }
.fade-up--delay-1 { transition-delay: 180ms; }
.fade-up--delay-2 { transition-delay: 280ms; }
.fade-up--delay-3 { transition-delay: 380ms; }

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: transparent;
  transition:
    background-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.site-header.is-scrolled {
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--cream-deep), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  transition: color var(--duration-fast);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.logo--light .logo-main { color: var(--cream); }
.logo--light .logo-sub  { color: rgba(250, 247, 242, 0.6); }

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-brown);
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  transition: color var(--duration-fast), background-color var(--duration-fast);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--charcoal);
}

.btn-nav-cta {
  background-color: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem !important;
  margin-left: 0.5rem;
  border-radius: 2px;
}

.btn-nav-cta:hover {
  background-color: var(--accent-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--charcoal);
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--cream);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(176, 139, 110, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(212, 196, 176, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Decorative lines */
.hero-bg-pattern::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(176, 139, 110, 0.15);
  border-radius: 50%;
}

.hero-bg-pattern::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 5%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(176, 139, 110, 0.08);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-dark);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--warm-brown);
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero info card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background-color: var(--off-white);
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  width: 100%;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.25rem;
  right: 2.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 0 0 2px 2px;
}

.hero-card-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(176, 139, 110, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

.hero-card-stat {
  padding: 1rem 0;
}

.hero-card-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-card-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--taupe);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.hero-card-divider {
  height: 1px;
  background-color: var(--cream-deep);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.hero-scroll-hint svg {
  width: 18px;
  height: 18px;
  stroke: var(--taupe);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ============================================
   PHILOSOPHY
============================================ */
.section-philosophy {
  padding: var(--section-gap) 0;
  background-color: var(--off-white);
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.philosophy-body {
  font-size: 1.05rem;
  color: var(--warm-brown);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.philosophy-body strong {
  color: var(--espresso);
  font-weight: 700;
}

.philosophy-body:last-of-type {
  margin-bottom: 2rem;
}

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

.pillar {
  background-color: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.pillar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.pillar-text {
  font-size: 0.9rem;
  color: var(--warm-brown);
  line-height: 1.7;
}

/* ============================================
   SERVICES
============================================ */
.section-services {
  padding: var(--section-gap) 0;
  background-color: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--cream-deep);
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--off-white);
  padding: 2.25rem 2rem;
  position: relative;
  transition: background-color var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card:hover {
  background-color: var(--cream);
}

.service-card:hover .service-number {
  color: var(--accent);
}

.service-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--cream-deep);
  transition: color var(--duration-base) var(--ease-out);
  user-select: none;
}

.service-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--warm-brown);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-meta {
  margin-top: auto;
}

.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

.service-duration svg {
  width: 13px;
  height: 13px;
}

.services-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1rem;
}

.services-cta p {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--warm-brown);
}

/* ============================================
   TEAM
============================================ */
.section-team {
  padding: var(--section-gap) 0;
  background-color: var(--cream-mid);
}

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

.team-card {
  background-color: var(--off-white);
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

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

.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
  height: 220px;
  width: 100%;
  user-select: none;
}

.team-avatar--t {
  background: linear-gradient(145deg, #8b6f5e 0%, #6b4f3e 100%);
}

.team-avatar--k {
  background: linear-gradient(145deg, #c4a882 0%, #a68660 100%);
}

.team-avatar--c {
  background: linear-gradient(145deg, #b8937a 0%, #9a7158 100%);
}

.team-avatar--f {
  background: linear-gradient(145deg, #cbb5a0 0%, #a8906e 100%);
}

.team-info {
  padding: 2rem 1.75rem 1.75rem;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.team-specialty {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--warm-brown);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--duration-fast), color var(--duration-fast);
}

.team-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.team-link:hover {
  color: var(--accent-dark);
  gap: 0.6rem;
}

.team-link:hover svg {
  transform: translateX(3px);
}

/* ============================================
   INSTAGRAM FEED
============================================ */
.section-instagram {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--cream);
  display: flex;
  justify-content: center;
}

.ig-profile-card {
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.ig-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 1.75rem 1.5rem;
}

.ig-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px #e1306c;
}

.ig-card-meta {
  flex: 1;
  min-width: 0;
}

.ig-handle {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--espresso);
  margin-bottom: 0.15rem;
}

.ig-name {
  font-size: 0.8rem;
  color: var(--warm-brown);
  margin-bottom: 0.5rem;
}

.ig-bio {
  font-size: 0.82rem;
  color: var(--espresso);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.ig-stats {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--warm-brown);
}

.ig-stats strong {
  color: var(--espresso);
}

.ig-follow-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: #0095f6;
  color: var(--white);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--duration-fast);
  white-space: nowrap;
}

.ig-follow-btn:hover {
  background: #0081d6;
}

.ig-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  text-decoration: none;
  cursor: pointer;
}

.ig-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.ig-post--1 { background: linear-gradient(135deg, #d4b8a0 0%, #c4a882 100%); }
.ig-post--2 { background: linear-gradient(135deg, #e8d5c4 0%, #d4b8a0 100%); }
.ig-post--3 { background: linear-gradient(135deg, #c9a88a 0%, #b8937a 100%); }
.ig-post--4 { background: linear-gradient(135deg, #d6c4b0 0%, #c4a882 100%); }
.ig-post--5 { background: linear-gradient(135deg, #b8a090 0%, #a08070 100%); }
.ig-post--6 { background: linear-gradient(135deg, #e2cbb8 0%, #d4b8a0 100%); }

.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast);
}

.ig-posts-grid:hover .ig-overlay {
  background: rgba(0,0,0,0.2);
}

.ig-posts-grid:hover .ig-post--1 .ig-overlay {
  background: rgba(0,0,0,0.3);
}

.ig-card-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.ig-view-profile {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ig-view-profile:hover {
  color: var(--accent-dark);
}

@media (max-width: 600px) {
  .ig-card-header {
    flex-wrap: wrap;
  }
  .ig-follow-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   CTA BANNER
============================================ */
.section-cta-banner {
  padding: clamp(60px, 9vw, 110px) 0;
  background: linear-gradient(135deg, var(--espresso) 0%, var(--warm-brown) 100%);
  position: relative;
  overflow: hidden;
}

.section-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(176, 139, 110, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  position: relative;
}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.cta-banner-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-light);
}

.cta-banner-subtitle {
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.6);
  line-height: 1.65;
  max-width: 44ch;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: max-content;
}

/* ============================================
   CONTACT
============================================ */
.section-contact {
  padding: var(--section-gap) 0;
  background-color: var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.contact-item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.contact-item-icon svg {
  width: 100%;
  height: 100%;
}

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-size: 0.95rem;
  color: var(--espresso);
  line-height: 1.4;
}

.contact-item-link {
  color: var(--accent-dark);
  transition: color var(--duration-fast);
}

.contact-item-link:hover {
  color: var(--accent);
}

.contact-hours {
  background-color: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.contact-hours-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.contact-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--warm-brown);
}

.contact-hours-row dt {
  font-weight: 400;
}

.contact-hours-row dd {
  font-weight: 700;
  color: var(--espresso);
}

.contact-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: 2px;
  color: var(--warm-brown);
  transition: all var(--duration-fast) var(--ease-out);
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.social-link:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-brown);
  margin-bottom: 0.6rem;
}

.form-label span {
  color: var(--accent);
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--espresso);
  background-color: var(--off-white);
  border: 1.5px solid var(--cream-deep);
  border-radius: 2px;
  outline: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--sand);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176, 139, 110, 0.12);
}

.form-input.is-invalid {
  border-color: #c87466;
  box-shadow: 0 0 0 3px rgba(200, 116, 102, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

.form-error {
  font-size: 0.78rem;
  color: #c87466;
  margin-top: 0.4rem;
  min-height: 1.1em;
  font-weight: 400;
}

.form-success {
  text-align: center;
  font-size: 0.9rem;
  color: #5a8a6a;
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(90, 138, 106, 0.08);
  border-radius: 2px;
  border: 1px solid rgba(90, 138, 106, 0.15);
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background-color: var(--charcoal);
  color: var(--cream);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.4);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.footer-nav-title {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.4);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.65);
  transition: color var(--duration-fast);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-contact-link {
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.65);
  transition: color var(--duration-fast);
  text-decoration: none;
}

.footer-contact-link:hover {
  color: var(--cream);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(250, 247, 242, 0.06);
  border: 1px solid rgba(250, 247, 242, 0.1);
  border-radius: 2px;
  color: rgba(250, 247, 242, 0.5);
  transition: all var(--duration-fast);
}

.footer-social a svg {
  width: 15px;
  height: 15px;
}

.footer-social a:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.08);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.35);
  line-height: 1.5;
}

.footer-legal {
  max-width: 52ch;
  text-align: right;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  background-color: #20b858;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--charcoal);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast);
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--charcoal);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

/* ============================================
   FOCUS STYLES (ACCESSIBILITY)
============================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1024px)
============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }

  .footer-legal {
    text-align: left;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 768px)
============================================ */
@media (max-width: 768px) {

  /* Header mobile */
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--cream-deep);
    padding: 1.5rem var(--gutter) 2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--duration-base) var(--ease-out),
      opacity var(--duration-base) var(--ease-out);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--cream-mid);
  }

  .main-nav li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  .main-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 0.85rem;
  }

  .btn-nav-cta {
    display: inline-flex !important;
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-left: 0 !important;
  }

  .hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 5rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Philosophy mobile */
  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* Services mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Team mobile */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  /* CTA banner mobile */
  .cta-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-banner-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-banner-actions {
    width: 100%;
    align-items: center;
  }

  .cta-banner-actions .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  /* Contact mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer mobile */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    text-align: left;
  }

  /* WhatsApp position on mobile */
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
============================================ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .hero-ctas {
    gap: 0.75rem;
  }
}

/* ============================================
   PRINT (remove animations, fix colors)
============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
