/* IberoGlobe Tech · ajuste visual 2026-10-13
 * Capa de presentación: cabecera centrada, escala tipográfica y espaciado.
 * No cambia catálogo, pagos, cookies, formularios ni datos de la sociedad.
 * Se carga después de las hojas existentes para poder retirarla sin migraciones.
 */
:root {
  --te-gutter: clamp(18px, 3.2vw, 52px);
  --te-header: 84px;
}
body.te-site { font-size: 16px; line-height: 1.65; }
.te-site .te-wrap { max-width: 1560px; }

/* Las columnas laterales iguales centran el menú respecto a la página,
   aunque el logo y el botón tengan anchuras diferentes. */
.te-site .te-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  grid-template-areas: "brand nav actions";
  align-items: center;
  min-height: 84px;
  padding-block: 12px;
  gap: 0 20px;
}
.te-site .te-header .te-brand { grid-area: brand; justify-self: start; margin: 0; }
.te-site .te-brand { gap: 14px; }
.te-site .te-brand img { width: 142px; height: auto; max-height: 56px; object-fit: contain; }
.te-site .te-brand > span { padding-left: 14px; gap: 5px; }
.te-site .te-brand strong { font-size: 23px; font-weight: 700; letter-spacing: -.65px; }
.te-site .te-brand small { font-size: 11px; line-height: 1.4; }
.te-site .te-header .te-nav {
  grid-area: nav;
  display: flex !important;
  position: static !important;
  inset: auto;
  order: initial;
  justify-self: center;
  align-items: center;
  justify-content: center;
  flex: none;
  flex-wrap: nowrap;
  width: auto;
  max-height: none !important;
  margin: 0;
  padding: 0 !important;
  gap: clamp(18px, 1.65vw, 28px);
  background: transparent;
  box-shadow: none;
  border: 0 !important;
  transform: none;
}
.te-site .te-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #3d5870;
}
.te-site .te-nav a:hover, .te-site .te-nav a.is-active { color: var(--te-navy); }
.te-site .te-nav a::after { bottom: 3px; height: 2px; border-radius: 2px; }
.te-site .te-header-actions { grid-area: actions; justify-self: end; margin: 0; gap: 10px; }
.te-site .te-header-actions .te-btn {
  min-height: 44px; padding: 11px 15px; gap: 10px; font-size: 13px; white-space: nowrap;
}
.te-site .te-header-actions .te-btn .te-icon { width: 17px; height: 17px; }
.te-site .te-menu-toggle { display: none !important; }

/* Portada con jerarquía, sin títulos desproporcionados. */
.te-site .te-hero { min-height: 540px; }
.te-site .te-hero-inner { padding-block: 62px 68px; gap: 28px; }
.te-site .te-hero-copy { max-width: 750px; }
.te-site .te-hero h1 {
  font-size: clamp(38px, 3.8vw, 60px);
  line-height: 1.10;
  letter-spacing: -.043em;
  margin-bottom: 23px;
  max-width: 750px;
}
.te-site .te-hero-lead { font-size: 17px; line-height: 1.7; max-width: 540px; margin-bottom: 27px !important; }
.te-site .te-eyebrow { font-size: 11px; letter-spacing: 1.55px; margin-bottom: 15px !important; }
.te-site .te-hero-line { margin-top: 32px; font-size: 12px; gap: 15px; }
.te-site .te-actions { gap: 24px; }
.te-site .te-btn, .te-site button.te-btn {
  font-size: 14px; font-weight: 650; line-height: 1.4;
  min-height: 48px; padding: 12px 20px; gap: 14px;
}
.te-site .te-btn .te-icon { width: 18px; height: 18px; }
.te-site .te-text-link { font-size: 14px; line-height: 1.5; gap: 12px; }
.te-site .te-hero-note { min-width: 210px; padding: 20px; gap: 14px; margin-bottom: 28px; }
.te-site .te-hero-note strong { font-size: 21px; }
.te-site .te-hero-note small { font-size: 9px; letter-spacing: 1.15px; }
.te-site .te-note-mark { width: 42px; height: 42px; }
.te-site .te-pathway { padding-block: 22px; gap: 16px; }
.te-site .te-pathway strong { font-size: 15px; line-height: 1.4; }
.te-site .te-pathway small { font-size: 10px; letter-spacing: 1.1px; }
.te-site .te-pathway-icon .te-icon { width: 27px; height: 27px; }

/* Contenido: 16px para lectura y títulos de sección contenidos. */
.te-site .te-section { padding-block: clamp(54px, 4.8vw, 80px); }
.te-site :is(.te-section-head h2, .tp-heading h2, .te-security-copy h2,
  .te-development-copy h2, .te-marketing-copy h2, .te-contact-copy h2, .te-faq h2) {
  font-size: clamp(29px, 2.55vw, 39px);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.te-site .te-section-head { gap: 44px; margin-bottom: 30px; }
.te-site :is(.te-section-head > p, .te-development-copy > p:not(.te-eyebrow),
  .te-marketing-copy > p:not(.te-eyebrow), .te-contact-copy > p:not(.te-eyebrow),
  .te-security-copy > p:not(.te-eyebrow)) { font-size: 16px; line-height: 1.75; }
.te-site .te-tabs { margin-bottom: 26px; padding: 6px; gap: 6px; }
.te-site .te-tabs button { font-size: 14px; min-height: 48px; padding: 10px 12px; }
.te-site .te-tabs .te-icon { width: 19px; height: 19px; }
.te-site .te-panel-intro { min-height: 265px; gap: 32px; margin-bottom: 22px; }
.te-site .te-panel-intro > div:first-child { padding: 28px 6px 28px 30px; }
.te-site .te-panel-intro h3 { font-size: clamp(24px, 2.05vw, 31px); line-height: 1.2; margin-bottom: 15px; }
.te-site .te-panel-intro p:not(.te-eyebrow) { font-size: 15px; line-height: 1.75; }
.te-site .te-panel-photo { min-height: 265px; }
.te-site .te-service-grid { gap: 16px; }
.te-site .te-service-card { padding: 24px 22px 20px; }
.te-site .te-service-top { margin-bottom: 17px; }
.te-site .te-service-card h4 { font-size: 20px; line-height: 1.3; letter-spacing: -.4px; margin-bottom: 11px; }
.te-site .te-service-card > p { font-size: 15px; line-height: 1.7; margin-bottom: 17px; }
.te-site .te-service-detail :is(summary, ul) { font-size: 14px; }
.te-site .te-security-stage summary strong { font-size: 20px; }
.te-site .te-security-stage summary { padding-block: 22px; }
.te-site .te-security-stage > p { font-size: 15px; }
.te-site .te-frame-bottom strong { font-size: 20px; }
.te-site .te-capability-links strong { font-size: 16px; }
.te-site .te-capability-links small { font-size: 13px; }
.te-site .te-marketing-lines > span { font-size: 14px; }
.te-site .te-method-step h3 { font-size: 22px; }
.te-site .te-method-step :is(p, strong) { font-size: 15px; line-height: 1.7; }
.te-site .te-form-card { padding: 30px; }
.te-site .te-form legend { font-size: 24px; line-height: 1.25; }
.te-site .te-form label { font-size: 14px; }
.te-site .te-form label.te-check { font-size: 13px; }
.te-site .te-faq-list summary { font-size: 16px; line-height: 1.55; padding-block: 21px; }
.te-site .te-faq-list p { font-size: 15px; line-height: 1.8; }
.te-site .te-footer-main > p { font-size: 20px; }
.te-site .te-dialog h2 { font-size: 28px; line-height: 1.22; }
.te-site .te-dialog > p { font-size: 16px; }
.te-site .te-dialog > ul li { font-size: 15px; }

/* Las tarifas conservan importes, textos y comportamiento de consulta. */
.te-site .tp-section { padding-block: 62px; }
.te-site .tp-heading { gap: 40px; margin-bottom: 27px; }
.te-site .tp-heading-copy > p { font-size: 15px; line-height: 1.7; }
.te-site .tp-segment-switch { padding: 6px; gap: 8px; border-radius: 11px; }
.te-site .tp-segment-switch button { padding: 14px 18px; border-radius: 7px; gap: 3px 10px; }
.te-site .tp-segment-switch strong { font-size: 15px; }
.te-site .tp-segment-switch small { font-size: 12px; }
.te-site .tp-filters button { min-height: 42px; font-size: 13px; }
.te-site .tp-toolbar { margin-block: 18px; }
.te-site .tp-grid { gap: 20px; }
.te-site .tp-card { padding: 24px; border-radius: 11px; box-shadow: 0 5px 22px #05294a06; }
.te-site .tp-card.tp-featured { padding-top: 22px; }
.te-site .tp-card h3 { font-size: 21px; line-height: 1.3; margin-bottom: 15px; }
.te-site .tp-card-top { margin-bottom: 16px; letter-spacing: .9px; }
.te-site .tp-card-icon { width: 37px; height: 37px; border-radius: 8px; }
.te-site .tp-price > strong { font-size: 40px; letter-spacing: -1.3px; line-height: 1.12; }
.te-site .tp-includes { gap: 10px; margin-block: 17px 21px; }
.te-site .tp-includes li { font-size: 14px; line-height: 1.6; }
.te-site .tp-tax { min-height: 0; line-height: 1.65; }
.te-site .tp-card .te-btn { width: 100%; min-height: 46px; font-size: 14px; padding: 12px 14px; }
.te-site .tp-enterprise h3 { font-size: clamp(25px, 2.25vw, 34px); }
.te-site .tp-tech-head h2 { font-size: 28px; line-height: 1.25; }

@media (max-width: 1179px) {
  .te-site .te-header-inner {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "brand actions" "nav nav";
    min-height: 0; padding-block: 10px 6px; gap: 4px 18px;
  }
  .te-site .te-header .te-nav { width: 100%; gap: 25px; flex-wrap: wrap; }
  .te-site .te-nav a { padding-block: 8px; }
  .te-site .te-hero { min-height: 510px; }
  .te-site .te-hero h1 { font-size: 48px; }
  .te-site .te-hero-note { display: none; }
  .te-site .te-section-head { gap: 30px; }
  .te-site .te-panel-intro { gap: 20px; }
}
@media (max-width: 960px) {
  .te-site .te-hero h1 { font-size: clamp(37px,5.2vw,48px); }
  .te-site .te-panel-intro h3 { font-size: 25px; }
  .te-site .te-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .te-site .tp-card { padding: 21px; }
  .te-site .tp-card.tp-featured { padding-top: 19px; }
  .te-site .tp-card h3 { font-size: 20px; }
  .te-site .tp-price > strong { font-size: 37px; }
  .te-site .te-contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .te-site .te-contact-copy > p:not(.te-eyebrow) { max-width: 640px; }
  .te-site .te-field-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --te-gutter: 22px; }
  .te-site .te-brand { gap: 12px; }
  .te-site .te-brand img { width: 124px; max-height: 49px; }
  .te-site .te-brand > span { padding-left: 12px; gap: 4px; }
  .te-site .te-brand strong { font-size: 22px; }
  .te-site .te-brand small { font-size: 10px; }
  .te-site .te-header .te-nav { gap: 0 18px; }
  .te-site .te-nav a { font-size: 13px; min-height: 42px; }
  .te-site .te-header-actions .te-btn { font-size: 12px; min-height: 42px; padding: 10px 12px; }
  .te-site .te-hero { min-height: 0; }
  .te-site .te-hero-inner { padding-block: 39px 35px; gap: 0; }
  .te-site .te-hero h1 { font-size: clamp(34px,7.7vw,43px); line-height: 1.14; margin-bottom: 21px; }
  .te-site .te-hero-lead { font-size: 16px; line-height: 1.75; margin-bottom: 23px !important; }
  .te-site .te-hero .te-eyebrow { font-size: 10px; letter-spacing: 1.05px; }
  .te-site .te-hero-line { margin-top: 23px; font-size: 11px; gap: 11px; }
  .te-site .te-hero-media { height: 230px; }
  .te-site .te-pathway { padding-block: 17px; gap: 10px; }
  .te-site .te-pathway strong { font-size: 14px; }
  .te-site .te-pathway small { font-size: 9px; }
  .te-site .te-pathway-icon .te-icon { width: 23px; height: 23px; }
  .te-site .te-section, .te-site .tp-section { padding-block: 48px; }
  .te-site :is(.te-section-head h2, .tp-heading h2, .te-security-copy h2,
    .te-development-copy h2, .te-marketing-copy h2, .te-contact-copy h2, .te-faq h2) {
    font-size: 29px; line-height: 1.2; letter-spacing: -.03em;
  }
  .te-site .te-section-head > p { margin-top: 17px; font-size: 15px; }
  .te-site .tp-heading { gap: 16px; }
  .te-site .tp-heading-copy > p { font-size: 15px; }
  .te-site .tp-segment-switch { padding: 5px; gap: 4px; }
  .te-site .tp-segment-switch button { padding: 12px 5px; min-height: 51px; }
  .te-site .tp-segment-switch strong { font-size: 13px; }
  .te-site .tp-filters { gap: 7px; }
  .te-site .tp-filters button { font-size: 12px; padding: 9px 12px; min-height: 42px; }
  .te-site .tp-card { padding: 23px; }
  .te-site .tp-card.tp-featured { padding-top: 21px; }
  .te-site .tp-card h3 { font-size: 21px; }
  .te-site .tp-price > strong { font-size: 39px; }
  .te-site .tp-enterprise { padding: 25px; }
  .te-site .tp-enterprise h3 { font-size: 27px; }
  .te-site .te-panel-intro { gap: 0; }
  .te-site .te-panel-intro > div:first-child { padding: 24px; }
  .te-site .te-panel-intro h3 { font-size: 25px; }
  .te-site .te-panel-photo { min-height: 210px; height: 210px; }
  .te-site .te-tabs button { font-size: 13px; min-height: 48px; padding: 10px; }
  .te-site .te-service-card h4 { font-size: 20px; }
  .te-site .te-service-card > p { font-size: 15px; }
  .te-site .te-form-card { padding: 25px; }
  .te-site .te-form legend { font-size: 23px; }
  .te-site .te-form :is(input,select,textarea) { font-size: 16px; }
  .te-site .te-security-stage summary strong { font-size: 19px; }
  .te-site .te-marketing-lines > span { font-size: 14px; }
  .te-site .tp-tech-head h2 { font-size: 25px; }
}
@media (max-width: 599px) {
  .te-site .te-header-actions > .te-btn { display: none; }
  .te-site .te-header-inner { grid-template-columns: 1fr; grid-template-areas: "brand" "nav"; row-gap: 5px; }
  .te-site .te-header-actions { display: none; }
  .te-site .te-header .te-brand { justify-self: start; }
  .te-site .te-header .te-nav { gap: 0 12px; }
  .te-site .te-nav a { font-size: 13px; }
  .te-site .te-btn, .te-site button.te-btn { font-size: 14px; }
  .te-site .te-hero .te-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .te-site .te-hero .te-btn { width: 100%; justify-content: space-between; }
  .te-site .te-pathway strong { font-size: 13px; }
  .te-site .te-service-grid, .te-site #panel-desarrollo .te-service-grid, .te-site #panel-datos .te-service-grid { grid-template-columns: 1fr; }
  .te-site .te-field-grid { grid-template-columns: 1fr; }
  .te-site .te-footer-links > span, .te-site .te-footer-note { overflow-wrap: anywhere; white-space: normal; }
}
@media (max-width: 379px) {
  :root { --te-gutter: 16px; }
  .te-site .te-header .te-nav { gap: 0 6px; }
  .te-site .te-nav a { font-size: 12px; }
  .te-site .te-hero h1 { font-size: 33px; }
  .te-site .te-hero-line { font-size: 10px; gap: 8px; }
  .te-site .te-pathway > .te-icon { display: none; }
  .te-site .te-form-card { padding: 22px 18px; }
  .te-site .tp-card { padding-inline: 21px; }
}
