/* ============================================================
   CSS CUSTOM PROPERTIES — "Tropical Jade Sunrise" palette
   ============================================================ */
:root {
  --coral:      #FCA47C;
  --coral-light:#fff0e8;
  --cyan:       #23CED9;
  --cyan-light: #e2fbfd;
  --yellow:     #F9D779;
  --yellow-light:#fffbe8;
  --sage:       #A1CCA6;
  --sage-light: #edf7ee;
  --teal:       #097C87;
  --teal-dark:  #065d66;
  --teal-light: #e0f4f5;

  --text:       #1a1a2e;
  --text-muted: #555566;
  --bg:         #ffffff;
  --bg-soft:    #f0fafa;
  --bg-lemon:   #f5f3e8;

  --font:       'Poppins', sans-serif;
  --radius:     1.2rem;
  --radius-pill:50rem;
  --shadow:     0 4px 24px rgba(9,124,135,.12);
  --shadow-card:0 6px 32px rgba(9,124,135,.10);
  --transition: 0.25s ease;

  --max-width:  1160px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Playful floating blobs in hero */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: .35;
}
.hero-blob-1 { width: 320px; height: 320px; background: var(--coral); top: -80px; left: -80px; }
.hero-blob-2 { width: 260px; height: 260px; background: var(--cyan); bottom: 40px; right: -60px; }
.hero-blob-3 { width: 200px; height: 200px; background: var(--yellow); bottom: -40px; left: 30%; }
.hero-inner { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.section {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--yellow);
  border-radius: var(--radius-pill);
  padding: .3em 1em;
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text);
}

.section-title.teal { color: var(--teal); }

h2, h3 { font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85em 2em;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, #0aacba 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(9,124,135,.3);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(9,124,135,.4);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 1em 2.5em;
}

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.wave-divider.wave-bottom { bottom: 0; }
.wave-divider.wave-top    { top: 0; }
.wave-divider svg { display: block; width: 100%; height: 80px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(9,124,135,.1);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
  overflow: visible;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: .1rem;
}
/* Logo image */
.logo-img {
  height: 190px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img-footer {
  height: 240px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Keep old mark styles in case used elsewhere */
.logo-mark {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.logo-alex { color: var(--teal); }
.logo-pert { color: var(--coral); }
.logo-sub {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.3;
}

/* Nav links */
.main-nav ul {
  display: flex;
  gap: clamp(.5rem, 2vw, 2rem);
  align-items: center;
}
.main-nav a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .3rem .1rem;
  position: relative;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--teal); }
.main-nav a:hover::after { width: 100%; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  background: none;
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-pill);
  padding: .35em 1em;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; gap: .3rem;
  transition: border-color var(--transition), color var(--transition);
}
.lang-btn:hover { border-color: var(--teal); color: var(--teal); }
.lang-arrow { font-size: .7rem; transition: transform var(--transition); }
.lang-btn[aria-expanded="true"] .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  background: #fff;
  border: 1px solid rgba(9,124,135,.15);
  border-radius: .75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 130px;
  display: none;
  z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown button {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: .65rem 1.1rem;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
}
.lang-dropdown button:hover { background: var(--teal-light); }
.lang-dropdown button.active { color: var(--teal); font-weight: 700; }

/* Hamburger */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  display: none;
}
.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.menu-icon span {
  display: block;
  height: 2.5px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: linear-gradient(160deg,
    #fff8f2 0%,
    #e8fbfc 35%,
    #fdf9e4 65%,
    #edf7ee 100%);
  text-align: center;
  overflow: hidden;
  padding-bottom: calc(clamp(4rem, 8vw, 7rem) + 80px);
}

.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }

.hero-title {
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--coral) 0%, var(--teal) 55%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-photo-wrap {
  position: relative;
  width: clamp(220px, 50vw, 360px);
  height: clamp(220px, 50vw, 360px);
  flex-shrink: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 48px rgba(9,124,135,.22);
}

.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-photo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 4px dashed var(--coral);
  animation: spin 20s linear infinite;
  z-index: 0;
}
.hero-photo-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 3px dotted var(--cyan);
  animation: spin 12s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-text { max-width: 580px; }
.hero-text h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: linear-gradient(135deg, var(--yellow-light) 0%, #fff 60%, var(--sage-light) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.about-text { max-width: 640px; }
.about-text .btn { margin-top: 1.5rem; }

.about-decor {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lemon-bg {
  width: 260px;
  height: 320px;
  background: radial-gradient(ellipse at 30% 60%, var(--yellow) 0%, transparent 55%),
              radial-gradient(ellipse at 75% 25%, var(--coral) 0%, transparent 50%),
              radial-gradient(ellipse at 60% 80%, var(--sage) 0%, transparent 55%);
  border-radius: 50% 40% 60% 45%;
  opacity: .7;
  filter: blur(10px);
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach-section {
  background: linear-gradient(150deg, var(--teal-light) 0%, #e8fbfc 40%, var(--sage-light) 100%);
  padding-top: calc(clamp(4rem, 8vw, 7rem) + 80px);
  padding-bottom: calc(clamp(4rem, 8vw, 7rem) + 80px);
}

.approach-section ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-top: .75rem;
}
.approach-section ul li { margin-bottom: .75rem; }

.approach-section h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}

.cta-center { text-align: center; margin-top: 2.5rem; }

.approach-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: center;
}

.approach-decor {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fig-bg {
  width: 240px;
  height: 300px;
  background: radial-gradient(ellipse at 40% 30%, var(--teal) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 70%, var(--sage) 0%, transparent 55%),
              radial-gradient(ellipse at 25% 75%, var(--coral) 0%, transparent 45%);
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  opacity: .6;
  filter: blur(12px);
}

@media (max-width: 700px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .approach-decor { display: none; }
}

/* ============================================================
   SLIDER (shared by Approach & Testimonials)
   ============================================================ */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 5px solid var(--teal);
}

.slide { display: none; animation: fadeSlide .35s ease; }
.slide.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.slider-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.slider-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 12px rgba(9,124,135,.3);
}
.slider-btn:hover { background: var(--teal-dark); transform: scale(1.08); }

.slider-dots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 1rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active { background: var(--teal); transform: scale(1.3); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: linear-gradient(170deg, #fff 0%, var(--yellow-light) 50%, var(--coral-light) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 2.5rem;
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 5px solid var(--sage);
}
.service-card:nth-child(1) { border-top-color: var(--coral); }
.service-card:nth-child(2) { border-top-color: var(--teal); }
.service-card:nth-child(3) { border-top-color: var(--yellow); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(9,124,135,.2);
}

.service-card-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.25rem auto 1.75rem;
  flex-shrink: 0;
  transition: box-shadow var(--transition);
}
.service-card-icon svg { width: 58px; height: 58px; display: block; }
.service-card:hover .service-card-icon { box-shadow: 0 6px 20px rgba(9,124,135,.2); }
.service-card:nth-child(1) .service-card-icon { background: linear-gradient(135deg, #e8f8f9, #c8eff2); }
.service-card:nth-child(2) .service-card-icon { background: linear-gradient(135deg, #fff4ee, #ffdfc9); }
.service-card:nth-child(3) .service-card-icon { background: linear-gradient(135deg, #e8f8f9, #c8eff2); }

/* Remove old image wrap styles */
.service-img-wrap { display: none; }

.service-body {
  padding: 0 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  flex: 1;
}

.service-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  border-radius: var(--radius-pill);
  padding: .3em .9em;
  align-self: flex-start;
}

.service-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal);
}
.service-card:nth-child(1) .service-body h3 { color: #c85a2a; }
.service-card:nth-child(2) .service-body h3 { color: var(--teal); }
.service-card:nth-child(3) .service-body h3 { color: #7a6010; }

.service-body p { font-size: .95rem; color: var(--text-muted); }

.service-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem;
}
.service-heading h3 { margin: 0; }

.service-subtitle {
  font-size: .85rem;
  font-style: italic;
  color: var(--text-muted);
}

.service-body ul {
  list-style: disc;
  margin-left: 1.25rem;
  margin-bottom: 1rem;
  flex: 1;
}
.service-body ul li {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

/* Expandable content on middle card */
.service-expandable {
  position: relative;
  flex: 1;
  padding-bottom: 1.75rem; /* reserve space for absolutely-positioned button */
}

.service-expandable-content {
  overflow: hidden;
  max-height: 8em;
  transition: max-height .45s ease;
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}
.service-expandable-content.open {
  max-height: 600px;
  -webkit-mask-image: none;
  mask-image: none;
}

.service-see-more {
  position: absolute;
  bottom: 0;
  right: 0;
  background: none;
  border: none;
  padding: 0;
  font-size: .85rem;
  font-weight: 700;
  color: var(--teal);
  cursor: pointer;
  transition: color var(--transition);
}
.service-see-more:hover { color: var(--coral); }

.service-body .btn { margin-top: auto; align-self: center; }

.services-notes {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--sage-light, #f0f8f1);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
}
.services-notes p {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: .4rem;
}
.services-notes p:last-child { margin-bottom: 0; }
.services-notes a { color: var(--teal); text-decoration: underline; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: linear-gradient(145deg, var(--coral-light) 0%, #fff 45%, var(--cyan-light) 100%);
  padding-top: calc(clamp(4rem, 8vw, 7rem) + 80px);
  padding-bottom: calc(clamp(4rem, 8vw, 7rem) + 80px);
}

.testimonials-section .section-title { text-align: center; }
.testimonials-section .section-tag   { display: block; text-align: center; background: var(--coral); }

.testimonial-slide {
  display: none;
  text-align: center;
}
.testimonial-slide.active { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }

.testimonial-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(9,124,135,.18);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-emoji {
  font-size: 2.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.avatar--stefana { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.avatar--mirel   { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.avatar--roberto { background: linear-gradient(135deg, #e8f5e0, #c5e8a0); }
.avatar--camelia { background: linear-gradient(135deg, #ede7f6, #d1c4e9); }

blockquote p {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--text);
  font-weight: 400;
  max-width: 640px;
  margin-bottom: 1rem;
}
blockquote footer {
  font-size: .9rem;
  color: var(--teal);
  font-weight: 700;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  background: linear-gradient(155deg, var(--yellow-light) 0%, var(--sage-light) 50%, var(--teal-light) 100%);
}

.contact-section .section-title { text-align: center; }
.contact-section .section-tag   { display: block; text-align: center; background: var(--teal); color: #fff; }

.contact-sub {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

/* Decorative brush strokes */
.contact-brushes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.brush {
  position: absolute;
  display: block;
  border-radius: 4px 12px 4px 12px;
  background: var(--yellow);
  opacity: .45;
  transform: rotate(var(--r, -35deg));
}
.brush:nth-child(1)  { width:44px; height:15px; top:8%;  left:5%;  --r:-30deg; background:var(--coral); opacity:.6; }
.brush:nth-child(2)  { width:32px; height:11px; top:15%; left:20%; --r:-50deg; background:var(--yellow); opacity:.7; }
.brush:nth-child(3)  { width:52px; height:13px; top:5%;  right:10%;--r:25deg;  background:var(--cyan); opacity:.5; }
.brush:nth-child(4)  { width:38px; height:12px; top:22%; right:6%; --r:40deg;  background:var(--sage); opacity:.65; }
.brush:nth-child(5)  { width:48px; height:14px; top:65%; left:3%;  --r:-20deg; background:var(--yellow); opacity:.65; }
.brush:nth-child(6)  { width:33px; height:11px; top:75%; left:18%; --r:55deg;  background:var(--coral); opacity:.55; }
.brush:nth-child(7)  { width:52px; height:15px; top:60%; right:5%; --r:-45deg; background:var(--cyan); opacity:.5; }
.brush:nth-child(8)  { width:38px; height:12px; top:80%; right:20%;--r:30deg;  background:var(--sage); opacity:.65; }

/* Form */
form {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full-width { grid-column: 1 / -1; margin-bottom: 1.25rem; }

label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal);
}

input, select, textarea {
  font-family: var(--font);
  font-size: .92rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1.5px solid rgba(9,124,135,.2);
  border-radius: .6rem;
  padding: .75em 1em;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(9,124,135,.12);
}
input.invalid, select.invalid, textarea.invalid {
  border-color: #e05c5c;
}

textarea { resize: vertical; min-height: 130px; }

.field-error {
  font-size: .78rem;
  color: #e05c5c;
  min-height: 1.2em;
  display: block;
}

/* hCaptcha alignment */
.captcha-wrap { align-items: flex-start; }

.form-submit { text-align: center; margin-top: 1.5rem; }

/* ── Inline "Or book instantly here" link ─────────── */
.form-book-inline {
  margin-top: .85rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: var(--teal);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.link-btn:hover { color: var(--coral); }

/* ── Calendly quick-book callout ──────────────────── */
.calendly-cta {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  background: linear-gradient(135deg, #e8f8f9 0%, #fff 60%);
  border-radius: var(--radius);
  padding: 1.35rem 1.75rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--teal);
}
.calendly-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.calendly-cta-text { flex: 1; min-width: 180px; }
.calendly-cta-headline {
  font-weight: 800;
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: .2rem;
}
.calendly-cta-sub {
  font-size: .875rem;
  color: var(--text-muted);
}
.btn-calendly {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--teal);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: .9rem;
  border: none;
  border-radius: var(--radius-pill);
  padding: .7em 1.6em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(9,124,135,.28);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-calendly:hover {
  background: #076672;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(9,124,135,.38);
}
.btn-calendly:active { transform: translateY(0); }
@media (max-width: 540px) {
  .calendly-cta-inner { flex-direction: column; align-items: flex-start; }
  .btn-calendly { width: 100%; justify-content: center; }
}

.form-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.5rem;
  border-radius: .75rem;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
}
.form-feedback.success { background: #e6f7ef; color: #177a48; }
.form-feedback.error   { background: #fdeaea; color: #c0392b; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--teal);
  color: #fff;
  padding-block: 3rem 1.5rem;
}

.footer-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 50px;
  margin-bottom: 1rem;
}

.footer-brand {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  pointer-events: none;
}
.footer-brand .logo-alex { color: var(--yellow); }
.footer-brand .logo-pert { color: var(--coral); }
.footer-tagline {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.footer-nav a {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--yellow); }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: .5rem;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
  transition: background var(--transition), border-color var(--transition);
}
.footer-social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--teal); }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.25rem;
  text-align: center;
}
.footer-copy p {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-decor { display: none; }
}

@media (max-width: 768px) {
  /* Nav */
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(9,124,135,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: .75rem 0;
  }
  .main-nav a {
    display: block;
    padding: .75rem 2rem;
    font-size: 1rem;
  }

  /* Form grid */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .slider { padding: 1.25rem; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
