/* Coral Reef — Coastal Mediterranean design system */
/* Warm coral + turquoise on white, diagonal cuts, floating shapes, image reveal */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #E8705A;
  --color-secondary: #FFF0ED;
  --color-accent: #2EC4B6;
  --color-text: #1A2B3C;
  --color-text-light: #5C6B7A;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FDF8F6;
  --color-border: #EDE0DC;
  --color-muted: #F9F4F2;
  --color-white: #FFFFFF;
  --color-cream: #FFFAF8;
  --color-hero-overlay-start: rgba(26, 43, 60, 0.65);
  --color-hero-overlay-end: rgba(232, 112, 90, 0.45);
  --color-coral-glow: rgba(232, 112, 90, 0.15);
  --color-turquoise-glow: rgba(46, 196, 182, 0.12);
  --color-primary-dark: #D4563F;
  --color-accent-dark: #1FA89C;

  --font-heading: 'Poppins', 'Montserrat', sans-serif;
  --font-body: 'Open Sans', 'Inter', sans-serif;
  --fs-hero: clamp(2.5rem, 6vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --lh-heading: 1.2;
  --lh-body: 1.7;

  --space-section: 6rem;
  --space-component: 2rem;
  --space-element: 1rem;
  --max-width: 1200px;
  --container-padding: 1.5rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 9999px;
  --shadow-card: 0 2px 20px rgba(232, 112, 90, 0.08);
  --shadow-hover: 0 12px 36px rgba(232, 112, 90, 0.14);
  --shadow-elevated: 0 16px 48px rgba(26, 43, 60, 0.12);
  --shadow-glow: 0 0 40px rgba(232, 112, 90, 0.18);

  --diagonal-angle: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
  --diagonal-angle-reverse: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  --diagonal-angle-both: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--color-accent); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  font-weight: 700;
  color: var(--color-text);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Sections ---- */
.section {
  padding: var(--space-section) 0;
  position: relative;
}
.section--muted { background: var(--color-muted); }
.section--alt { background: var(--color-bg-alt); }
.section--cream { background: var(--color-cream); }
.section--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
}
.section--primary h2,
.section--primary h3,
.section--primary p { color: var(--color-white); }
.section--primary .text-light { color: rgba(255, 255, 255, 0.85); }

/* Diagonal section cuts */
.section--diagonal {
  clip-path: var(--diagonal-angle);
  padding-bottom: calc(var(--space-section) + 4vw);
}
.section--diagonal-reverse {
  clip-path: var(--diagonal-angle-reverse);
  padding-top: calc(var(--space-section) + 4vw);
}
.section--diagonal-both {
  clip-path: var(--diagonal-angle-both);
  padding-top: calc(var(--space-section) + 4vw);
  padding-bottom: calc(var(--space-section) + 4vw);
}

.section__header {
  text-align: center;
  margin-bottom: calc(var(--space-component) * 1.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section__subtitle {
  color: var(--color-text-light);
  font-size: var(--fs-body);
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* ---- Hero — Full-screen background image with gradient overlay ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--color-hero-overlay-start) 0%, var(--color-hero-overlay-end) 100%);
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem var(--container-padding);
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero .btn { position: relative; z-index: 2; }

/* Sub-page hero (no bg image, lighter) */
.hero--sub {
  min-height: auto;
  padding: calc(var(--space-section) * 2) 0 var(--space-section);
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-secondary) 100%);
}
.hero--sub::before { display: none; }
.hero--sub .hero__title { color: var(--color-text); text-shadow: none; }
.hero--sub .hero__subtitle { color: var(--color-text-light); }

/* Floating decorative shapes */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.shape--coral-circle {
  border-radius: 50%;
  background: var(--color-coral-glow);
  animation: floatShape 12s ease-in-out infinite;
}
.shape--turquoise-circle {
  border-radius: 50%;
  background: var(--color-turquoise-glow);
  animation: floatShape 10s ease-in-out infinite reverse;
}
.shape--coral-ring {
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0.15;
  animation: floatShape 14s ease-in-out infinite 2s;
}
.shape--turquoise-ring {
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  opacity: 0.12;
  animation: floatShape 9s ease-in-out infinite reverse 1s;
}
.shape--diamond {
  width: 40px;
  height: 40px;
  background: var(--color-coral-glow);
  transform: rotate(45deg);
  animation: floatShape 11s ease-in-out infinite 3s;
}
.shape--lg { width: 350px; height: 350px; }
.shape--md { width: 200px; height: 200px; }
.shape--sm { width: 100px; height: 100px; }
.shape--xs { width: 60px; height: 60px; }

/* ---- Card ---- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-component);
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.card img {
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }

/* Card with top coral accent */
.card--accent-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* ---- Grid ---- */
.grid { display: grid; gap: var(--space-component); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-body);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(.22,.61,.36,1);
  letter-spacing: 0.01em;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(232, 112, 90, 0.30);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 112, 90, 0.40);
  color: var(--color-white);
}
.btn--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(46, 196, 182, 0.30);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46, 196, 182, 0.40);
  color: var(--color-white);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.35);
  color: var(--color-primary);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-secondary);
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  font-family: var(--font-heading);
  background: var(--color-secondary);
  color: var(--color-primary);
}
.badge--accent {
  background: rgba(46, 196, 182, 0.12);
  color: var(--color-accent);
}

/* ---- Navbar ---- */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav-wrapper--scrolled {
  box-shadow: var(--shadow-card);
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.95);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.nav__logo:hover { color: var(--color-accent); }
.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav__links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--fs-small);
  font-family: var(--font-heading);
  transition: color 0.25s ease;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--color-primary); }
.nav__links a:hover::after { width: 100%; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav__mobile.active { display: flex; }
.nav__mobile a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}
.nav__mobile a:hover { color: var(--color-primary); }

/* ---- Footer ---- */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-section) 0 var(--space-component);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}
.footer h3, .footer h4 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: var(--fs-h3);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-component);
  position: relative;
  z-index: 1;
}
.footer__bottom {
  margin-top: var(--space-component);
  padding-top: var(--space-element);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}
.footer a { color: rgba(255, 255, 255, 0.75); }
.footer a:hover { color: var(--color-primary); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
}
.footer__social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ---- Forms ---- */
.form__group { margin-bottom: 1.25rem; }
.form__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: var(--fs-small);
  font-family: var(--font-heading);
  color: var(--color-text);
}
.form__input, .form__textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  font-family: var(--font-body);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-secondary);
}
.form__textarea { min-height: 140px; resize: vertical; }

/* ---- FAQ Accordion ---- */
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.active .faq-question { color: var(--color-primary); }
.faq-item.active .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.22,.61,.36,1), padding 0.4s ease;
  color: var(--color-text-light);
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* ---- Pricing Cards ---- */
.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.pricing-card--featured {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.04);
}
.pricing-card--featured:hover { transform: scale(1.04) translateY(-6px); }
.pricing__price {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin: 1rem 0;
}
.pricing__features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 2rem;
}
.pricing__features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-small);
  color: var(--color-text-light);
  position: relative;
  padding-left: 1.5rem;
}
.pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* ---- Process / Timeline ---- */
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}
.process-step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(232, 112, 90, 0.25);
}
.process-step__content { flex: 1; padding-bottom: 2.5rem; }
.process-step__content h3 { margin-bottom: 0.5rem; }
.process-step__content p { color: var(--color-text-light); }

/* Connector line */
.process-steps .process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  width: 2px;
  height: calc(100% - 56px);
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-pill);
}

/* ---- Testimonial card ---- */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--color-secondary);
  line-height: 1;
  pointer-events: none;
}
.testimonial-card__quote {
  font-size: var(--fs-body);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-secondary);
}

/* ---- Image reveal on scroll ---- */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.77, 0, .175, 1);
  z-index: 2;
}
.img-reveal.revealed::after {
  transform: scaleX(0);
  transform-origin: right;
}
.img-reveal img {
  transform: scale(1.15);
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1) 0.3s;
}
.img-reveal.revealed img {
  transform: scale(1);
}

/* ---- Wave / Decorative divider ---- */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}
.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* ---- Dots pattern ---- */
.dots-pattern {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-component) 0;
}

/* ---- Utility classes ---- */
.text-center { text-align: center; }
.text-light { color: var(--color-text-light); }
.mb-1 { margin-bottom: var(--space-element); }
.mb-2 { margin-bottom: var(--space-component); }
.mt-1 { margin-top: var(--space-element); }
.mt-2 { margin-top: var(--space-component); }

/* ---- Scroll reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.22,.61,.36,1), transform 0.6s cubic-bezier(.22,.61,.36,1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.36s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-in from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Keyframes ---- */
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.04); }
  66% { transform: translate(-12px, 10px) scale(0.97); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  :root {
    --space-section: 3.5rem;
    --container-padding: 1rem;
  }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .hero { min-height: 80vh; }
  .hero--sub { min-height: auto; padding: calc(var(--space-section) * 1.3) 0 var(--space-section); }
  .section--diagonal,
  .section--diagonal-reverse,
  .section--diagonal-both {
    clip-path: none;
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
  }
  .footer__grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: scale(1); }
  .pricing-card--featured:hover { transform: translateY(-6px); }
  .process-step { gap: 1.25rem; }
  .process-step__number { width: 44px; height: 44px; font-size: 1rem; }
  .process-steps .process-step:not(:last-child)::after { left: 22px; top: 44px; height: calc(100% - 44px); }
  .shape--lg { width: 200px; height: 200px; }
  .shape--md { width: 120px; height: 120px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- JS: Scroll reveal observer ---- */
/* Inline <script> at bottom of page triggers this via IntersectionObserver */

/* Auto-generated color variant: green */
:root {
  --color-primary: #059669;
  --color-secondary: #D1FAE5;
  --color-accent: #10B981;
  --color-text: #1E293B;
  --color-text-light: #64748B;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F0FDF4;
  --color-border: #E2E8F0;
  --color-muted: #F0FDF4;
}

/* SitePilot: skip link */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sr-only:focus{position:static;width:auto;height:auto;padding:8px 16px;margin:0;overflow:visible;clip:auto;white-space:normal;background:#fff;color:#000;z-index:10000}
/* SitePilot: mobile nav toggle */
nav.nav{position:relative;z-index:1000}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;color:inherit}
.nav__links{list-style:none;padding:0;margin:0}
.nav__links li{display:inline}
@media(max-width:768px){
  .nav-toggle{display:block}
  .nav__cta{display:none}
  .nav__links{flex-direction:column;position:absolute;top:100%;left:0;right:0;z-index:999;background:rgba(255,255,255,0.98);backdrop-filter:blur(10px);padding:16px 24px;box-shadow:0 4px 12px rgba(0,0,0,0.1);gap:12px}
  .nav__links li{display:block}
  .nav__links a{color:#1f2937!important}
}
/* SitePilot: language flags */
.sp-lang-flags{display:flex;align-items:center;gap:4px;margin-left:auto}
.sp-lang-flags button{background:none;border:none;cursor:pointer;font-size:20px;opacity:0.35;transition:opacity 0.15s;padding:2px;line-height:1}
.sp-lang-flags button.active{opacity:1}
/* SitePilot: nav brand spacing */
.nav__brand,.nav__logo{margin-right:32px;flex-shrink:0;white-space:nowrap}
/* SitePilot: CF7 form styling */
.wpcf7 .wpcf7-form p{margin-bottom:16px}
.wpcf7 .wpcf7-form label{display:block;font-weight:500;margin-bottom:4px;font-size:0.95rem}
.wpcf7 .wpcf7-form-control:not(.wpcf7-submit){width:100%;padding:12px 16px;border:1px solid rgba(255,255,255,0.15);border-radius:8px;background:rgba(255,255,255,0.06);color:inherit;font-size:1rem;transition:border-color 0.2s,box-shadow 0.2s;box-sizing:border-box}
.wpcf7 .wpcf7-form-control:not(.wpcf7-submit):focus{outline:none;border-color:var(--color-primary,#3b82f6);box-shadow:0 0 0 3px rgba(59,130,246,0.15)}
.wpcf7 textarea.wpcf7-form-control{min-height:140px;resize:vertical}
.wpcf7 .wpcf7-submit{display:inline-block;padding:12px 32px;background:var(--color-primary,#3b82f6);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background 0.2s,transform 0.1s}
.wpcf7 .wpcf7-submit:hover{background:var(--color-primary-dark,#2563eb);transform:translateY(-1px)}
.wpcf7 .wpcf7-submit:active{transform:translateY(0)}
.wpcf7 .wpcf7-spinner{display:inline-block;margin-left:8px}
.wpcf7 .wpcf7-response-output{margin:16px 0;padding:12px 16px;border-radius:8px;font-size:0.9rem}
/* SitePilot: Google Maps embed */
.contact-map iframe{width:100%;height:350px;border:none;border-radius:12px;margin-top:8px}
.contact-map{margin-bottom:24px}
/* SitePilot: prevent mobile horizontal overflow — html element (body already covered; html needed for documentElement.scrollWidth) */
html{overflow-x:hidden}
/* SitePilot: bilingual fallback — EN spans hidden by default; lang-toggle JS overrides at runtime */
[data-lang="en"]{display:none}
