/* ==========================================================================
   WOOT IT - Self-hosted website styles
   ========================================================================== */

/* Self-hosted Quicksand (latin subset, sufficient for Spanish) ---------- */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/quicksand-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/quicksand-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/quicksand-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/quicksand-latin-700.woff2') format('woff2');
}

/* Reset & base ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    'Quicksand',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

/* Skip-to-content (accesibilidad por teclado) ---------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* Focus styles globales (mejora accesibilidad) -------------------------- */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav__cta:focus-visible {
  outline-offset: 3px;
}

/* Design tokens ---------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f9fafb; /* neutral gray-50 */
  --bg-dark: #202936; /* matches dark logo background */
  --ink: #0b0c0f; /* matches logo letterform fill */
  --ink-soft: #4b5563; /* slate-600 */
  --ink-mute: #6b7280; /* slate-500 */
  --line: #e5e7eb; /* gray-200 */

  --brand: #3b82f6; /* primary blue */
  --brand-dark: #2563eb; /* blue-600, hover */
  --brand-soft: #dbeafe; /* blue-100 */
  --accent: #9333ea; /* purple-600 */
  --accent-soft: #f3e8ff; /* purple-100 */

  --gradient: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
  --gradient-soft: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(147, 51, 234, 0.1) 100%
  );

  --success: #10b981;
  --warning: #f97316;
  --danger: #ef4444;

  --shadow-sm: 0 1px 2px rgba(11, 12, 15, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 12, 15, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 12, 15, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --maxw: 1200px;
  --header-h: 76px;
}

/* Typography ------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4.25rem);
}
h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
}
h3 {
  font-size: clamp(1.25rem, 1.2vw + 0.75rem, 1.6rem);
}
h4 {
  font-size: 1.15rem;
}

p {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Layout ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-soft {
  background: var(--bg-soft);
}
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 2rem;
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__menu a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s ease;
}
.nav__menu a:hover,
.nav__menu a.is-active {
  color: var(--ink);
}
.nav__menu a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--gradient);
}

/* a.nav__cta beats .nav__menu a on source order (same specificity); without */
/* the `a` qualifier, the parent's color rule wins and the button text       */
/* renders gray on near-black, only becoming visible on hover.               */
a.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
a.nav__cta:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}
.nav__toggle span::before {
  top: -7px;
}
.nav__toggle span::after {
  top: 7px;
}

@media (max-width: 880px) {
  .nav__menu {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav__menu.is-open li {
    border-bottom: 1px solid var(--line);
  }
  .nav__menu.is-open li:last-child {
    border-bottom: none;
  }
  .nav__menu.is-open a {
    display: block;
    padding: 0.95rem 0;
    font-size: 1rem;
  }
  .nav__menu.is-open a.is-active::after {
    display: none;
  }
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1.2;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow:
    0 8px 22px rgba(59, 130, 246, 0.3),
    0 1px 2px rgba(11, 12, 15, 0.08);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(59, 130, 246, 0.36),
    0 1px 2px rgba(11, 12, 15, 0.08);
  filter: saturate(1.05);
}
.btn--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.25);
}
.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--white:hover {
  background: var(--brand);
  color: #fff;
}

.btn__arrow {
  transition: transform 0.2s ease;
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(
      ellipse 800px 500px at 80% -10%,
      rgba(59, 130, 246, 0.14),
      transparent 60%
    ),
    radial-gradient(
      ellipse 600px 400px at 0% 100%,
      rgba(147, 51, 234, 0.1),
      transparent 60%
    ),
    var(--bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero__title {
  margin-bottom: 1.4rem;
}
.hero__title em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__meta-item strong {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__meta-item span {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.hero__visual {
  position: relative;
  max-width: 640px;
  margin-left: auto;
  padding-bottom: 70px; /* room for float card to overlap */
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 5% 5% 15% 5%;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(50px);
  z-index: 0;
}
.hero__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  z-index: 1;
}
.hero__card--main {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.hero__card--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__card--float {
  position: absolute;
  bottom: 0;
  right: -10px;
  width: 56%;
  max-width: 270px;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #fff;
  z-index: 2;
}
@media (max-width: 880px) {
  .hero__card--float {
    right: 0;
    width: 60%;
  }
}
.hero__card--float .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__card--float h4 {
  margin: 0.4rem 0 0.6rem;
  font-size: 1.05rem;
}
.hero__card--float .stat {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Page hero (interior pages) -------------------------------------------- */
.page-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(
      ellipse 700px 400px at 90% 0%,
      rgba(59, 130, 246, 0.1),
      transparent 60%
    ),
    radial-gradient(
      ellipse 500px 300px at 10% 100%,
      rgba(147, 51, 234, 0.07),
      transparent 60%
    ),
    var(--bg);
  text-align: left;
}
.page-hero__crumb {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.page-hero__crumb a:hover {
  color: var(--brand);
}
.page-hero h1 {
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.15rem;
  max-width: 65ch;
}

/* Cards ------------------------------------------------------------------ */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card__icon svg {
  width: 26px;
  height: 26px;
}
.feature-card h3 {
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.96rem;
}
.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand);
}
.feature-card__link:hover {
  color: var(--brand-dark);
}

/* Module list (alternating rows) ---------------------------------------- */
.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}
.module-row:last-of-type {
  border-bottom: none;
}
.module-row--reverse .module-row__media {
  order: 2;
}
@media (max-width: 880px) {
  .module-row {
    grid-template-columns: 1fr;
  }
  .module-row--reverse .module-row__media {
    order: 0;
  }
}
.module-row__num {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.module-row h2 {
  margin-bottom: 1rem;
}
.module-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.module-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats ----------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.stat-block {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat-block__num {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2.5rem, 4vw + 0.5rem, 3.5rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-block__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Quote / testimonial banner ------------------------------------------- */
.quote-banner {
  background: var(--gradient);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}
.quote-banner blockquote {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.4rem, 2.4vw + 0.5rem, 2.1rem);
  line-height: 1.35;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.quote-banner blockquote::before {
  content: '\201C';
  margin-right: 0.1em;
}
.quote-banner blockquote::after {
  content: '\201D';
  margin-left: 0.1em;
}
.quote-banner cite {
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Testimonial cards ----------------------------------------------------- */
/* Fixed 2-column grid: avoids the orphan-card-on-its-own-row look that an  */
/* auto-fit grid produces with 4 cards, and gives each video more width    */
/* (~550px) so the embedded player is more legible.                        */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  overflow: hidden;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-card__quote {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card__author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}
.testimonial-card__author span {
  font-size: 0.82rem;
  color: var(--ink-mute);
}

/* Video testimonial: video stretches edge-to-edge with author info below */
.testimonial-card--video {
  padding: 0;
}
.testimonial-card--video .testimonial-card__author {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
}

/* Lite YouTube embed (custom element) ---------------------------------- */
lite-yt {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}
lite-yt:not(.lite-yt--active)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
  transition: background 0.2s ease;
}
lite-yt:hover:not(.lite-yt--active)::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.lite-yt__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: #f00;
  border-radius: 14%;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.lite-yt__play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
}
lite-yt:hover .lite-yt__play {
  background: var(--brand);
  transform: translate(-50%, -50%) scale(1.06);
}
lite-yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Zoho Bookings inline widget (contacto.html) -------------------------- */
.booking-embed {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.booking-embed #inline-container {
  min-height: 600px;
}

/* Zoho Bigin Web-to-Contact iframe (contacto.html) --------------------- */
/* Height is fixed (cross-origin iframe, no auto-resize). Adjust if Zoho   */
/* adds or removes fields. 100% width overrides the 610px Zoho ships with */
/* so the iframe fills the .grid-2 column on desktop and tablet.          */
.zoho-form-iframe {
  width: 100%;
  height: 720px;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: block;
}

/* Zoho Desk feedback widget (soporte.html) ----------------------------- */
.support-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 543px;
}
.support-widget #zsfeedbackwidgetdiv {
  min-height: 543px;
}

/* Forms ----------------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.field label .req {
  color: var(--danger);
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-actions {
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.is-success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-status.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Contact info card ----------------------------------------------------- */
.contact-info {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-info h3 {
  color: #fff;
  margin-bottom: 1.5rem;
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-info__item:last-child {
  margin-bottom: 0;
}
.contact-info__item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd; /* blue-300 for visibility on dark bg */
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info__item-icon svg {
  width: 20px;
  height: 20px;
}
.contact-info__item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.2rem;
}
.contact-info__item strong,
.contact-info__item a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.contact-info__item a:hover {
  color: var(--brand);
}

/* Timeline -------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--brand);
}
.timeline-item h4 {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}
.timeline-item h3 {
  margin-bottom: 0.5rem;
}

/* CTA section ---------------------------------------------------------- */
.cta-section {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(40px);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(40px);
}
.cta-section > * {
  position: relative;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  max-width: 50ch;
}

/* Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  max-width: 36ch;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.7rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--brand);
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.socials a:hover {
  background: var(--gradient);
  transform: translateY(-2px);
}
.socials svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Reveal: subtle entrance for items above the fold on first load.
   Content is visible by default; animation is purely additive. */
@media (prefers-reduced-motion: no-preference) {
  .js-on .reveal {
    animation: reveal-in 0.7s ease both;
  }
  .js-on .reveal:nth-child(2) {
    animation-delay: 0.08s;
  }
  .js-on .reveal:nth-child(3) {
    animation-delay: 0.16s;
  }
  .js-on .reveal:nth-child(4) {
    animation-delay: 0.24s;
  }
  .js-on .reveal:nth-child(5) {
    animation-delay: 0.32s;
  }
}
@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Utilities ------------------------------------------------------------ */
.text-center {
  text-align: center;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}
.mt-2 {
  margin-top: 2rem;
}
.center-prose {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

/* Print --------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .nav__cta {
    display: none;
  }
}
