/* Sections — Instituto do Ouvido */

/* Photo treatments — shared */
.hero-card-photo,
.about-portrait-photo,
.testi-portrait-photo,
.featured-card.has-photo {
  position: relative;
}
.hero-photo,
.about-photo,
.testi-photo,
.featured-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-photo-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.05) 0%, rgba(8, 18, 40, 0.15) 50%, rgba(8, 18, 40, 0.78) 100%);
  z-index: 1;
}
.about-photo-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 40, 0) 30%, rgba(8, 18, 40, 0.15) 55%, rgba(8, 18, 40, 0.75) 100%);
  z-index: 1;
}
.testi-photo-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 40, 0) 50%, rgba(8, 18, 40, 0.4) 100%);
  z-index: 1;
}

/* Hero photo overlay tweaks */
.hero-photo-top {
  display: flex;
  justify-content: flex-start;
}
.hero-photo-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-photo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.hero-photo-bar-track {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.hero-photo-bar-fill {
  height: 100%;
  width: 67%;
  background: white;
  border-radius: 2px;
  animation: barFill 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
}
@keyframes barFill {
  from { width: 0%; }
  to { width: 67%; }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-inner {
  width: min(1280px, 100% - 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: oklch(1 0 0 / 0);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-scrolled .nav-inner {
  background: oklch(from var(--paper) l c h / 0.85);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 10px 40px -10px oklch(0.2 0.05 var(--brand-h) / 0.1), 0 0 0 1px var(--line) inset;
}
.nav-scrolled {
  padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--brand); }
.logo-img { height: 36px; width: auto; display: block; transition: filter 0.3s; }
.logo-img-sm { height: 30px; }
.logo-img-footer { height: 56px; }
[data-mode="dark"] .logo-img { filter: brightness(0) invert(1); }
.logo-mark { display: grid; place-items: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 16px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.logo-sub { font-size: 11px; color: var(--ink-3); margin-top: 3px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: oklch(from var(--paper-2) l c h / 0.6); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .pill { background: oklch(from var(--paper-2) l c h / 0.6); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 999px; background: var(--paper-2); color: var(--ink); display: none; place-items: center; }

@media (max-width: 1080px) {
  .nav-links, .nav-cta .pill { display: none; }
}
@media (max-width: 720px) {
  .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .nav-inner { padding: 8px 8px 8px 16px; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 90;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-head button { width: 40px; height: 40px; border-radius: 999px; background: var(--paper-2); display: grid; place-items: center; }
.mobile-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 500; color: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -100px -100px 0 -100px;
  z-index: -1;
  pointer-events: none;
  color: var(--brand);
}
.hero-rings { position: absolute; left: 50%; top: 30%; width: 1400px; height: 1400px; transform: translateX(-50%); opacity: 0.5; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}
.hero-orb-1 { width: 460px; height: 460px; left: -120px; top: 80px; background: oklch(0.6 0.18 var(--brand-h) / 0.4); }
.hero-orb-2 { width: 380px; height: 380px; right: -80px; top: 200px; background: oklch(0.85 0.12 calc(var(--brand-h) + 30) / 0.5); }
.hero-orb-3 { width: 300px; height: 300px; left: 40%; bottom: -80px; background: oklch(0.92 0.04 var(--brand-h) / 0.7); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  position: relative;
}
.hero-text { animation: heroIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { margin-bottom: 28px; }
.hero-eyebrow .pill { background: oklch(from var(--paper) l c h / 0.7); backdrop-filter: blur(10px); }

.hero-title { display: block; margin-bottom: 28px; }
.hero-line { display: block; opacity: 0; transform: translateY(28px); animation: heroLine 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.25s; }
.hero-line:nth-child(3) { animation-delay: 0.4s; font-style: italic; font-weight: 400; color: var(--brand); font-family: "Instrument Serif", "Manrope", serif; }
@keyframes heroLine { to { opacity: 1; transform: translateY(0); } }

.hero-lead { margin-bottom: 36px; max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-stars { display: flex; align-items: center; gap: 4px; color: oklch(0.7 0.15 80); }
.trust-stars strong { color: var(--ink); margin-left: 6px; font-weight: 600; }
.trust-stars span { color: var(--ink-3); margin-left: 4px; font-size: 13px; }
.trust-divider { width: 1px; height: 28px; background: var(--line); }
.trust-text { display: flex; flex-direction: column; line-height: 1.2; }
.trust-text strong { font-weight: 600; }
.trust-text span { font-size: 13px; }

/* Hero card stack — main visual */
.hero-card-stack {
  position: relative;
  height: 600px;
  animation: heroIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}
.hero-card {
  position: absolute;
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-card-main {
  width: 92%;
  height: 460px;
  top: 30px;
  right: 0;
  box-shadow: var(--shadow-lg);
}
.hero-card-overlay {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  color: white;
}
.hero-audiogram { padding: 12px 0; }
.hero-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-card-result { font-size: 17px; line-height: 1.35; font-weight: 500; margin-top: 6px; }

.hero-card-side {
  width: 320px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 20px;
  bottom: 60px;
  left: -20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-side-row { display: flex; gap: 14px; align-items: flex-start; }
.hero-side-time {
  background: var(--brand);
  color: white;
  border-radius: var(--r-md);
  padding: 10px 14px;
  text-align: center;
  min-width: 56px;
}
.hero-day { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.hero-num { font-size: 26px; font-weight: 600; line-height: 1; margin-top: 2px; }
.hero-side-row strong { font-size: 14px; }
.hero-side-bar { display: flex; gap: 4px; margin-top: 4px; }
.hero-side-step { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.hero-side-step.done { background: var(--brand); }
.hero-side-step.active { background: var(--brand); position: relative; }
.hero-side-step.active::after { content: ""; position: absolute; right: -2px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); border: 2px solid var(--paper); }

.hero-card-stat {
  width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 20px;
  top: -10px;
  right: -10px;
}
.hero-stat-num { font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--brand); }
.hero-stat-num span { font-size: 22px; font-weight: 500; margin-left: 4px; color: var(--ink-2); }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card-stack { height: 540px; max-width: 560px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 110px; }
  .hero-card-stack { height: 460px; }
  .hero-card-main { width: 100%; height: 380px; }
  .hero-card-side { width: 280px; left: 0; bottom: 30px; }
  .hero-card-stat { width: 170px; padding: 14px; }
  .hero-stat-num { font-size: 40px; }
}

/* Marquee */
.hero-marquee {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track { display: flex; animation: marquee 30s linear infinite; }
.marquee-row { display: flex; gap: 80px; padding-right: 80px; }
.marquee-row span { font-size: 22px; font-weight: 500; color: var(--ink-3); white-space: nowrap; letter-spacing: -0.01em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-left .eyebrow { margin-bottom: 24px; }
.about-left h2 { margin-bottom: 24px; }
.about-bullets { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.about-bullet { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink); line-height: 1.5; }
.about-bullet .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: oklch(0.92 0.12 145);
  color: oklch(0.4 0.18 145);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-portrait {
  height: 480px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  overflow: hidden;
}
.portrait-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: white;
}
.portrait-label strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 8px;
  margin-bottom: 6px;
  max-width: 320px;
  line-height: 1.25;
}
.portrait-rings { position: absolute; inset: 0; pointer-events: none; }

.about-quote {
  margin-top: -60px;
  margin-left: 40px;
  margin-right: -20px;
  padding: 28px;
  position: relative;
  z-index: 2;
  border-radius: var(--r-lg);
}

.stats-row {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-item .stat-num {
  display: flex;
  align-items: baseline;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.stat-item .stat-num em { font-style: normal; font-size: 22px; color: var(--brand); margin-left: 4px; font-weight: 500; }
.stat-item .stat-label { color: var(--ink-2); font-size: 14px; max-width: 220px; margin-top: 12px; line-height: 1.4; }

@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============ PROBLEMS ============ */
.problems { background: var(--paper-2); }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: var(--r-lg);
}
.problem-card .problem-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  color: white;
  background: oklch(0 0 0 / 0.2);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
}
.problem-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.motif-svg { width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.problem-card:hover .motif-svg { transform: scale(1.05); }
.problem-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.problem-body h3 { margin-bottom: 8px; }
.problem-body p { font-size: 14px; flex: 1; }
.problem-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.problem-card:hover .problem-link .arrow { transform: translate(2px, -2px); }

@media (max-width: 1080px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .problems-grid { grid-template-columns: 1fr; }
}

/* ============ SERVICES ============ */
.services { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.service-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 32px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 14.5px; flex: 1; }
.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.service-card:hover .arrow { transform: translate(2px, -2px); }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

/* ============ DIFFERENTIALS (dark) ============ */
.diff {
  background: var(--brand-deep);
  color: white;
  position: relative;
  overflow: hidden;
}
.diff::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, oklch(0.55 0.2 var(--brand-h) / 0.5), transparent 50%),
    radial-gradient(ellipse at 80% 90%, oklch(0.35 0.18 calc(var(--brand-h) + 30) / 0.6), transparent 50%);
  pointer-events: none;
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.diff-left h2 { margin-bottom: 24px; }
.diff-left p { margin-bottom: 36px; }
.seals { display: flex; flex-wrap: wrap; gap: 8px; }
.seal {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.diff-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.big-stat { padding: 32px; border: 1px solid oklch(1 0 0 / 0.12); border-radius: var(--r-lg); background: oklch(1 0 0 / 0.04); backdrop-filter: blur(10px); }
.big-stat-num { font-size: 64px; font-weight: 500; letter-spacing: -0.04em; color: white; line-height: 1; }
.big-stat-num em { font-style: normal; font-size: 24px; color: oklch(0.85 0.1 var(--brand-h)); margin-left: 4px; font-weight: 500; }
.big-stat-label { color: rgba(255, 255, 255, 0.75); font-size: 14px; margin-top: 12px; line-height: 1.4; }

@media (max-width: 1080px) { .diff-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 540px) { .diff-right { grid-template-columns: 1fr; } }

/* ============ TESTIMONIALS ============ */
.testi { background: var(--paper-2); }
.testi-controls { display: flex; align-items: center; gap: 14px; }
.testi-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 22px;
  color: var(--ink);
  transition: all 0.2s;
}
.testi-arrow:hover { background: var(--brand); color: white; border-color: var(--brand); }

.testi-stage { position: relative; min-height: 380px; }
.testi-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.6s, transform 0.6s;
}
.testi-card.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.testi-portrait {
  width: 320px; height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  overflow: hidden;
}
.testi-avatar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 500;
  color: white;
  letter-spacing: -0.03em;
  z-index: 2;
}
.testi-stars { display: inline-flex; gap: 4px; margin-bottom: 24px; }
.testi-body blockquote { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 24px 0; max-width: 22ch; text-wrap: balance; }
.testi-meta strong { display: block; font-weight: 600; font-size: 16px; color: var(--ink); }
.testi-meta span { font-size: 14px; }

.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.testi-dots button {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: none;
}
.testi-dots button span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2);
  transition: all 0.3s;
}
.testi-dots button.on span { background: var(--brand); width: 24px; border-radius: 4px; }

@media (max-width: 720px) {
  .testi-card { grid-template-columns: 1fr; gap: 24px; }
  .testi-portrait { width: 100%; height: 200px; }
  .testi-controls { display: none; }
}

/* ============ PROCESS / TIMELINE ============ */
.process { background: var(--paper); }
.timeline { position: relative; padding-left: 56px; }
.timeline-track {
  position: absolute;
  left: 19px; top: 20px; bottom: 20px;
  width: 2px;
  background: var(--line);
}
.timeline-progress {
  width: 2px;
  background: var(--brand);
  transition: height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.timeline-step {
  position: relative;
  margin-bottom: 32px;
  opacity: 0.5;
  transition: opacity 0.5s;
}
.timeline-step.in { opacity: 1; }
.timeline-node {
  position: absolute;
  left: -56px;
  top: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  transition: all 0.4s;
  z-index: 2;
}
.timeline-step.in .timeline-node {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.timeline-node .mono { color: inherit; font-size: 11px; }
.timeline-content { padding: 28px 32px; }
.timeline-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 16px; flex-wrap: wrap; }
.timeline-details { margin-top: 18px; display: flex; gap: 16px; flex-wrap: wrap; }
.timeline-detail { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.timeline-detail svg { color: oklch(0.6 0.16 145); }

@media (max-width: 720px) {
  .timeline { padding-left: 36px; }
  .timeline-track { left: 11px; }
  .timeline-node { left: -36px; width: 24px; height: 24px; }
  .timeline-content { padding: 20px; }
}

/* ============ CTA STRONG ============ */
.cta-strong { background: var(--paper); padding-block: var(--space-7); }
.cta-inner {
  border-radius: var(--r-2xl);
  padding: 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { margin-block: 24px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.cta-ghost { color: white; border-color: oklch(1 0 0 / 0.3); }
.cta-ghost:hover { background: oklch(1 0 0 / 0.1); border-color: oklch(1 0 0 / 0.5); }
.cta-fine { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; font-size: 13px; }
.cta-fine span { display: inline-flex; align-items: center; gap: 8px; }

.cta-side { position: relative; height: 100%; min-height: 280px; }
.cta-rings { position: absolute; inset: -40px; }
.cta-side-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 2;
}
.cta-side-time { font-size: 96px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: white; }

@media (max-width: 1080px) {
  .cta-inner { grid-template-columns: 1fr; padding: 48px; }
  .cta-side { display: none; }
}

/* ============ BLOG TEASER ============ */
.blog-teaser { background: var(--paper-2); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { overflow: hidden; display: flex; flex-direction: column; cursor: pointer; }
.blog-cover { height: 220px; position: relative; overflow: hidden; }
.blog-cover-num {
  position: absolute;
  top: 20px; right: 20px;
  color: white;
  background: oklch(0 0 0 / 0.2);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.blog-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; font-size: 12px; }
.blog-card h3 { margin-bottom: 18px; flex: 1; }
.blog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.blog-card:hover .arrow { transform: translate(2px, -2px); }
@media (max-width: 1080px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 80px 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
}
.footer-newsletter {
  margin-top: 32px;
  display: flex;
  gap: 8px;
  padding: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  max-width: 380px;
}
.footer-newsletter input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols .mono { color: var(--ink-3); margin-bottom: 8px; }
.footer-cols a { font-size: 14.5px; color: var(--ink-2); transition: color 0.2s; }
.footer-cols a:hover { color: var(--brand); }

.footer-map {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  overflow: hidden;
  border-radius: var(--r-lg);
  margin-bottom: 40px;
}
.footer-map-grad { height: 280px; position: relative; }
.footer-map-info { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.footer-map-info h3 { margin-bottom: 6px; }

.footer-bot {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--brand); }

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-map { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
