/* ===========================================================================
   home.css — portada
   =========================================================================== */

/* ================================================================= hero == */
.hero {
  min-height: calc(100svh - var(--band-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(80px, 11vh, 132px);
  padding-bottom: clamp(20px, 3.4vh, 48px);
  position: relative;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(18px, 3vh, 46px);
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.85vw, 12.5px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--brand);
  flex: none;
  box-shadow: 0 0 0 0 rgba(255, 67, 71, 0.6);
  animation: pulse 2.6s var(--ease-io) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 67, 71, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 67, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 67, 71, 0); }
}

.hero-eyebrow .rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  min-width: 20px;
}

.hero-title {
  /* el tope en vh evita que el titular se coma la pantalla en portátiles bajos */
  font-size: clamp(38px, min(7.2vw, 10.9vh), 112px);
  font-weight: 900;
  letter-spacing: -0.046em;
  line-height: 0.9;
  text-transform: lowercase;
  margin-bottom: clamp(18px, 2.8vh, 46px);
  max-width: 16ch;
}

.hero-title .accent {
  position: relative;
  color: var(--brand);
  text-shadow: 0 0 60px rgba(255, 67, 71, 0.35);
}

.hero-row {
  display: flex;
  align-items: stretch;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.hero-col { flex: 1 1 460px; display: flex; flex-direction: column; justify-content: flex-end; }

.hero-lead {
  font-size: clamp(16.5px, 1.4vw, 19.5px);
  line-height: 1.74;
  color: var(--para);
  max-width: 46ch;
  margin-bottom: clamp(18px, 3vh, 30px);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* tarjeta de retrato */
.hero-card {
  flex: 0 1 372px;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  position: relative;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,67,71,0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.hero-card:hover::after { opacity: 1; }
.hero-card:hover { border-color: var(--brand-line); }

.hero-card img {
  width: 41%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1) contrast(1.14);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}
.hero-card:hover img { filter: grayscale(0.15) contrast(1.06); transform: scale(1.04); }

.hero-card-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  flex: 1;
}

.hero-card-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.hero-chips span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted-2);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.hero-card:hover .hero-chips span { border-color: rgba(255,67,71,0.35); color: var(--muted); }

/* HUD del hero */
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(16px, 2.6vh, 52px);
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-foot-cue {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-foot-cue i {
  font-style: normal;
  font-size: 13px;
  color: var(--brand);
  animation: cue 2s var(--ease-io) infinite;
}

@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(7px); opacity: 1; }
}

.hero-telemetry { display: flex; gap: clamp(12px, 2vw, 32px); flex-wrap: wrap; }
.hero-telemetry b { color: var(--muted); font-weight: 500; }
.hero-telemetry .live { color: #4ade80; }

@media (max-width: 760px) {
  .hero-telemetry span:nth-child(n+3) { display: none; }
}

@media (max-width: 620px) {
  .hero-eyebrow { flex-wrap: wrap; row-gap: 6px; }
  .hero-eyebrow .rule { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ============================================================ marquesina = */
.marquee-band {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.42);
  backdrop-filter: blur(6px);
  padding-block: 22px;
  overflow: hidden;
}

.marquee-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 18px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-run { display: flex; align-items: center; }

/* Todos los logos van sobre la misma placa blanca: es el único tratamiento
   que funciona para los doce, porque conviven marcas claras (Repsol) con
   marcas oscuras (Hitachi, Saur, Daimler) y con imágenes de fondo blanco
   opaco (Daimler, Aqualia, SEMPSA), que así se funden con la placa. */
.logo {
  width: clamp(146px, 13vw, 178px);
  height: 50px;
  margin-inline: clamp(9px, 1.4vw, 18px);
  flex: none;
  padding: 9px 15px;
  border-radius: 9px;
  background-color: #FFFFFF;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-origin: content-box;
  opacity: 0.9;
  transition: opacity 0.35s ease, transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.logo:hover {
  opacity: 1;
  transform: scale(1.07);
  box-shadow: 0 10px 34px -12px rgba(255, 255, 255, 0.5);
}

/* ============================================================== sección == */
.section { padding-block: var(--pad-y); position: relative; }
.section-tight { padding-block: clamp(60px, 8vw, 108px); }

.sec-lead {
  font-size: 16.5px;
  line-height: 1.74;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 20px;
}

/* ============================================================= sobre mí == */
.about-card {
  margin-top: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 54px);
}

.about-claim {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.3vw, 31px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 22px;
}

.about-text {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--para);
  margin-bottom: 16px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 1px;
  background: var(--line);
  height: 100%;
  min-height: 300px;
}

.highlight {
  background: #131317;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: background 0.45s ease;
}

.highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255,67,71,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.highlight:hover::before { opacity: 1; }
.highlight:hover { background: #1B1B20; }

.highlight-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.highlight-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.highlight-text { font-size: 13.2px; line-height: 1.62; color: var(--dim); }

@media (max-width: 560px) {
  .highlights { grid-template-columns: 1fr; min-height: 0; }
}

/* ============================================================== sectores = */
.sectors-grid {
  margin-top: clamp(26px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.sector {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color 0.45s ease, transform 0.5s var(--ease), opacity 0.45s ease;
  will-change: transform;
}

.sectors-grid:hover .sector { opacity: 0.45; }
.sectors-grid .sector:hover { opacity: 1; border-color: var(--line-3); }

.sector-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.sector-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) saturate(1.06) contrast(1.06) brightness(0.86);
  transform: scale(1.02);
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
}
.sector:hover .sector-media img {
  transform: scale(1.09);
  filter: grayscale(0) saturate(1.12) contrast(1.06) brightness(0.98);
}

.sector-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,10,0.86), transparent 58%);
}

.sector-bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 26%;
  background: var(--c);
  z-index: 2;
  transition: width 0.7s var(--ease), box-shadow 0.5s ease;
}
.sector:hover .sector-bar { width: 100%; box-shadow: 0 0 22px var(--c); }

.sector-num {
  position: absolute;
  top: 12px; left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(245,245,247,0.86);
}

.sector-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.sector-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c);
}

.sector-name {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.sector-desc { font-size: 15px; line-height: 1.64; color: #A8A8AF; }

.caps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }

.cap {
  font-size: 11.2px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--muted-2);
  transition: border-color 0.35s ease, color 0.35s ease;
}
.sector:hover .cap { border-color: color-mix(in srgb, var(--c) 45%, transparent); color: var(--muted); }

/* ============================================================ EMI Suite == */
.emi {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-block: var(--pad-y);
}

.emi-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.emi-head .emi-mark {
  width: clamp(44px, 5.4vw, 68px);
  height: clamp(44px, 5.4vw, 68px);
  border-radius: 6px;
  box-shadow: 0 0 42px -6px rgba(255, 67, 71, 0.7);
}

.emi-head .emi-mark i {
  width: clamp(4px, 0.5vw, 6px);
  height: clamp(24px, 3vw, 38px);
}

.emi-title {
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.emi-intro {
  margin-top: clamp(24px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(22px, 3.5vw, 54px);
  align-items: start;
}

.emi-claim {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.7vw, 38px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
  max-width: 15ch;
}

.emi-desc { font-size: 16px; line-height: 1.78; color: var(--para); }

.modules {
  margin-top: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
  gap: 10px;
}

.module {
  position: relative;
  text-align: left;
  background: #131317;
  border: 1px solid var(--line);
  border-top: 2px solid transparent;
  min-height: 162px;
  padding: 18px 17px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}

.module::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 16%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.module:hover::after, .module.is-active::after { opacity: 1; }

.module.is-active {
  background: #1F1F23;
  border-top-color: var(--c);
  transform: translateY(-3px);
}

.module-head { display: flex; align-items: center; gap: 11px; }

.module-mark {
  width: 30px; height: 30px;
  flex: none;
  background: var(--c);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: box-shadow 0.4s ease, transform 0.5s var(--ease-back);
}
.module-mark i { display: block; width: 3px; height: 17px; background: #0E0E10; border-radius: 1px; }
.module.is-active .module-mark { box-shadow: 0 0 26px -4px var(--c); transform: rotate(-6deg) scale(1.06); }

.module-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.module-desc { font-size: 13.6px; line-height: 1.62; color: var(--dim); }

.module-index {
  position: absolute;
  right: 12px; top: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--dim-2);
}

.module-panel {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
}

.module-panel.is-swapping .panel-anim { opacity: 0; transform: translateY(10px); }
.panel-anim { transition: opacity 0.32s ease, transform 0.42s var(--ease); }

.panel-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--c, var(--text));
}

.panel-desc { font-size: 15.5px; line-height: 1.78; color: var(--para); max-width: 56ch; }

.panel-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 14px;
}

.features { display: flex; flex-wrap: wrap; gap: 7px; }

.feature {
  font-size: 12.2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}

/* =========================================================== trayectoria = */
.timeline { margin-top: clamp(26px, 4vw, 46px); position: relative; }

.timeline-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(26px, 3.5vw, 44px);
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.5s ease;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  height: 1px; width: 0;
  background: var(--brand);
  transition: width 1.1s var(--ease);
}
.timeline-item.is-in::before { width: 100%; }

.timeline-item::after {
  content: '';
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  background: var(--brand);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s ease 0.5s, transform 0.6s var(--ease-back) 0.5s;
}
.timeline-item.is-in::after { opacity: 1; transform: scale(1); }

.timeline-item:hover { background: rgba(255,255,255,0.018); }

.timeline-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 10px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 29px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 17ch;
}

/* va sin tarjeta detrás: necesita más cuerpo que el resto de texto terciario */
.timeline-text { font-size: 15.5px; line-height: 1.78; color: var(--muted); max-width: 62ch; }

/* =============================================================== notas === */
.notes-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.notes-all {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.notes-all:hover { color: var(--brand); border-color: var(--brand); }

.notes-grid {
  margin-top: clamp(26px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.note {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, transform 0.5s var(--ease);
}
.note:hover { border-color: var(--brand-line); transform: translateY(-5px); }

.note-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }

.note-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  opacity: 0.82;
  transition: filter 0.7s var(--ease), opacity 0.5s ease, transform 1s var(--ease);
}
.note:hover .note-media img { filter: grayscale(0) contrast(1.02); opacity: 1; transform: scale(1.06); }

.note-body { padding: 16px 17px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }

.note-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.note-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.note-read {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-2);
}

/* ============================================================= contacto == */
.contact {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-block: var(--pad-y);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(28px, 4vw, 62px);
}

.contact-phrase {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.8vw, 86px);
  font-weight: 900;
  letter-spacing: -0.046em;
  line-height: 0.9;
  text-transform: lowercase;
  margin-block: clamp(18px, 3vw, 34px) 24px;
}

.contact-phrase .outline {
  -webkit-text-stroke: 1.5px var(--para);
  color: transparent;
  transition: color 0.6s var(--ease), -webkit-text-stroke-color 0.6s var(--ease);
}
.contact:hover .contact-phrase .outline {
  color: var(--brand);
  -webkit-text-stroke-color: var(--brand);
}

.contact-lead { font-size: 16.5px; line-height: 1.78; color: var(--muted); max-width: 44ch; }

.contact-card {
  align-self: start;
  max-width: 400px;
  margin-left: auto;
  width: 100%;
  margin-top: clamp(10px, 5vw, 84px);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, padding-left 0.4s var(--ease);
}
.contact-row:hover { background: rgba(255, 67, 71, 0.1); padding-left: 26px; }

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 5px;
}
.contact-label.is-brand { color: var(--brand); }

.contact-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: break-all;
}

.contact-arrow { font-size: 15px; color: var(--muted-2); transition: transform 0.4s var(--ease), color 0.3s ease; }
.contact-arrow.is-brand { color: var(--brand); }
.contact-row:hover .contact-arrow { transform: translateX(5px); color: var(--brand); }

.contact-split { display: grid; grid-template-columns: 1fr 1fr; }
.contact-cell { padding: 18px 20px; }
.contact-cell.is-divided { border-right: 1px solid var(--line); }
.contact-cell-value { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; }

.btn-mail {
  margin-top: clamp(26px, 4vw, 46px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.4s ease;
}

.btn-mail::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-d);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn-mail:hover::before { transform: translateY(0); }
.btn-mail:hover { box-shadow: 0 14px 50px -14px rgba(255, 67, 71, 0.9); }
.btn-mail span:last-child { transition: transform 0.4s var(--ease); }
.btn-mail:hover span:last-child { transform: translateX(6px); }

@media (max-width: 700px) {
  .contact-card { margin-left: 0; margin-top: 8px; }
}
