/* ==========================================================================
   Estudio Oral — Dr. Iván Contreras Molina
   Paleta estricta: blanco de fondo / negro en párrafos / gris en títulos /
   naranja como único acento (color de marca). Tipografía y fluidez
   inspiradas en apple.com; jerarquía cromática inspirada en
   beverlyhillsdentallab.com.
   ========================================================================== */

:root {
  --white: #ffffff;
  --off-white: #f5f5f7;
  --black: #1d1d1f;
  --heading: #56565c;
  --heading-soft: #86868b;
  --orange: #f36523;
  --orange-dark: #cf4e12;
  --line: rgba(29, 29, 31, 0.1);
  --line-light: rgba(255, 255, 255, 0.16);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-pad: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

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

section { position: relative; }

/* -------------------- Custom cursor -------------------- */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--orange);
  transition: opacity .3s var(--ease), width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s var(--ease);
}
.cursor-ring {
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border: 1.5px solid rgba(243, 101, 35, 0.45);
  transition: opacity .3s var(--ease), width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
html.has-custom-cursor .cursor-dot,
html.has-custom-cursor .cursor-ring { opacity: 1; }
html.has-custom-cursor, html.has-custom-cursor * { cursor: none !important; }

.cursor-ring.is-active {
  width: 68px; height: 68px;
  margin: -34px 0 0 -34px;
  border-color: var(--orange);
  background: rgba(243, 101, 35, 0.08);
}
.cursor-dot.is-active { width: 0; height: 0; margin: 0; }

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* -------------------- Typography -------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--orange);
}

.section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--heading);
  letter-spacing: -0.025em;
}

.section-intro {
  max-width: 44ch;
  color: var(--black);
  font-size: 1.05rem;
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.lede {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--heading);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.fine-print {
  font-size: 0.82rem;
  color: var(--heading-soft);
  margin-top: 1.75rem;
  letter-spacing: 0.02em;
}

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn.is-hovering { transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 12px 28px rgba(243, 101, 35, 0.32); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left .65s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: var(--line-light);
}
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* -------------------- Progress bar -------------------- */

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--orange);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* -------------------- Header -------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.35rem 0;
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(20px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.site-header.is-scrolled {
  padding: 0.9rem 0;
  border-bottom-color: var(--line);
}
.site-header.is-scrolled::before { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-wipe {
  display: inline-block;
  width: 32px;
  line-height: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease);
}
.logo-wipe.is-drawn { clip-path: inset(0 0% 0 0); }
.logo-mark-img { width: 100%; height: auto; display: block; }

.brand-word {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--black);
}

.site-header:not(.is-scrolled) .brand-word { color: var(--white); }
.site-header:not(.is-scrolled) .nav-link { color: var(--white); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--black);
  position: relative;
  padding: 0.2rem 0;
  transition: color .3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--orange);
  transition: right .35s var(--ease);
}
.nav-link:hover::after { right: 0; }
.nav-link:hover { color: var(--orange); }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 950;
}
.nav-toggle span {
  width: 100%;
  height: 1.5px;
  background: var(--black);
  transition: transform .35s var(--ease), opacity .35s var(--ease), background .35s;
}
.site-header:not(.is-scrolled) .nav-toggle span { background: var(--white); }

/* -------------------- Hero -------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: brightness(0.72);
  will-change: transform;
}
.hero-media-img {
  animation: heroKenBurns 28s ease-in-out infinite;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  50%  { transform: scale(1.09) translate3d(-1.2%, -1.8%, 0); }
  100% { transform: scale(1) translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media-img { animation: none; }
}

/* Drifting atmospheric fog/light — two soft, blurred glows that slowly wander
   across the night sky, screen-blended so they only ever add light, never
   darken. A CSS stand-in for real cloud motion when there is no video plate. */
.hero-fog {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform;
}
.hero-fog-1 {
  background: radial-gradient(ellipse 42% 28% at 28% 34%, rgba(255,255,255,0.32), transparent 70%);
  animation: heroFogDrift1 34s ease-in-out infinite;
}
.hero-fog-2 {
  background: radial-gradient(ellipse 34% 24% at 72% 58%, rgba(255,255,255,0.2), transparent 70%);
  animation: heroFogDrift2 42s ease-in-out infinite;
}
@keyframes heroFogDrift1 {
  0%   { transform: translate3d(-4%, 0%, 0) scale(1); }
  50%  { transform: translate3d(6%, -3%, 0) scale(1.14); }
  100% { transform: translate3d(-4%, 0%, 0) scale(1); }
}
@keyframes heroFogDrift2 {
  0%   { transform: translate3d(3%, 2%, 0) scale(1); }
  50%  { transform: translate3d(-6%, -2%, 0) scale(1.1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fog { animation: none; opacity: 0.6; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.25) 30%, rgba(10,10,10,0.55) 65%, rgba(10,10,10,0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  padding-top: 8rem;
  max-width: 780px;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-stagger {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.9s var(--ease) forwards;
  animation-delay: var(--stagger-delay, 0s);
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stagger { opacity: 1; transform: none; animation: none; }
}
.logo-wipe-lg { width: 72px; flex-shrink: 0; }
.hero-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-logo-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hero-logo-by {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
}

.hero-title {
  font-family: var(--font);
  font-weight: 700;
  color: var(--white);
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.08;
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 28px rgba(0,0,0,0.35);
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 46ch;
  margin: 0 0 1.75rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}

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

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--orange);
  border-radius: 50%;
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; }
}

/* -------------------- Stats -------------------- */

.stats {
  background: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat {
  text-align: center;
  padding: 0 1rem;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-number {
  display: block;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--heading-soft);
}

/* -------------------- About -------------------- */

.about {
  padding: var(--section-pad) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-media { position: relative; border-radius: 20px; overflow: hidden; }
.about-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.about-media:hover img { transform: scale(1.05); }
.about-media-caption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  color: var(--black);
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-radius: 14px;
}
.about-media-caption .eyebrow { margin: 0 0 0.15rem; }
.about-media-caption span:last-child { font-size: 0.82rem; color: var(--heading-soft); }

.about-copy p { color: var(--black); }

.credential-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.credential-list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.94rem;
  color: var(--black);
}
.credential-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 7px; height: 1px;
  background: var(--orange);
}
.credential-list strong { color: var(--black); font-weight: 600; }

/* -------------------- Specialties -------------------- */

.specialties {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}
.specialty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.specialty-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(29,29,31,0.09);
  border-color: rgba(29,29,31,0.16);
}
.specialty-number {
  font-family: var(--font);
  font-weight: 700;
  color: var(--heading-soft);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.specialty-card h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--heading);
  margin: 0.75rem 0 1.6rem;
  letter-spacing: -0.01em;
}
.specialty-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.specialty-card li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--black);
}
.specialty-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 1px;
  background: var(--orange);
}

/* -------------------- Cases / Before-After -------------------- */

.cases { padding: var(--section-pad) 0; }

.showcase {
  width: 100%;
  max-width: 1700px;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: 0 var(--gutter);
}
.showcase img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  transition: transform .8s var(--ease);
}
.showcase:hover img { transform: scale(1.02); }

/* -------------------- Social -------------------- */

.social { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.social-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--off-white);
}
.social-copy { max-width: 46ch; }
.social-copy .section-title { margin-bottom: 0.6rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.social-copy .section-intro { max-width: 50ch; }
.social-links {
  display: flex;
  gap: 0.9rem;
  flex-shrink: 0;
}
.social-icon {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  border-radius: 980px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.social-icon:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 3rem);
  transition: box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.case-card:hover {
  box-shadow: 0 24px 56px rgba(29,29,31,0.08);
  border-color: rgba(29,29,31,0.16);
}
.case-card-header {
  margin-bottom: 2rem;
  max-width: 60ch;
}
.case-card-header h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--heading);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.case-card-header p { color: var(--black); margin: 0; font-size: 0.95rem; }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
  user-select: none;
  background: var(--black);
  border-radius: 18px;
}
.ba-slider-hero { aspect-ratio: 16/7; }

.ba-after, .ba-before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.ba-after img, .ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
  box-shadow: 1px 0 0 rgba(255,255,255,0.7);
}

.ba-tag {
  position: absolute;
  top: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10,10,10,0.55);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  z-index: 3;
}
.ba-tag-before { left: 1rem; }
.ba-tag-after { right: 1rem; }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  -webkit-appearance: none;
  appearance: none;
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  transform: translate(-50%, -50%);
}
.ba-handle-arrows {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* -------------------- Timeline -------------------- */

.timeline-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.timeline {
  border-top: 1px solid var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.timeline-period {
  font-family: var(--font);
  font-weight: 700;
  color: var(--heading);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.timeline-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 0.3rem;
}
.timeline-body p {
  margin: 0;
  color: var(--black);
  font-size: 0.92rem;
}

.presence {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.presence-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.presence-col p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--black);
  line-height: 1.7;
}

/* -------------------- Tech -------------------- */

.tech { padding: var(--section-pad) 0; background: var(--off-white); }
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.tech-col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.tech-col:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(29,29,31,0.09);
  border-color: rgba(29,29,31,0.16);
}
.tech-col h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--heading);
  margin: 0 0 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}
.tech-list { display: flex; flex-direction: column; gap: 0.9rem; }
.tech-list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--black);
}
.tech-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 1px;
  background: var(--orange);
}

/* -------------------- Contact -------------------- */

.contact {
  background: var(--white);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: stretch;
}
.contact-copy p { color: var(--black); max-width: 46ch; }

.contact-list {
  margin: 2rem 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: none; }
.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading);
  font-weight: 600;
}
.contact-list span:not(.contact-label),
.contact-list a {
  color: var(--black);
  font-size: 0.98rem;
  transition: color .3s;
  margin-right: 1rem;
}
.contact-list a:hover { color: var(--orange); }

.contact-map {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; }

/* -------------------- Footer -------------------- */

.site-footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-light);
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .logo-wipe { width: 28px; margin-bottom: 0.6rem; }
.footer-brand .brand-word { color: var(--white); font-size: 1.05rem; }
.footer-tagline {
  font-family: var(--font);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin: 0.6rem 0 0;
  letter-spacing: -0.005em;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--white);
}
.footer-nav a:hover { color: var(--orange); }
.footer-meta {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}
.footer-copy { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.45); }

/* -------------------- Back to top -------------------- */

.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 500;
  box-shadow: 0 8px 24px rgba(29,29,31,0.18);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--orange-dark); }

/* -------------------- Floating WhatsApp button -------------------- */

.whatsapp-float {
  --whatsapp-green: #25d366;
  --whatsapp-green-dark: #1ebe5d;
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp-green);
  color: var(--white);
  border-radius: 50%;
  z-index: 800;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float:hover {
  background: var(--whatsapp-green-dark);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.48);
}
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp-green);
  opacity: 0.55;
  z-index: -1;
  animation: whatsappPulse 2.6s ease-out infinite;
}
@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.9); opacity: 0; }
}

@media (max-width: 760px) {
  .whatsapp-float { width: 52px; height: 52px; left: 1.1rem; bottom: 1.1rem; }
  .to-top { right: 1.1rem; bottom: 1.1rem; }
}

/* -------------------- Reveal on scroll -------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* -------------------- Responsive -------------------- */

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16/10; }
  .specialty-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .stat:nth-child(3) { border-left: none; }
  .tech-grid { grid-template-columns: 1fr; }
  .presence { grid-template-columns: 1fr; gap: 1.75rem; }
  .social-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    z-index: 900;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav .nav-link { color: var(--white); font-size: 1.15rem; }
  .main-nav .nav-cta { margin-left: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-toggle.is-active span { background: var(--white); }

  .hero-content { padding-top: 6rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .logo-wipe-lg { width: 56px; }
  .hero-logo-title { font-size: 1.1rem; }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
