/* Página Laboratorios THCA — estilos encapsulados para Astra Child. */
body.thca-laboratorios-page .site-content {
  padding: 0;
}

body.thca-laboratorios-page .site-content > .ast-container {
  display: block;
  max-width: none;
  padding: 0;
  width: 100%;
}

body.thca-laboratorios-page #primary.thca-laboratorios {
  float: none;
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.thca-laboratorios {
  --thca-green-950: #123c2e;
  --thca-green-900: #194c39;
  --thca-green-800: #246448;
  --thca-green-600: #3f8a61;
  --thca-green-300: #a9d3b3;
  --thca-green-100: #e9f4ec;
  --thca-green-50: #f5faf6;
  --thca-ink: #1d2b25;
  --thca-muted: #607168;
  --thca-white: #fff;
  --thca-border: #d9e7dc;
  --thca-serif: Georgia, "Times New Roman", serif;
  --thca-sans: "Helvetica Neue", Arial, sans-serif;
  --thca-container: 1200px;
  --thca-radius-sm: 12px;
  --thca-radius: 24px;
  --thca-shadow: 0 22px 55px rgba(18, 60, 46, .11);
  color: var(--thca-ink);
  font-family: var(--thca-sans);
  font-size: 19px;
  line-height: 1.7;
  overflow: hidden;
}

.thca-laboratorios *,
.thca-laboratorios *::before,
.thca-laboratorios *::after { box-sizing: border-box; }
.thca-laboratorios h1,
.thca-laboratorios h2,
.thca-laboratorios h3,
.thca-laboratorios p { margin-top: 0; }
.thca-laboratorios h1,
.thca-laboratorios h2,
.thca-laboratorios h3 { color: var(--thca-green-950); font-family: var(--thca-serif); line-height: 1.12; }
.thca-laboratorios h1 { font-size: clamp(4.2rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.055em; margin-bottom: 28px; }
.thca-laboratorios h2 { font-size: clamp(2.55rem, 4.25vw, 3.9rem); font-weight: 500; letter-spacing: -.035em; margin-bottom: 30px; }
.thca-laboratorios h3 { font-size: 1.5rem; margin-bottom: 14px; }
.thca-laboratorios p:last-child { margin-bottom: 0; }
.thca-laboratorios__container { margin: 0 auto; max-width: var(--thca-container); padding-left: 40px; padding-right: 40px; width: 100%; }
.thca-laboratorios__section { padding: 124px 0; }
.thca-laboratorios__eyebrow { color: var(--thca-green-600); font-size: .76rem; font-weight: 700; letter-spacing: .17em; margin-bottom: 18px; text-transform: uppercase; }
.thca-laboratorios__content p { color: var(--thca-muted); margin-bottom: 20px; }

.thca-laboratorios__hero { background: linear-gradient(125deg, #f7fbf8 0%, #edf7ef 60%, #e1f1e5 100%); min-height: 820px; padding: 122px 0 112px; position: relative; width: 100%; }
.thca-laboratorios__hero::before { background: radial-gradient(circle, rgba(63,138,97,.14) 1.5px, transparent 1.5px); background-size: 22px 22px; content: ""; height: 240px; left: -40px; opacity: .65; position: absolute; top: 70px; width: 260px; }
.thca-laboratorios__hero-shape { background: rgba(255,255,255,.43); border-radius: 48% 52% 30% 70% / 61% 32% 68% 39%; height: 680px; position: absolute; right: -180px; top: -170px; transform: rotate(14deg); width: 710px; }
.thca-laboratorios__hero-grid { align-items: center; display: grid; gap: 78px; grid-template-columns: .94fr 1.06fr; position: relative; z-index: 1; }
.thca-laboratorios__hero-copy { max-width: 590px; }
.thca-laboratorios__hero-copy > p:not(.thca-laboratorios__eyebrow):not(.thca-laboratorios__lead) { color: var(--thca-muted); max-width: 590px; }
.thca-laboratorios__lead { color: var(--thca-green-800); font-family: var(--thca-serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.35; margin-bottom: 24px; }
.thca-laboratorios__media { overflow: hidden; position: relative; }
.thca-laboratorios__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.thca-laboratorios__media--hero { border: 10px solid rgba(255,255,255,.78); border-radius: 48% 52% 42% 58% / 58% 40% 60% 42%; box-shadow: var(--thca-shadow); height: 620px; }
.thca-laboratorios__media--hero img { object-position: 48% 50%; }
.thca-laboratorios__placeholder { align-items: center; background: linear-gradient(145deg, #dcecdf, #f5faf6); color: var(--thca-green-800); display: flex; flex-direction: column; gap: 16px; height: 100%; justify-content: center; min-height: 220px; padding: 30px; text-align: center; width: 100%; }
.thca-laboratorios__placeholder svg { fill: currentColor; height: 60px; opacity: .55; width: 60px; }
.thca-laboratorios__placeholder span { font-size: .75rem; font-weight: 700; letter-spacing: .12em; opacity: .8; text-transform: uppercase; }

.thca-laboratorios__split { align-items: center; display: grid; gap: 72px; grid-template-columns: 1.03fr .97fr; }
.thca-laboratorios__media--intro { border-radius: 42px 8px 42px 8px; box-shadow: var(--thca-shadow); height: 590px; }
.thca-laboratorios__media--intro img { object-position: 55% 50%; }
.thca-laboratorios__intro .thca-laboratorios__content { padding-right: 0; }

.thca-laboratorios__analyses { background: var(--thca-green-50); }
.thca-laboratorios__section-heading { margin: 0 auto 64px; max-width: 840px; text-align: center; }
.thca-laboratorios__section-heading > p:last-child { color: var(--thca-muted); }
.thca-laboratorios__analysis-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.thca-laboratorios__analysis-card { background: var(--thca-white); border: 1px solid var(--thca-border); border-radius: var(--thca-radius-sm); min-height: 330px; padding: 44px 34px; transition: transform .2s ease, box-shadow .2s ease; }
.thca-laboratorios__analysis-card:hover { box-shadow: 0 14px 30px rgba(18,60,46,.08); transform: translateY(-4px); }
.thca-laboratorios__analysis-card h3 { font-size: 1.52rem; }
.thca-laboratorios__analysis-card p { color: var(--thca-muted); font-size: 1rem; line-height: 1.62; }
.thca-laboratorios__icon { align-items: center; background: var(--thca-green-100); border-radius: 50%; color: var(--thca-green-800); display: inline-flex; font-size: .77rem; font-weight: 800; height: 52px; justify-content: center; letter-spacing: .08em; margin-bottom: 28px; width: 52px; }
.thca-laboratorios__evidence { align-items: flex-start; background: var(--thca-green-900); border-radius: var(--thca-radius); color: rgba(255,255,255,.86); display: grid; gap: 30px; grid-template-columns: auto 1fr; margin-top: 44px; padding: 48px 52px; }
.thca-laboratorios__evidence p { margin-bottom: 14px; }
.thca-laboratorios__evidence-mark { align-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; display: flex; font-size: 1.2rem; height: 48px; justify-content: center; width: 48px; }

.thca-laboratorios__inta { background: var(--thca-green-100); padding-bottom: 140px; padding-top: 140px; width: 100%; }
.thca-laboratorios__featured { position: relative; }
.thca-laboratorios__inta-logo { margin-bottom: 30px; max-width: 430px; width: 100%; }
.thca-laboratorios__inta-logo img { display: block; height: auto; max-width: 100%; object-fit: contain; width: 100%; }
.thca-laboratorios__featured-grid { align-items: stretch; background: var(--thca-white); border: 1px solid #c8dfce; border-radius: 30px; box-shadow: 0 30px 70px rgba(18,60,46,.12); display: grid; gap: 0; grid-template-columns: .88fr 1.12fr; overflow: hidden; }
.thca-laboratorios__media--inta { min-height: 620px; }
.thca-laboratorios__media--inta img { object-position: 38% 50%; }
.thca-laboratorios__featured-copy { align-self: center; background: var(--thca-white); padding: 56px 48px; }
.thca-laboratorios__featured-copy h2 { font-size: clamp(2.2rem, 3vw, 3.3rem); }
.thca-laboratorios__featured-copy > p { color: var(--thca-muted); }
.thca-laboratorios__featured-details { align-items: start; background: var(--thca-white); border: 1px solid #c8dfce; border-radius: 22px; box-shadow: 0 16px 42px rgba(18,60,46,.08); display: grid; gap: 36px; grid-template-columns: .85fr 1.45fr auto; margin-top: 28px; padding: 38px 40px; }
.thca-laboratorios__service { border-right: 1px solid var(--thca-border); padding-right: 36px; }
.thca-laboratorios__service h3,
.thca-laboratorios__contact h3,
.thca-laboratorios__official h3 { font-family: var(--thca-sans); font-size: .78rem; letter-spacing: .13em; margin-bottom: 12px; text-transform: uppercase; }
.thca-laboratorios__service p { color: var(--thca-green-800); font-weight: 600; }
.thca-laboratorios__contact { border-right: 1px solid var(--thca-border); padding-right: 36px; }
.thca-laboratorios__contact-person { color: var(--thca-muted); display: grid; font-size: 1rem; font-style: normal; gap: 7px; line-height: 1.55; }
.thca-laboratorios__contact-person strong { color: var(--thca-green-950); font-size: 1.06rem; }
.thca-laboratorios__contact-person a { color: var(--thca-green-800); font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.thca-laboratorios__contact-person a:hover,
.thca-laboratorios__contact-person a:focus { color: var(--thca-green-950); }
.thca-laboratorios__official { min-width: 190px; }
.thca-laboratorios__button { background: var(--thca-green-800); border: 2px solid var(--thca-green-800); border-radius: 999px; color: var(--thca-white) !important; display: inline-flex; font-size: .86rem; font-weight: 700; gap: 10px; letter-spacing: .02em; padding: 13px 23px; text-decoration: none !important; transition: background .2s ease, color .2s ease; }
.thca-laboratorios__button:hover,
.thca-laboratorios__button:focus { background: transparent; color: var(--thca-green-800) !important; }
.thca-laboratorios__button:focus-visible { outline: 3px solid var(--thca-green-300); outline-offset: 3px; }

.thca-laboratorios__network { background: var(--thca-green-50); }
.thca-laboratorios__network-grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
.thca-laboratorios__lab-card { align-items: stretch; background: var(--thca-white); border: 1px solid var(--thca-border); border-radius: var(--thca-radius); display: grid; grid-template-columns: minmax(300px, 34%) minmax(0, 1fr); min-width: 0; overflow: hidden; }
.thca-laboratorios__media--lab { min-height: 0; }
.thca-laboratorios__lab-card-body { display: flex; flex-direction: column; min-width: 0; padding: 44px 46px; }
.thca-laboratorios__lab-kicker { color: var(--thca-green-600); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .13em; margin-bottom: 12px; text-transform: uppercase; }
.thca-laboratorios__lab-card h3 { font-size: 1.7rem; margin-bottom: 12px; overflow-wrap: anywhere; }
.thca-laboratorios__lab-location { color: var(--thca-green-800); font-size: .9rem; font-weight: 700; margin-bottom: 22px; }
.thca-laboratorios__lab-description { color: var(--thca-ink); font-size: 1.03rem; line-height: 1.65; margin-bottom: 26px; }
.thca-laboratorios__lab-details { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 30px; }
.thca-laboratorios__lab-details > div { border-top: 1px solid var(--thca-border); padding-top: 20px; }
.thca-laboratorios__lab-details dt { color: var(--thca-green-800); font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.thca-laboratorios__lab-details dd { color: var(--thca-muted); font-size: .96rem; line-height: 1.65; margin: 8px 0 0; }
.thca-laboratorios__lab-contacts { border-top: 1px solid var(--thca-border); display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }
.thca-laboratorios__lab-link { border: 1px solid var(--thca-border); border-radius: 999px; color: var(--thca-green-800) !important; display: inline-flex; font-size: .78rem; font-weight: 700; line-height: 1.3; max-width: 100%; overflow-wrap: anywhere; padding: 10px 15px; text-decoration: none !important; }
.thca-laboratorios__lab-link--website { background: var(--thca-green-800); border-color: var(--thca-green-800); color: var(--thca-white) !important; gap: 7px; }
.thca-laboratorios__lab-link:hover,
.thca-laboratorios__lab-link:focus { background: var(--thca-green-100); border-color: var(--thca-green-600); color: var(--thca-green-950) !important; }
.thca-laboratorios__lab-link--website:hover,
.thca-laboratorios__lab-link--website:focus { background: var(--thca-green-950); color: var(--thca-white) !important; }
.thca-laboratorios__lab-link:focus-visible { outline: 3px solid var(--thca-green-300); outline-offset: 3px; }
.thca-laboratorios__media--food-control img { object-position: 43% 50%; }
.thca-laboratorios__media--rapela img { object-position: 50% 34%; }
.thca-laboratorios__media--intecso { background: #c52535; }
.thca-laboratorios__media--intecso img { object-fit: contain; object-position: center; }

.thca-laboratorios__clients { background: var(--thca-white); }
.thca-laboratorios__clients-grid { align-items: start; display: grid; gap: 80px; grid-template-columns: .9fr 1.1fr; }
.thca-laboratorios__clients-grid h2 { margin-bottom: 0; }
.thca-laboratorios__clients .thca-laboratorios__content { max-width: 680px; }
.thca-laboratorios__closing { background: var(--thca-green-950); color: var(--thca-white); padding: 96px 0; text-align: center; width: 100%; }
.thca-laboratorios__closing-content { align-items: center; display: flex; flex-direction: column; }
.thca-laboratorios__closing h2 { color: var(--thca-white); font-size: clamp(2.35rem, 4vw, 3.65rem); margin-bottom: 20px; max-width: 900px; }
.thca-laboratorios__closing p { color: rgba(255,255,255,.86); font-size: 1.12rem; margin-bottom: 34px; max-width: 680px; }
.thca-laboratorios__closing-button { background: var(--thca-white); border: 2px solid var(--thca-white); border-radius: 999px; color: var(--thca-green-950) !important; display: inline-flex; font-size: .92rem; font-weight: 700; justify-content: center; line-height: 1.3; min-width: 168px; padding: 15px 28px; text-decoration: none !important; transition: background .2s ease, color .2s ease, transform .2s ease; }
.thca-laboratorios__closing-button:hover { background: var(--thca-green-100); border-color: var(--thca-green-100); color: var(--thca-green-950) !important; transform: translateY(-2px); }
.thca-laboratorios__closing-button:focus { background: var(--thca-green-100); border-color: var(--thca-green-100); color: var(--thca-green-950) !important; }
.thca-laboratorios__closing-button:focus-visible { outline: 3px solid var(--thca-white); outline-offset: 5px; }

@media (max-width: 1100px) {
  .thca-laboratorios h1 { font-size: clamp(3.7rem, 7vw, 5rem); }
  .thca-laboratorios__hero-grid { gap: 52px; grid-template-columns: .95fr 1.05fr; }
  .thca-laboratorios__media--hero { height: 540px; }
  .thca-laboratorios__split { gap: 56px; }
  .thca-laboratorios__media--intro { height: 520px; }
  .thca-laboratorios__analysis-grid { grid-template-columns: repeat(2, 1fr); }
  .thca-laboratorios__featured-copy { padding: 50px 40px; }
  .thca-laboratorios__featured-copy h2 { font-size: 2.15rem; }
  .thca-laboratorios__lab-card { grid-template-columns: minmax(290px, 34%) minmax(0, 1fr); }
  .thca-laboratorios__lab-card-body { padding: 38px 36px; }
}

@media (max-width: 980px) {
  .thca-laboratorios__section { padding: 96px 0; }
  .thca-laboratorios__hero { min-height: auto; padding: 88px 0; }
  .thca-laboratorios__hero-grid { gap: 55px; grid-template-columns: 1fr 1fr; }
  .thca-laboratorios__media--hero { height: 470px; }
  .thca-laboratorios__split { gap: 60px; }
  .thca-laboratorios__media--intro { height: 470px; }
  .thca-laboratorios__analysis-grid { grid-template-columns: repeat(2, 1fr); }
  .thca-laboratorios__analysis-card { min-height: 270px; }
  .thca-laboratorios__featured-grid { grid-template-columns: 1fr; }
  .thca-laboratorios__media--inta { min-height: 480px; }
  .thca-laboratorios__featured-copy { padding: 52px 48px; }
  .thca-laboratorios__featured-details { grid-template-columns: 1fr 1fr; }
  .thca-laboratorios__contact { border-right: 0; padding-right: 0; }
  .thca-laboratorios__official { border-top: 1px solid var(--thca-border); grid-column: 1 / -1; padding-top: 28px; }
  .thca-laboratorios__lab-card { grid-template-columns: minmax(260px, 33%) minmax(0, 1fr); }
  .thca-laboratorios__clients-grid { gap: 64px; }
}

@media (max-width: 820px) {
  .thca-laboratorios { font-size: 17px; }
  .thca-laboratorios__container { padding-left: 22px; padding-right: 22px; }
  .thca-laboratorios__section { padding: 76px 0; }
  .thca-laboratorios__hero { padding: 68px 0 76px; }
  .thca-laboratorios__hero::before { display: none; }
  .thca-laboratorios__hero-grid,
  .thca-laboratorios__split,
  .thca-laboratorios__clients-grid { grid-template-columns: 1fr; }
  .thca-laboratorios__hero-grid { gap: 36px; }
  .thca-laboratorios__hero-copy { max-width: none; }
  .thca-laboratorios h1 { font-size: clamp(3.1rem, 14vw, 4.4rem); }
  .thca-laboratorios h2 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .thca-laboratorios__media--hero { border-width: 7px; height: min(98vw, 450px); }
  .thca-laboratorios__split { gap: 42px; }
  .thca-laboratorios__media--intro { height: 380px; order: 2; }
  .thca-laboratorios__analysis-grid { grid-template-columns: 1fr; }
  .thca-laboratorios__analysis-card { min-height: 220px; padding: 36px 30px; }
  .thca-laboratorios__evidence { grid-template-columns: 1fr; padding: 31px 27px; }
  .thca-laboratorios__inta { padding: 82px 0; }
  .thca-laboratorios__featured-grid { border-radius: 22px; }
  .thca-laboratorios__media--inta { min-height: 340px; }
  .thca-laboratorios__featured-copy { padding: 38px 28px; }
  .thca-laboratorios__featured-details { gap: 26px; grid-template-columns: 1fr; padding: 30px 28px; }
  .thca-laboratorios__service,
  .thca-laboratorios__contact { border-bottom: 1px solid var(--thca-border); border-right: 0; padding-bottom: 26px; padding-right: 0; }
  .thca-laboratorios__official { border-top: 0; grid-column: auto; padding-top: 0; }
  .thca-laboratorios__service p span { display: none; }
  .thca-laboratorios__service p { line-height: 1.9; }
  .thca-laboratorios__lab-card { grid-template-columns: minmax(220px, 33%) minmax(0, 1fr); }
  .thca-laboratorios__lab-card-body { padding: 32px 28px; }
  .thca-laboratorios__clients-grid { gap: 36px; }
  .thca-laboratorios__closing { padding: 68px 0; }
  .thca-laboratorios__closing h2 { font-size: clamp(2.1rem, 10vw, 2.75rem); }
  .thca-laboratorios__closing p { font-size: 1rem; margin-bottom: 28px; }
}

@media (max-width: 720px) {
  .thca-laboratorios__lab-card { grid-template-columns: minmax(0, 1fr); }
  .thca-laboratorios__media--lab { aspect-ratio: 16 / 9; min-height: 0; }
  .thca-laboratorios__media--rapela { aspect-ratio: 4 / 3; }
  .thca-laboratorios__media--intecso { aspect-ratio: 1 / 1; }
}

@media (max-width: 560px) {
  .thca-laboratorios__lab-details { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .thca-laboratorios__lab-card-body { padding: 28px 22px; }
  .thca-laboratorios__lab-contacts { align-items: stretch; flex-direction: column; }
  .thca-laboratorios__lab-link { justify-content: center; text-align: center; width: 100%; }
  .thca-laboratorios__button { justify-content: center; text-align: center; width: 100%; }
  .thca-laboratorios__closing-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .thca-laboratorios__analysis-card,
  .thca-laboratorios__button,
  .thca-laboratorios__closing-button { transition: none; }
}
