/* GRIEGOS: shared editorial shell for Nosotros, Contacto e Información. */
body { background: #090d13; color: var(--color-white); }
body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container-width);
  margin: auto;
  padding: 10px var(--container-padding);
  border-bottom: 1px solid var(--color-border);
}
body > header .eco-brand { min-height: 64px; margin: 0; flex: 0 0 auto; }
body > header .eco-brand img { width: clamp(148px, 17vw, 210px); height: auto; }
.eco-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px clamp(10px, 1.4vw, 22px); padding: 0; border: 0; }
.eco-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 2px; border-bottom: 2px solid transparent; color: #d8e0eb; font-size: clamp(12px, 1vw, 14px); text-decoration: none; white-space: nowrap; }
.eco-nav a:hover, .eco-nav a[aria-current="page"] { border-color: #a4c6ff; color: #fff; }
.eco-nav a[href*="academy"]:hover { border-color: #c9a66b; }
.eco-main {
  width: min(100%, var(--container-width));
  min-height: 62vh;
  margin: auto;
  padding: clamp(44px, 6vw, 96px) var(--container-padding);
  background: radial-gradient(ellipse at 90% 0%, rgb(40 72 115 / .1), transparent 50%);
}
.eco-main h1, .eco-main h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; }
.eco-main h1 { max-width: 13ch; margin: 0 0 22px; font-size: clamp(48px, 8vw, 106px); line-height: 1.02; letter-spacing: .01em; overflow-wrap: anywhere; }
.eco-main h2 { margin: 44px 0 16px; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: .015em; }
.eco-main p { max-width: var(--container-reading); margin: 0 0 20px; color: #c6cfdb; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; }
.eco-story-grid { align-items: center; }
.eco-story-grid h1 { max-width: none; margin-bottom: 20px; }
.eco-story-grid .editorial-media { border-color: #495464; box-shadow: var(--shadow-soft); }
.eco-story-copy { max-width: var(--container-reading); padding: 4px 0 4px 24px; border-left: 3px solid #739ee8; }
.eco-story-copy h2 { margin-top: 0; }
.eco-hero { min-height: 65vh; padding: 70px 5%; background: linear-gradient(90deg,#090b0fee,#090b0f66),url('../assets/banners/Seamless%20gym%20still%20life%20panorama-1.webp') center/cover; }
.eco-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 24px; margin: 40px 0; }
.eco-card { padding: 32px; border: 1px solid #303e50; border-radius: var(--radius-medium); background: #151d29; }
.eco-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid #82adf5;
  border-radius: var(--radius-small);
  background: var(--color-blue);
  color: #fff;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.eco-button:hover { background: var(--color-blue-hover); border-color: #b6cfff; transform: translateY(-2px); }
.contact-kicker, .contact-card__eyebrow { color: #a9c9ff; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.contact-intro { max-width: 780px; padding-bottom: 16px; }
.contact-intro h1 { margin-top: 12px; }
.contact-intro p { font-size: clamp(17px, 1.5vw, 20px); }
.eco-contact h2 { margin-top: 42px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(22px, 2.3vw, 34px);
  border: 1px solid #39475b;
  border-radius: var(--radius-medium);
  background: linear-gradient(145deg, #192437, #101824);
  box-shadow: var(--shadow-soft);
}
.contact-card--primary { border-color: #6b94d6; background: linear-gradient(145deg, #203d6c, #142338); }
.contact-card h3 { margin: 22px 0 12px; color: #fff; font-family: var(--font-display); font-size: clamp(25px, 2.7vw, 34px); font-weight: 400; line-height: 1.08; text-transform: uppercase; }
.contact-card p { margin-bottom: 24px; font-size: 15px; line-height: 1.55; }
.contact-card small { display: block; margin-top: 14px; color: #c9d3e0; font-size: 13px; }
.contact-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  margin-top: auto;
  padding: 12px 16px;
  border: 1px solid #a5c6ff;
  border-radius: var(--radius-small);
  background: #305db0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-action:hover { background: #4074d0; box-shadow: 0 8px 24px #0005; transform: translateY(-2px); }
.contact-note { margin-top: 22px !important; padding: 15px 18px; border-left: 3px solid #84aef2; background: #151f2d; font-size: 14px !important; text-align: left; }
.contact-social { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; margin-top: clamp(65px, 8vw, 120px); padding-top: 26px; border-top: 1px solid #425169; }
.contact-social h2 { margin: 12px 0 !important; }
.contact-social__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-social__links a { display: flex; align-items: center; gap: 14px; min-height: 85px; padding: 18px; border: 1px solid #47566a; border-radius: var(--radius-medium); background: #1a2432; color: #fff; text-decoration: none; transition: background var(--transition-fast), transform var(--transition-fast); }
.contact-social__links a:hover { background: #254064; transform: translateY(-2px); }
.contact-social__links svg { width: 28px; height: 28px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.8; }
.contact-social__links strong, .contact-social__links small { display: block; }
.contact-social__links strong { font-size: 16px; }
.contact-social__links small { margin-top: 4px; color: #c6d0dd; font-size: 12px; line-height: 1.3; }
.eco-review form { max-width: 760px; margin-top: 32px; padding: clamp(20px, 4vw, 40px); border: 1px solid #37465c; border-radius: var(--radius-medium); background: #151d29; }
.eco-main label { display: block; margin-top: 15px; font-weight: 700; }
.eco-main input, .eco-main select, .eco-main textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 8px 0 20px;
  padding: 12px 14px;
  border: 1px solid #65748a;
  border-radius: var(--radius-small);
  background: #101823;
  color: #fff;
  font: inherit;
}
.eco-main textarea { min-height: 160px; resize: vertical; }
.eco-main input:focus-visible, .eco-main select:focus-visible, .eco-main textarea:focus-visible { border-color: #a4c6ff; }
.eco-review form p { font-size: 14px; }
.eco-review form .eco-button { width: 100%; max-width: 420px; margin-top: 10px; }
.eco-info h2 { max-width: var(--container-reading); padding-top: 25px; border-top: 1px solid #3e4a59; }
.eco-info h2:first-of-type { margin-top: 54px; }
.eco-info p { max-width: var(--container-reading); }
.eco-info h1 { max-width: 14ch; font-size: clamp(42px, 7vw, 88px); }
.legal-eyebrow { color: #a4c6ff !important; font-size: 11px !important; font-weight: 800; letter-spacing: .14em; }
.legal-review { max-width: 880px; margin: 22px 0 32px; padding: 22px 26px; border: 1px solid #9e824e; border-left: 4px solid #c9a66b; border-radius: var(--radius-small); background: #2b251c; color: #f0e4cd; line-height: 1.6; }
.legal-review strong { display: block; margin-bottom: 5px; color: #fff; }
.legal-index { display: flex; flex-wrap: wrap; gap: 8px; max-width: 1000px; margin: 28px 0 54px; }
.legal-index a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 13px; border: 1px solid #526179; border-radius: var(--radius-pill); color: #dceaff; font-size: 13px; font-weight: 700; text-decoration: none; }
.legal-index a:hover { border-color: #aacaff; background: #1a2a40; }
.legal-section { max-width: 920px; scroll-margin-top: 30px; }
.legal-section h2 { margin: 48px 0 18px; max-width: none; }
.legal-section p { max-width: 840px; }
.legal-section strong { color: #fff; }
.legal-section a, .legal-end a { color: #a9caff; text-decoration: underline; text-underline-offset: 3px; }
.legal-end { margin-top: 54px !important; padding-top: 24px; border-top: 1px solid #425169; font-size: 14px !important; }
.eco-footer { padding: 34px var(--container-padding); border-top: 1px solid var(--color-border); color: #c4cedc; font-size: 13px; }
.eco-footer a { display: inline-block; margin-left: 12px; color: #a4c6ff; text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a4c6ff; outline-offset: 3px; }
@media (max-width: 920px) {
  body > header { flex-direction: column; align-items: flex-start; gap: 0; }
  .eco-nav { width: 100%; gap: 0 18px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { min-height: 275px; }
}
@media (max-width: 600px) {
  body > header { padding-block: 12px; }
  .eco-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .eco-nav a { flex: 0 0 auto; font-size: 12px; }
  .eco-main { min-height: 0; }
  .eco-main h1 { font-size: clamp(46px, 11vw, 68px); }
  .eco-story-grid h1 { font-size: clamp(48px, 12vw, 70px); }
  .eco-story-copy { margin-top: 36px; }
  .eco-footer a { margin: 8px 0 0; }
  .contact-grid, .contact-social, .contact-social__links { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
  .contact-card h3 { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .eco-button, .contact-action, .contact-social__links a { transition: none; } .eco-button:hover, .contact-action:hover, .contact-social__links a:hover { transform: none; } }
