/* ============================================
   GeneCode / Oncotype DX - estilos compartidos
   ============================================ */

:root {
  --orange: #ef9433;
  --orange-dark: #d97a1a;
  --black: #111111;
  --text: #222222;
  --muted: #5a5a5a;
  --bg-panel: #f6f6f6;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 10px;
  --max-width: 1280px;
  --header-h: 84px;
  --footer-h: 64px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}

body { font-family: "Roboto", "Segoe UI", Arial, sans-serif; background-color: #FFF; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--white);
  scroll-behavior: smooth;
}

body {
  padding-top: var(--header-h);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

button {font-family: "Roboto", "Segoe UI", Arial, sans-serif !important;}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 100;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand img { height: 50px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav .nav-divider {
  width: 3px;
  height: 16px;
  background: var(--black);
  display: inline-block;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.exact-logo img { height: 34px; }

.home-icon img { height: 28px; width: auto; opacity: 0.85; }

.lang-switch {
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
}

/* ---------- Bottom quick-link bar ---------- */
.quick-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--footer-h);
  background: var(--white);
  border-top: 1px solid #eee;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quick-bar a,
.hero-pills a {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border: 1.5px solid var(--orange);
  white-space: nowrap;
}

.quick-bar a.primary,
.hero-pills a {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.quick-bar a:not(.primary) {
  background: var(--white);
  color: var(--orange);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 1.5px solid var(--orange);
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  background: transparent;
  color: var(--orange);
}
.btn-outline:hover { background: rgba(239, 148, 51, 0.08); }

/* ================= HOME ================= */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero-cambie {
  position: absolute;
  left: 35.44%;
  top: 19.1%;
  width: 53.6%;
  height: auto;
  overflow: hidden;
}
.hero-cambie img {
  width: 100%;
  height: auto;
  max-width: none;
}

.hero-text {
  position: relative;
  padding: 20px 0 0 10%;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
}
.hero-text b { font-weight: 700; }

.hero-pills {
  position: absolute;
  right: 8.5%;
  bottom: 8%;
  display: flex;
  gap: 14px;
}

/* ================= QUIENES SOMOS ================= */
.split-hero {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
  min-height: calc(100vh - var(--header-h));
}

.split-hero .photo {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.split-hero .copy {
  padding: 70px 6% 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.split-hero h1 {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0, 0, 0, .54);
  white-space: pre-line;
  max-width: 400px;
}

.split-hero p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  max-width: 620px;
}

.address-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.address-block img {
  width: 200px;
  border-radius: var(--radius-sm);
}

.address-block .info p {
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 6px;
}
.address-block .info a {
  color: var(--orange);
  font-weight: 600;
}

/* ================= CONTACTO ================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: calc(100vh - var(--header-h));
}

.contact-photo {
  background-size: cover;
  background-position: center;
}

.contact-form-area {
  padding: 60px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.contact-form-area h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: #D9D9D9;
}
.contact-form-area .subtitle {
  font-size: 15px;
  color: var(--muted);
}

.contact-card {
  padding: 0px;
  max-width: 560px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 20px;
  border: 3px solid rgba(175, 165, 165, .79);
  background: var(--white);
  font-size: 14px;
  font-family: inherit;
}
.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid #D9D9D9;
  background: var(--white);
  font-size: 14px;
  font-family: inherit;
}
.field input:focus { outline: 2px solid var(--orange); border-color: var(--orange); }

.field input::placeholder {
  color: #000;
  font-size: 14px;
  font-family: inherit;
  opacity: 1; /* Firefox le baja la opacidad por defecto, hay que forzarla */
}

.field input::-webkit-input-placeholder {
  color: #000;
  font-size: 14px;
  font-family: inherit;
}

.required-note {
  font-size: 12px;
  color: #737070;
  text-align: right;
  margin-bottom: 10px;
}

.text-note {
  font-size: 12px;
  color: #737070;
  text-align: left;
  margin-bottom: 10px;
}

.form-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* Modal / Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 40px 34px;
  width: min(460px, 90vw);
  text-align: center;
  box-shadow: var(--shadow);
}
.modal img { margin: 0 0 45px; height: 70px; width: auto; }
.modal p.msg { 
  color: #737070;
  font-size: 20px; 
  font-weight: 400; 
  margin-bottom: 26px; 
}

/* ================= ONCOTYPE ================= */

.onco-pattern {
  background-color: #ffffff;
  position: relative;
}

.onco-hero {
  background-image: url('../assets/img/hero-oncotype.png');
  background-repeat: repeat;
  background-size: auto;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.onco-hero-container {
  background: var(--white);
  max-width: var(--max-width);
  margin: 0 0;
  box-shadow: 6px 14px 25px 4px rgba(0, 0, 0, 0.25);
  border-radius: 0 20px 20px 0;
}

.onco-hero-card {
  padding: 40px 48px;
  max-width: 720px;
  margin-left: 0;
}
.onco-hero-card p { font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.onco-hero-card p:last-child { margin-bottom: 0; }
.onco-hero-card b { color: var(--black); }

.onco-value {
  width: 40%;
  padding: 50px 0 30px;
  text-align: left;
}
.onco-value > .kicker {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 18px;
}
.onco-value-item {
  position: relative;
  padding-left: 22px;
  margin-bottom: 30px;
}
.onco-value-item::before {
  content: "";
  position: absolute;
  left: 0; 
  top: -10px; 
  bottom: 2px;
  width: 12px;
  background: var(--orange);
  border-radius: 3px;
}
.onco-value-item .title { 
  font-weight: 700; 
  font-size: 18px; 
  margin-bottom: 6px; 
}

.onco-value-item p { 
  font-size: 14px; 
  line-height: 1.6; 
  color: var(--text); 
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  padding: 40px 0;
}
.info-row .circle-img {
  width: 40%;
  display: block;
}
.info-row .section-title { margin-bottom: 14px; }
.info-row p { font-size: 15px; line-height: 1.7; max-width: 560px; margin-bottom: 0; }
.info-row ul { margin: 10px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.7; }
.info-row ul ul { margin-top: 4px; }

.prueba-section { padding: 70px 0; }

.section-title-100 {
  max-width: 100% !important;
  margin-bottom: 20px !important;
}
.section-title { font-size: 28px; font-weight: 800; color: var(--black); max-width: 900px; margin-bottom: 10px; line-height: 1.25; }

.section-sub { 
  font-size: 14.5px; 
  color: var(--muted); 
  max-width: 760px; 
  margin-bottom: 30px; 
  line-height: 1.5; 
}

.prueba-card {
  background: rgba(239, 148, 51, .74); 
  border-radius: var(--radius);
  padding: 36px 44px 44px;
}
.prueba-card h3 {
  text-align: center;
  color: var(--black);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 40px;
}
.prueba-subcards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.prueba-subcard {
  background: rgba(239, 148, 51, .75);
  border-radius: var(--radius-sm);
  padding: 50px 25%;
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.prueba-arrows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(239,148,51,0.75);
  font-size: 50px;
  line-height: 1;
  text-align: center;
}

.timeline-section { padding: 70px 0; }
.timeline-section .section-sub { margin-bottom: 40px; }

.timeline-wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.timeline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
  position: relative;
  padding-top: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 32px; left: 32px; right: 32px;
  height: 2px;
  background: #000;
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 0 6px;
}
.timeline-step .num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: -32px auto 14px;
}
.timeline-step p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  max-width: 190px;
  margin: 0 auto;
}
.timeline-callout {
  width: 260px;
  font-size: 13px;
  color: rgba(239, 148, 51, .74);
  font-weight: 600;
  line-height: 1.6;
  padding-top: 10px;
  flex-shrink: 0;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}
.metric-item {
  position: relative;
  padding-left: 20px;
  max-width: 300px;
}
.metric-item::before {
  content: "";
  position: absolute;
  left: 0; 
  top: 0; 
  bottom: 0;
  width: 20px;
  background: rgba(239, 148, 51, .75);
}
.metric-item p { 
  font-size: 14.5px; 
  font-weight: 400; 
  line-height: 1.5;
  padding: 30px 0px 30px 10px;
}

.trait-circles {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}
.trait-circle {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  padding: 10px;
  flex-shrink: 0;
}

/* ---------- Site footer (colophon) ---------- */
.site-footer {
  background: var(--black);
  color: #ccc;
  padding: 46px 0 46px;
  font-size: 13.5px;
  line-height: 1.7;
}
.site-footer a { color: var(--orange); }

/* ---------- Responsive (mobile, based on GNCD-RES @ 390px) ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav .nav-divider { display: none; }
  .nav-toggle { display: block; }
  .header-right .lang-switch { display: none; }
  .header-right .exact-logo { display: none; }
  .brand img { height: 34px; }

  .main-nav.mobile-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: var(--shadow);
    padding: 8px 24px 18px;
    z-index: 99;
  }
  .main-nav.mobile-open a { width: 100%; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }

  .container { padding: 0 5%; }

  .hero-home {
    padding: 26px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-cambie { position: relative; left: auto; top: auto; width: 90%; margin: 0 auto; height: auto; overflow: visible; }
  .hero-text { position: relative; left: auto; top: auto; width: auto; padding: 30px 5% 50px; font-size: 18px; }
  .hero-pills { 
    position: relative; 
    right: auto; 
    bottom: auto; 
    margin: 0 auto; 
    flex-wrap: wrap; 
    justify-content: flex-end; 
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .quick-bar a, .hero-pills a {
    font-size: 15px;
  }
  .main-nav { gap: 4px; }

  .onco-hero {
    min-height: calc(60vh - var(--header-h));
  }
  .split-hero, .contact-wrap { grid-template-columns: 1fr; }
  .split-hero .photo, .contact-photo { min-height: 260px; }
  .split-hero .copy, .contact-form-area { padding: 40px 6%; }
  .split-hero h1 { font-size: 30px; }
  .contact-form-area h1 { font-size: 42px; }

  .address-block { flex-direction: column; align-items: flex-start; }

  .info-row { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .info-row .circle-img { max-width: 380px; margin: 0 auto; }

  .info-row .circle-img {
    width: 100%;
  }

  .info-row .onco-value {
    width: 90%;
  }

  .prueba-section {
    padding: 70px 5%;
  }


  .onco-value { margin-left: 0; max-width: 100%; }
  .prueba-subcards { grid-template-columns: 1fr; gap: 0px;}
  .prueba-arrows { flex-direction: row; justify-content: center; transform: rotate(90deg); font-size: 70px;}
  .prueba-subcard {
    padding: 20px 5%;
    font-size: 16px;
    font-weight: 500;
  }
  .timeline-wrap { flex-direction: column; gap: 20px; }
  .timeline { flex-direction: column; gap: 30px; padding-top: 0; }
  .timeline::before {
    display: block;
    top: 42px;
    bottom: 42px;
    left: 42px;
    right: auto;
    width: 2px;
    height: auto;
    background: #000;
  }
  .timeline-step .num { 
    margin: 0 auto 14px;
    width: 84px;
    height: 84px;
    font-size: 40px;
  }
  .timeline-callout { 
    width: 100%;
    text-align: center;
  }

  .timeline-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
    padding: 0;
  }

  
  .metric-row { flex-direction: column; gap: 24px; }
  .section-title { font-size: 22px; }
  .trait-circles, .metric-row { flex-direction: column; }
  .trait-circle { width: 120px; height: 120px; margin: 0 auto; }
  .onco-hero-card { padding: 28px 26px; }

.timeline-section {
  padding: 10px 5% 10px;
}

  .quick-bar { gap: 8px; padding: 0 10px; }
  .quick-bar a { padding: 8px 12px; font-size: 11.5px; }

  .trait-circles { justify-content: center; }
}
