/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   SK Odontología — site styles
   ========================================================================== */

:root {
  --c-teal: #4FBEC3;
  --c-teal-dark: #3AA1A6;
  --c-blue: #3D9BE9;
  --c-blue-dark: #2E80C4;
  --c-green: #58AB50;
  --c-green-dark: #48963F;
  --c-text: #4A4F55;
  --c-muted: #8C939A;
  --c-heading: #303539;
  --c-bg: #ffffff;
  --c-bg-gray: #F5F7F9;
  --c-border: #E4E6E9;
  --container: 1200px;
  --font-sans: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --shadow-sm: 0 4px 12px rgba(48, 53, 57, 0.06);
  --shadow-md: 0 14px 40px rgba(48, 53, 57, 0.10);
  --shadow-lg: 0 24px 60px rgba(48, 53, 57, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: #fff;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--c-teal); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-teal-dark); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}

/* Color strip */
.color-strip {
  display: flex;
  height: 7px;
  width: 100%;
  position: relative;
  z-index: 20;
}

.color-strip span { flex: 1; display: block; }
.strip-teal { background: var(--c-teal); }
.strip-blue { background: var(--c-blue); }
.strip-green { background: var(--c-green); }

.color-strip-bottom { height: 8px; }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), transform .35s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(48, 53, 57, 0.08);
  border-bottom-color: var(--c-border);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 62px;
  width: auto;
  display: block;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
}

.main-nav a {
  color: var(--c-text);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s var(--ease);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--c-teal-dark);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 24px;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.header-phone svg { color: var(--c-teal); }

.header-phone:hover {
  background: rgba(79, 190, 195, 0.10);
  color: var(--c-teal-dark);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 24px;
  background: var(--c-green);
  color: #fff !important;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .2px;
  box-shadow: 0 6px 16px rgba(88, 171, 80, 0.28);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.header-cta:hover {
  background: var(--c-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(72, 150, 63, 0.36);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  order: 3;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-heading);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(.9);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  animation: heroZoom 8s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }

.hero-dot.is-active {
  background: #fff;
  width: 48px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(30, 60, 75, 0.72) 0%, rgba(30, 60, 75, 0.45) 45%, rgba(30, 60, 75, 0.15) 100%),
    radial-gradient(ellipse at bottom center, rgba(79, 190, 195, 0.25), transparent 60%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  color: #fff;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
  padding-left: 60px;
  position: relative;
  animation: fadeUp .8s var(--ease) both;
}

.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 44px;
  height: 1px;
  background: var(--c-teal);
  transform: translateY(-50%);
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 4.6rem;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 24px;
  color: #fff;
  max-width: 720px;
  letter-spacing: -.5px;
  animation: fadeUp .8s var(--ease) .1s both;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 560px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
  animation: fadeUp .8s var(--ease) .2s both;
}

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

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(79, 190, 195, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  animation: fadeUp .8s var(--ease) .4s both;
}

.hero-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.hero-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 4px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: color .3s var(--ease);
}

.hero-strip-item:last-child { border-right: none; }

.hero-strip-item svg {
  width: 26px;
  height: 26px;
  color: #fff;
  opacity: .95;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.hero-strip:hover .hero-strip-item {
  color: rgba(255, 255, 255, 0.55);
}

.hero-strip-item:hover {
  color: #fff !important;
}

.hero-strip-item:hover svg {
  transform: translateY(-3px);
  opacity: 1;
}

/* Sections base */
.section {
  padding: 100px 0;
}

.section-white { background: #fff; }

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 4rem;
  color: var(--c-teal-dark);
  letter-spacing: -.5px;
  margin: 0;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--c-teal-dark) 0%, var(--c-teal) 60%, var(--c-blue) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title.light {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--c-muted);
  margin: 14px 0 0;
  letter-spacing: .2px;
}

.section-subtitle.light { color: rgba(255, 255, 255, 0.78); }

.section-mark {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--c-teal);
  margin: 28px auto 60px;
  border-radius: 2px;
  position: relative;
}

.section-mark::before,
.section-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-teal);
  transform: translateY(-50%);
}

.section-mark::before { left: -12px; }
.section-mark::after { right: -12px; }

.section-mark.light {
  background: rgba(255, 255, 255, 0.85);
}

.section-mark.light::before,
.section-mark.light::after {
  background: rgba(255, 255, 255, 0.85);
}

/* Nosotros */
.nosotros-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 960px;
  margin: 0 auto;
}

.nosotros-columns p {
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.7;
}

/* Servicios */
.section-servicios {
  padding: 110px 0 130px;
  background: linear-gradient(160deg, #1E3C4B 0%, #2E6373 60%, #3AA1A6 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-servicios::before,
.section-servicios::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.section-servicios::before {
  top: -100px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(79, 190, 195, 0.28);
}

.section-servicios::after {
  bottom: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: rgba(61, 155, 233, 0.20);
}

.section-servicios .container { position: relative; z-index: 1; }
.section-servicios .section-title { color: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 40px 32px 36px;
  text-align: center;
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60px;
  height: 3px;
  background: var(--c-teal);
  transition: transform .35s var(--ease);
  border-radius: 3px;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.service-card:hover::before { transform: translateX(-50%) scaleX(1); }

.service-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: var(--c-teal);
  transition: transform .35s var(--ease), background .3s var(--ease);
}

.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.06);
  background: rgba(79, 190, 195, 0.22);
}

.service-icon svg { width: 40px; height: 40px; }

.service-card h3 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: .3px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: .92rem;
  line-height: 1.7;
  margin: 0;
}

/* Stats band */
.stats-band {
  background: linear-gradient(120deg, var(--c-green) 0%, var(--c-teal) 100%);
  color: #fff;
  text-align: center;
  padding: 34px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.10), transparent 40%);
  pointer-events: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.5px;
  position: relative;
  margin: 0;
}

.stat-label {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
}

/* Equipo */
.team-layout {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.team-row {
  display: grid;
  gap: 60px;
  justify-items: center;
}

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

.team-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.team-row-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-row-director {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.team-member.team-member-director {
  background: linear-gradient(180deg, #ffffff 0%, #F4FAFB 100%);
  border: 1px solid rgba(79, 190, 195, 0.25);
  box-shadow: 0 12px 30px rgba(1, 61, 64, 0.08);
}

.team-member.team-member-director::before {
  height: 5px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-blue));
}

.team-role {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-teal-dark);
  background: rgba(79, 190, 195, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.team-row-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.team-member {
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 320px;
  padding: 44px 28px 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c-teal);
  transition: height .3s var(--ease);
}

.team-member:has(.bar-teal)::before { background: var(--c-teal); }
.team-member:has(.bar-blue)::before { background: var(--c-blue); }
.team-member:has(.bar-green)::before { background: var(--c-green); }

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-member:hover::before { height: 6px; }

.team-member .bar {
  display: block;
  width: 50px;
  height: 2px;
  margin: 0 auto 20px;
  opacity: .5;
}

.bar-teal { background: var(--c-teal); }
.bar-blue { background: var(--c-blue); }
.bar-green { background: var(--c-green); }

.team-member h3 {
  font-family: var(--font-serif);
  color: var(--c-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-member p {
  color: var(--c-muted);
  font-size: .82rem;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-member.team-member-director p {
  font-size: .72rem;
  letter-spacing: .1px;
}

/* CTA band (parallax) */
.cta-band {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-band-bg {
  position: absolute;
  inset: -10% 0;
  background: url("../img/sonrisa.jpg") center/cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
  transform: scale(1.05);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(1, 61, 64, 0.86) 0%, rgba(58, 161, 166, 0.72) 60%, rgba(79, 190, 195, 0.45) 100%);
  z-index: 1;
}

.cta-band-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 80px 30px;
  max-width: 780px;
}

.cta-band-eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
}

.cta-band-content h2 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.cta-band-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 32px;
  max-width: 580px;
  font-weight: 300;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .3px;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.cta-band-btn-primary {
  background: var(--c-green);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(88, 171, 80, 0.4);
}

.cta-band-btn-primary:hover {
  background: var(--c-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(72, 150, 63, 0.5);
}

.cta-band-btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-band-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Contacto */
.section-contacto {
  padding: 70px 0 70px;
  background: linear-gradient(180deg, #F4FAFB 0%, #EAF3F5 100%);
}
.section-contacto .section-mark { margin-bottom: 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qi-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  min-width: 0;
}

.qi-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(79, 190, 195, 0.4);
}

.qi-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(79, 190, 195, 0.12);
  color: var(--c-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qi-icon svg { width: 18px; height: 18px; }

.qi-body { min-width: 0; flex: 1; }

.qi-body span {
  display: block;
  font-size: .64rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-teal);
  font-weight: 700;
  margin-bottom: 3px;
}

.qi-body p {
  color: var(--c-text);
  font-size: .82rem;
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qi-body a {
  color: var(--c-text);
  transition: color .2s var(--ease);
}

.qi-body a:hover { color: var(--c-teal); }

.contact-map {
  flex: 1;
  min-height: 220px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(.9);
}

/* Form footer with social */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.form-social {
  display: flex;
  gap: 8px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(79, 190, 195, 0.10);
  color: var(--c-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.social-icon:hover {
  background: var(--c-teal);
  color: #fff;
  transform: translateY(-2px);
}

/* Form */
.contact-form {
  background: #fff;
  padding: 32px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(1, 61, 64, 0.08);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form h3 {
  font-family: var(--font-serif);
  color: var(--c-teal-dark);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0;
}

.contact-form-lead {
  color: var(--c-muted);
  margin: 0 0 8px;
  font-size: .95rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label span {
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--c-text);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(79, 190, 195, 0.14);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.contact-form button {
  align-self: flex-start;
  background: var(--c-teal);
  color: #fff;
  border: 0;
  padding: 12px 28px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(79, 190, 195, 0.28);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  margin-top: 4px;
}

.contact-form button:hover {
  background: var(--c-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(58, 161, 166, 0.4);
}

.contact-form button:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: .9rem;
  line-height: 1.4;
  margin-top: 4px;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  background: rgba(88, 171, 80, 0.10);
  color: var(--c-green-dark);
  border: 1px solid rgba(88, 171, 80, 0.30);
}

.form-status.is-error {
  background: rgba(214, 90, 90, 0.10);
  color: #B03A3A;
  border: 1px solid rgba(214, 90, 90, 0.30);
}

/* Map */
.map-wrap {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  min-height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(.9);
}

/* Back to top */
.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 0;
  background: #fff;
  color: var(--c-blue);
  border-top: 1px solid var(--c-border);
}

.back-to-top:hover { color: var(--c-teal); }

/* Reveal animations (only hide when JS is ready — safety fallback for no-JS or JS load failure) */
.reveal {
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-image { animation: none; }
  .hero-eyebrow, .hero-content h1, .hero-lead, .hero-tile { animation: none; }
}

/* Form polish */
.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  padding: 14px 18px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(79, 190, 195, 0.16);
}

.contact-form button {
  border-radius: 30px;
  padding: 12px 34px;
  font-weight: 500;
  letter-spacing: .5px;
  box-shadow: 0 6px 18px rgba(79, 190, 195, 0.30);
}

.contact-form button:hover {
  box-shadow: 0 10px 24px rgba(58, 161, 166, 0.40);
  transform: translateY(-1px);
}

/* Smile band overlay */
.smile-band {
  position: relative;
}

.smile-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.35));
  pointer-events: none;
}

.smile-band-placeholder::after { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .section-title { font-size: 3rem; }
  .section { padding: 70px 0; }

  .header-inner {
    padding: 12px 20px;
    gap: 12px;
    position: relative;
  }

  .logo img { height: 48px; }

  .nav-toggle {
    display: block;
    margin-left: auto;
    order: 2;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 10px 28px rgba(48, 53, 57, 0.10);
    margin-left: 0;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 14px 22px;
    border-bottom: 1px solid #F3F5F6;
  }

  .main-nav a::after { display: none; }

  .header-actions {
    margin-left: 0;
    order: 1;
  }

  .header-phone { display: none; }

  .header-cta span { display: none; }

  .header-cta {
    padding: 6px;
    width: 36px;
    height: 36px;
    justify-content: center;
    background: transparent;
    color: var(--c-green) !important;
    box-shadow: none;
  }

  .header-cta:hover {
    background: rgba(88, 171, 80, 0.10);
    transform: none;
    box-shadow: none;
  }

  .header-cta svg { width: 22px; height: 22px; }

  .hero { min-height: 640px; }
  .hero-content { padding: 0 30px; padding-bottom: 180px; }
  .hero-content h1 { font-size: 2.6rem; }
  .hero-lead { font-size: 1rem; }
  .hero-eyebrow { padding-left: 40px; font-size: .7rem; letter-spacing: 3px; }
  .hero-eyebrow::before { width: 28px; }

  .hero-strip-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 0;
    padding: 20px 24px;
  }
  .hero-strip-item {
    font-size: .65rem;
    letter-spacing: 1.5px;
    padding: 8px 4px;
    border-right: none;
  }
  .hero-strip-item:nth-child(3n) { border-right: none; }
  .hero-strip-item svg { width: 22px; height: 22px; }

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

  .nosotros-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }

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

  .contact-form { padding: 26px 22px; }

  .contact-map { min-height: 260px; }

  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .form-social { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px 26px; }

  .team-row-3 { grid-template-columns: 1fr; gap: 40px; }
  .team-row-2 { grid-template-columns: 1fr; gap: 40px; }
  .team-row-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .stat-number { font-size: 3.2rem; }

  .cta-band { min-height: 380px; }
  .cta-band-bg { background-attachment: scroll; }
  .cta-band-content h2 { font-size: 2.2rem; }
  .cta-band-content p { font-size: 1rem; }
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-btn { justify-content: center; }

  .hero-dots { bottom: 130px; }

  .section-servicios { background-attachment: scroll; }
}

@media (max-width: 560px) {
  .section-title { font-size: 2.2rem; letter-spacing: 2px; }
  .logo img { height: 70px; }
  .main-nav { gap: 14px; font-size: .9rem; }
  .main-nav a { font-size: .9rem; }
  .contact-form { max-width: 100%; }
}

