/* ========= ALIADOS PAGE ========= */
.al-intro {
  padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.al-intro .iso-wm {
  width: 700px; height: 700px;
  right: -260px; top: -200px;
  opacity: 0.04;
}
.al-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}
.al-intro h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(50px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.al-intro h1 em { font-style: italic; color: var(--teal); }
.al-intro .aside p {
  font-size: 17.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 18px;
}
@media (max-width: 860px) { .al-intro-grid { grid-template-columns: 1fr; } }

/* ========= HOW IT WORKS ========= */
.how {
  padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 8vw, 110px);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  overflow: hidden;
}
.how-cell {
  background: var(--bg);
  padding: 44px 36px;
  display: flex; flex-direction: column;
  gap: 20px;
}
.how-cell .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.how-cell h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.how-cell p {
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.8;
}
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

/* ========= GRID DE ALIADOS ========= */
.allies-main {
  padding: clamp(70px, 8vw, 120px) 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.allies-main .iso-wm {
  width: 800px; height: 800px;
  right: -280px; top: -200px;
  opacity: 0.05;
}
.am-head { text-align: center; margin-bottom: 70px; }
.am-head .eyebrow { justify-content: center; }
.am-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin: 20px auto 0;
}
.am-head h2 em { font-style: italic; color: var(--teal); }
.am-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.am-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 18px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.am-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -24px rgba(38,70,83,0.2);
  border-color: transparent;
}
.am-logo {
  height: 110px;
  border-radius: 16px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.am-logo img {
  max-width: 70%;
  max-height: 56px;
  width: auto; height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.am-logo img[src*="coomeva"] {
  max-height: 80px;
  max-width: 90%;
}
.am-card .lines {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.am-card .line {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
}
.am-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin-top: 4px;
}
.am-card .contact {
  display: grid; gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.am-card .row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  opacity: 0.85;
}
.am-card .row svg {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--ink-2);
}
@media (max-width: 980px) { .am-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .am-grid { grid-template-columns: 1fr; } }

/* ========= CONTACT BLOCK ========= */
.contact-ainval {
  padding: clamp(80px, 9vw, 130px) 0;
}
.ca-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.ca-text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.ca-text h2 em { font-style: italic; color: var(--teal); }
.ca-text p { font-size: 17px; font-weight: 300; line-height: 1.6; margin-top: 24px; opacity: 0.8; max-width: 48ch; }
.ca-channels {
  display: grid; gap: 14px;
}
.ca-channel {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--bg);
  transition: background .25s, transform .25s;
}
.ca-channel:hover { background: var(--paper); transform: translateX(4px); }
.ca-channel .ic {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ca-channel strong {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.ca-channel span {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
@media (max-width: 860px) { .ca-grid { grid-template-columns: 1fr; } }

/* === SOCIAL ROW === */
.social-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(30px, 5vw, 70px);
  padding: 50px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: var(--bg);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.social-row::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  right: -180px; bottom: -180px;
  background: radial-gradient(circle, rgba(42,156,142,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.sr-label .eyebrow { margin-bottom: 14px; }
.sr-label p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.78;
  max-width: 36ch;
}
.sr-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}
.sr-link {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--paper);
  transition: background .25s, transform .25s, border-color .25s;
}
.sr-link:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-3px);
}
.sr-link .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .25s, color .25s;
}
.sr-link:hover .ic { background: var(--sand); color: var(--ink); }
.sr-link .ic svg { width: 18px; height: 18px; }
.sr-link strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.sr-link span {
  font-size: 12px;
  opacity: 0.7;
}
@media (max-width: 860px) {
  .social-row { grid-template-columns: 1fr; padding: 32px; }
  .sr-links { grid-template-columns: 1fr; }
}
