/* Dirección Apple adaptada a la identidad de Posicionamiento Web. */
:root {
  --radius-panel: 22px;
  --radius-hero: 26px;
  --hairline: rgba(11, 12, 16, .085);
  --shadow-panel: 0 1px 3px rgba(11, 12, 16, .035), 0 14px 40px rgba(11, 12, 16, .045);
  --dark-surface: #151B18;
  --dark-line: rgba(247, 249, 248, .16);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);
  --motion-fast: 200ms;
  --motion-reveal: 650ms;
}
body { font-optical-sizing: auto; }
.header {
  border-bottom-color: transparent;
  background: rgba(247, 249, 248, .78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.header.scrolled { border-bottom-color: var(--hairline); box-shadow: 0 1px 12px rgba(11, 12, 16, .04); }
.header-inner { min-height: 80px; }
.logo img { width: 235px; }
h2 { font-weight: 700; }
.eyebrow { font-weight: 500; }
.button { font-weight: 600; }
.button span { transition: transform var(--motion-fast) var(--ease); }
.button:hover span { transform: translate(2px, -2px); }
.duo-panel { border-color: var(--hairline); box-shadow: var(--shadow-panel); border-radius: var(--radius-panel); }
.duo-panel article+article { border-color: var(--hairline); }
.line-list, .line-list li, details, .faq-list { border-color: var(--hairline); }
.measurement { background: var(--surface); border-color: var(--hairline); }
.detail-layout aside { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-panel); }
.contact-panel { border-color: var(--hairline); box-shadow: var(--shadow-panel); border-radius: var(--radius-panel); }
.service-directory>article { transition: border-color var(--motion-fast); }
.service-directory>article:hover { border-color: rgba(8, 113, 61, .25); }

.hero-impact {
  position: relative;
  padding: clamp(48px, 6.7vw, 84px) clamp(22px, 4vw, 54px) 28px;
  border-radius: var(--radius-hero);
  text-align: center;
  isolation: isolate;
}
.hero-impact .eyebrow { justify-content: center; margin-bottom: 30px; font-size: 13px; }
.hero-impact h1 { font-size: clamp(62px, 8.9vw, 118px); line-height: 1.02; letter-spacing: -.07em; font-weight: 700; max-width: 100%; }
.hero-impact h1 span { color: var(--green); }
.hero-impact .hero-description { max-width: 48ch; margin: 28px auto 0; font-size: clamp(16px, 1.55vw, 20px); line-height: 1.75; }
.hero-impact .actions { justify-content: center; margin-top: 30px; }
.visibility-scene { position: relative; width: min(100%, 780px); margin: 62px auto 0; padding: 0 20px; }
.visibility-mark { position: absolute; left: -30px; bottom: -35px; width: 230px; height: 230px; z-index: 0; opacity: .5; transform: rotate(-8deg); }
.visibility-mark img { width: 100%; height: 100%; }
.visibility-window {
  position: relative;
  z-index: 1;
  text-align: left;
  background: rgba(21, 27, 24, .94);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-panel);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2), 0 20px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  overflow: hidden;
}
.visibility-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--dark-line); padding: 14px 20px; }
.visibility-top>span { font-size: 12px; color: var(--muted-light); }
.visibility-tabs { display: flex; padding: 3px; gap: 2px; background: var(--carbon); border-radius: var(--pill); }
.visibility-tabs button { background: transparent; color: var(--muted-light); border: 0; border-radius: var(--pill); padding: 9px 14px; min-height: 44px; font-size: 12px; font-weight: 600; transition: color var(--motion-fast), background var(--motion-fast); white-space: nowrap; }
.visibility-tabs [aria-selected=true] { background: var(--cloud); color: var(--carbon); }
.visibility-tabs button:active { transform: scale(.97); }
.visibility-view { padding: 26px 28px 30px; }
.visibility-query { display: flex; gap: 12px; align-items: center; color: var(--muted-light); font-size: 14px; }
.visibility-query svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.visibility-answer { display: grid; grid-template-columns: 46px 1fr 44px; gap: 18px; align-items: center; padding-top: 25px; }
.visibility-category { font-size: 12px; font-weight: 700; letter-spacing: .025em; color: var(--green); }
.visibility-answer h2 { font-size: clamp(19px, 2.1vw, 25px); font-weight: 600; letter-spacing: -.03em; line-height: 1.3; }
.visibility-answer p { font-size: 13px; line-height: 1.75; color: var(--muted-light); margin-top: 9px; }
.visibility-answer>a { display: flex; align-items: center; justify-content: center; border-radius: var(--pill); border: 1px solid var(--dark-line); width: 44px; height: 44px; color: var(--cloud); text-decoration: none; transition: background var(--motion-fast), transform var(--motion-fast) var(--ease); }
.visibility-answer>a:hover { background: var(--green); color: var(--carbon); transform: translate(2px, -2px); }
.hero-footnote { max-width: 100%; margin-top: 46px; font-size: 12px; line-height: 1.85; color: var(--muted-light); }
.hero-impact .eyebrow, .hero-impact h1, .hero-impact .hero-description, .hero-impact .actions, .visibility-scene { animation: arrive var(--motion-reveal) var(--ease) both; }
.hero-impact h1 { animation-delay: 60ms; }
.hero-impact .hero-description { animation-delay: 110ms; }
.hero-impact .actions { animation-delay: 150ms; }
.visibility-scene { animation-delay: 220ms; }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media(max-width: 700px) {
  .menu-toggle { display: none; }
  .js .menu-toggle { display: flex; }
  .header-inner { min-height: 74px; }
  .logo img { width: 220px; }
  .hero-impact { padding: 42px 22px 26px; }
  .hero-impact .eyebrow { font-size: 11px; gap: 8px; margin-bottom: 28px; }
  .hero-impact h1 { font-size: clamp(52px, 13.4vw, 78px); line-height: 1.04; letter-spacing: -.065em; }
  .hero-impact .hero-description { font-size: 15px; line-height: 1.8; margin-top: 22px; }
  .hero-impact .actions { gap: 12px; margin-top: 25px; }
  .hero-impact .button { font-size: 13px; padding-inline: 19px; gap: 18px; }
  .hero-impact .secondary { border: 0; background: transparent; min-height: 44px; padding-block: 10px; }
  .visibility-scene { padding: 0; margin-top: 35px; }
  .visibility-mark { left: -35px; bottom: -35px; width: 165px; height: 165px; opacity: .6; }
  .visibility-top { flex-direction: column; align-items: flex-start; gap: 13px; padding: 16px; }
  .visibility-tabs { width: 100%; }
  .visibility-tabs button { flex: 1; padding-inline: 10px; font-size: 11px; }
  .visibility-view { padding: 20px 18px 24px; }
  .visibility-query { font-size: 12px; align-items: flex-start; line-height: 1.7; gap: 10px; }
  .visibility-query svg { margin-top: 2px; width: 18px; height: 18px; }
  .visibility-answer { grid-template-columns: 1fr 44px; gap: 8px 12px; padding-top: 19px; }
  .visibility-category { grid-column: 1/-1; font-size: 11px; }
  .visibility-answer h2 { font-size: 20px; }
  .visibility-answer p { font-size: 12px; }
  .hero-footnote { font-size: 11px; max-width: 34ch; margin: 33px auto 0; }
  .duo-panel article+article { border-top-color: var(--hairline); }
}
@media(max-width: 360px) {
  .header-inner { padding-inline: 16px; }
  .hero-impact { padding-inline: 18px; }
  .hero-impact h1 { font-size: 46px; }
  .hero-impact .eyebrow { font-size: 10px; }
  .hero-impact .actions { gap: 2px; }
  .hero-impact .button { width: auto; }
  .visibility-top, .visibility-view { padding-inline: 14px; }
}
@media(prefers-reduced-motion: reduce) {
  .hero-impact .eyebrow, .hero-impact h1, .hero-impact .hero-description, .hero-impact .actions, .visibility-scene { animation: none; }
}
@media(prefers-reduced-transparency: reduce) {
  .header { background: var(--cloud); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .visibility-window { background: var(--dark-surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media(prefers-contrast: more) {
  .header { background: var(--cloud); backdrop-filter: none; }
  .visibility-window { background: var(--carbon); backdrop-filter: none; border-color: var(--muted-light); }
}
