/*
Theme Name: GTP Global Traductores Perú
Theme URI: https://globaltraductorespe.com
Author: GLOBAL TRADUCTORES PERU GTP SAC
Description: Tema corporativo de GLOBAL TRADUCTORES PERU GTP SAC. Cotización directa por WhatsApp, banderas de idiomas, secciones Nosotros, Misión y Visión, Servicios, Sectores y Únete, todo editable desde Apariencia > Personalizar > Opciones GTP.
Version: 1.5.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mape
Tags: business, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
	--teal: #00669f;
	--teal-dark: #003854;
	--cyan: #007fc8;
	--cyan-soft: #00466c;
	--yellow: #d5f0ff; /* acento claro (celeste de la tarjeta) */
	--yellow-strong: #b9e6ff;
	--navy: #032e46;
	--ink: #003854;
	--text: #354e5b;
	--muted: #536b78;
	--light: #e9f6fd;
	--card: #eef8fe;
	--white: #ffffff;
	--whatsapp: #79ceff;
	--radius: 8px;
	--shadow: 0 10px 30px rgba(0, 56, 84, .14);
	--font-head: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--cyan); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px;
	background: var(--white); padding: 10px 16px; border-radius: var(--radius);
}

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border-radius: 6px; font-weight: 600; font-size: 14px;
	border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-body);
	line-height: 1.2;
}
.btn .icon { width: 14px; height: 14px; }
.btn--outline-light { border-color: var(--cyan); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--cyan); color: var(--white); }
.btn--outline { border-color: var(--cyan); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--cyan); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.services__head .btn--yellow, .error-404 .btn--yellow { background: var(--teal-dark); color: var(--white); }
.services__head .btn--yellow:hover, .error-404 .btn--yellow:hover { background: var(--teal); color: var(--white); }
.btn--yellow:hover { background: var(--yellow-strong); color: var(--ink); }

/* ---------- Topbar ---------- */
.topbar { background: var(--white); font-size: 12.5px; color: var(--ink); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 16px; }
.topbar__social { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__social a { color: #6a7a82; display: flex; }
.topbar__social a:hover { color: var(--teal); }
.topbar__social .icon { width: 13px; height: 13px; }
.topbar__contact { display: flex; align-items: center; gap: 24px; }
.topbar__contact a { color: var(--ink); display: inline-flex; align-items: center; gap: 9px; }
.topbar__contact a:hover { color: var(--teal); }
.topbar__contact .icon { width: 13px; height: 13px; color: #6a7a82; }
.btn-whatsapp {
	background: var(--whatsapp); color: var(--ink) !important; padding: 5px 12px;
	border-radius: 5px; font-weight: 500;
}
.btn-whatsapp:hover { background: #a5dfff; }

/* ---------- Header ---------- */
.site-header { background: var(--teal); z-index: 50; }
.site-header--overlay { position: absolute; left: 0; right: 0; background: transparent; }
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: 96px; }
.site-brand { flex-shrink: 0; }
.site-brand img { max-height: 54px; width: auto; }
.brand-text { display: inline-flex; flex-direction: column; color: var(--white); line-height: 1; }
.brand-text:hover { color: var(--white); }
.brand-text__name { font-family: var(--font-head); font-weight: 800; font-size: 40px; letter-spacing: -1px; }
.brand-text__tag { font-size: 8.5px; font-weight: 700; margin-top: 4px; letter-spacing: .1px; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; align-items: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	color: var(--white); font-weight: 600; font-size: 14px; display: inline-flex;
	align-items: center; gap: 6px; padding: 10px 0;
}
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li > a:hover { color: var(--yellow); }
.main-nav .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px;
}
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0;
	min-width: 190px; background: rgba(214, 233, 252, .92); backdrop-filter: blur(4px);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 60;
	box-shadow: var(--shadow);
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 12px 18px; color: var(--teal-dark); font-size: 13px; font-weight: 600; }
.main-nav .sub-menu a:hover { background: rgba(255,255,255,.4); color: var(--ink); }

.header-cta { padding: 9px 16px; font-size: 13.5px; flex-shrink: 0; }

.nav-toggle {
	display: none; margin-left: auto; background: transparent; border: 1.5px solid var(--cyan);
	color: var(--white); width: 44px; height: 40px; border-radius: 6px; cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; color: var(--white); padding: 150px 0 40px;
	background-color: var(--teal); background-size: cover; background-position: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 56, 84, .90), rgba(0, 102, 159, .78)); }
.hero--noimg { background-image: radial-gradient(ellipse at 85% 10%, #279cd8 0%, transparent 45%), linear-gradient(135deg, #003854 0%, #00669f 55%, #007fc8 100%); }
.hero--noimg::before { background: transparent; }
.hero > .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.hero__content { padding-top: 0; }
.hero__title { color: var(--white); font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 22px; }
.hero__text { font-size: 16px; max-width: 470px; margin-bottom: 30px; color: rgba(255,255,255,.95); }
.hero__clients { margin-top: 70px; }
.hero__clients-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.hero__logos { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.hero__logos img { max-height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .85; }

.quote-card {
	background: var(--cyan-soft); border-radius: var(--radius); padding: 26px 24px 30px;
	box-shadow: 0 20px 50px rgba(0,0,0,.15);
}
.quote-card__title { color: var(--yellow-strong); font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.quote-card__text { font-size: 14.5px; color: var(--white); margin-bottom: 20px; }
.quote-form { display: grid; gap: 12px; }
.quote-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field, .field-select {
	width: 100%; height: 46px; border: 0; border-radius: 5px; padding: 0 14px;
	font-family: var(--font-body); font-size: 14.5px; color: var(--ink); background: var(--white);
}
.field::placeholder { color: #737f86; }
.field-select {
	appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%230b3341'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}
textarea.field { height: 90px; padding: 12px 14px; resize: vertical; }
.field:focus, .field-select:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.quote-form .btn { width: 100%; height: 46px; margin-top: 2px; }
.hp-field { position: absolute; left: -9999px; }

.notice { padding: 12px 14px; border-radius: 5px; font-size: 14px; margin-bottom: 14px; }
.notice--ok { background: #e8f9ee; color: #14633a; }
.notice--error { background: #fdecec; color: #8a1f1f; }

/* ---------- Etiquetas de sección ---------- */
.eyebrow { display: block; color: var(--cyan); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; font-weight: 500; }
.section-title { font-size: clamp(32px, 4vw, 46px); font-weight: 600; letter-spacing: -.5px; }
.section { padding: 90px 0; }

/* ---------- Nosotros ---------- */
.about { position: relative; overflow: hidden; }
.about::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 35%; right: 0; background: var(--light);
}
.about .container { position: relative; }
.about__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: start; }
.about__body { color: var(--text); font-size: 15px; }
.about__body strong { color: var(--ink); }
.about__body .btn { margin-top: 6px; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about__media .ph:nth-child(2) { margin-top: 0; aspect-ratio: 3 / 5; }
.ph {
	border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4.6;
	background: linear-gradient(145deg, #cfe0f3, #a5c3e6);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Servicios ---------- */
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.services__head p { margin: 0; font-size: 14px; color: var(--text); }
.services__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.services__media { display: grid; gap: 24px; }
.services__media .ph { aspect-ratio: 4 / 3.2; }
.services__list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.service-card a {
	display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 14px;
	background: var(--card); border-radius: 6px; padding: 20px 20px; color: var(--ink); height: 100%;
}
.service-card a:hover { background: #dcebfb; color: var(--ink); transform: translateX(3px); }
.service-card__icon { color: var(--teal); display: flex; }
.service-card__icon .icon { width: 22px; height: 22px; }
.service-card h3 { font-size: 17px; margin: 0 0 3px; font-weight: 700; }
.service-card p { font-size: 13px; color: var(--text); margin: 0; line-height: 1.5; }
.service-card__arrow { color: var(--teal); display: flex; }
.service-card__arrow .icon { width: 16px; height: 16px; }

/* ---------- Sectores ---------- */
.sectors { background: var(--light); }
.sectors__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector {
	background: var(--white); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px;
	align-items: flex-start; box-shadow: 0 4px 16px rgba(14,43,89,.06);
}
.sector__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--card); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sector__icon .icon { width: 22px; height: 22px; }
.sector h3 { font-size: 18px; margin-bottom: 4px; }
.sector p { font-size: 14px; margin: 0; }

/* ---------- Únete ---------- */
.join {
	position: relative; color: var(--white); padding: 40px 0 0; background-color: #003854;
	background-size: cover; background-position: center;
}
.join::before { content: ""; position: absolute; inset: 0; background: rgba(0, 45, 68, .84); }
.join--noimg {
	background-image:
		repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 70px),
		repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 70px),
		linear-gradient(135deg, #00669f, #003854);
}
.join .container { position: relative; z-index: 2; }
.join__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: start; padding-bottom: 80px; }
.join .eyebrow { color: var(--cyan); }
.join__title { color: var(--white); font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; }
.join__text { font-size: 14.5px; font-weight: 500; line-height: 1.6; margin-bottom: 26px; }
.newsletter {
	background: var(--white); border-radius: var(--radius); padding: 26px 24px; color: var(--text);
	box-shadow: var(--shadow); margin-top: -12px;
}
.newsletter h3 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.newsletter p { font-size: 13.5px; color: var(--muted); }
.newsletter .field { border: 2px solid #9aa4aa; border-radius: 5px; margin-bottom: 14px; height: 42px; }
.newsletter .btn { width: 100%; height: 42px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); font-size: 13.5px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr .9fr 1.2fr; gap: 50px; padding: 50px 0 40px; }
.site-footer .brand-text__name { font-size: 32px; }
.footer__desc { margin-top: 18px; max-width: 300px; }
.footer__title { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.footer-menu, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu .sub-menu { display: none; }
.footer-menu a { color: rgba(255,255,255,.82); font-weight: 500; }
.footer-menu a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer__contact .icon { width: 14px; height: 14px; margin-top: 3px; color: rgba(255,255,255,.7); }
.footer__contact a { color: rgba(255,255,255,.82); }
.footer__social { display: flex; gap: 18px; list-style: none; padding: 0; margin: 16px 0 0; }
.footer__social a { color: rgba(255,255,255,.7); display: flex; }
.footer__social .icon { width: 14px; height: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 22px 0; font-size: 13px; }

/* ---------- Páginas internas / blog ---------- */
.page-hero { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: var(--white); padding: 70px 0; }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4vw, 48px); margin: 0; }
.page-hero p { margin: 10px 0 0; opacity: .9; }
.content-area { padding: 70px 0; }
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content h2 { font-size: 30px; margin-top: 1.4em; }
.entry-content h3 { font-size: 23px; margin-top: 1.3em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { border-left: 4px solid var(--cyan); margin: 1.5em 0; padding: .4em 0 .4em 20px; font-style: italic; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(5,42,56,.08); display: flex; flex-direction: column; }
.post-card__thumb { aspect-ratio: 16/10; background: linear-gradient(145deg, #cfe0f3, #a5c3e6); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.post-card h2 { font-size: 21px; margin-bottom: 10px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--teal); }
.post-card p { font-size: 14.5px; flex: 1; }
.read-more { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.read-more .icon { width: 14px; height: 14px; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; border-radius: 5px; background: var(--card); color: var(--ink); }
.pagination .current { background: var(--teal); color: var(--white); }
.single-thumb { max-width: 900px; margin: 0 auto 40px; border-radius: var(--radius); overflow: hidden; }
.post-nav { max-width: 780px; margin: 50px auto 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; }
.comments-area { max-width: 780px; margin: 50px auto 0; }
.comments-area input[type=text], .comments-area input[type=email], .comments-area input[type=url], .comments-area textarea {
	width: 100%; border: 1px solid #c7d3d8; border-radius: 5px; padding: 10px 12px; font-family: inherit;
}
.comments-area input[type=submit] { background: var(--teal); color: var(--white); border: 0; padding: 12px 22px; border-radius: 6px; font-weight: 600; cursor: pointer; }
.error-404 { text-align: center; padding: 120px 0; }
.error-404 h1 { font-size: 90px; color: var(--teal); }

/* ---------- Foto Nosotros ---------- */
.about__media--single { grid-template-columns: 1fr; }
.about__photo { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 56, 84, .22); border: 4px solid var(--white); }
.about__photo img { width: 100%; height: auto; }
.about__grid { align-items: center; }

/* ---------- Banderas ---------- */
.hero__langs { margin-top: 56px; }
.flags { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.flag {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 40px;
	background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 14px; font-weight: 600;
}
.flag__img { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); display: block; }

/* ---------- Cotización WhatsApp ---------- */
.quote-form .btn .icon { width: 18px; height: 18px; }
.quote-form__note { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.9); text-align: center; }

/* ---------- Misión y Visión ---------- */
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--card); border-radius: var(--radius); padding: 36px 32px; border-top: 4px solid var(--cyan); }
.mv-card h3 { font-size: 26px; margin-bottom: 10px; }
.mv-card p { margin: 0; font-size: 15.5px; }
.mv-card__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mv-card__icon .icon { width: 26px; height: 26px; }
.mv-card--dark { background: var(--teal-dark); border-top-color: var(--yellow); }
.mv-card--dark h3 { color: var(--yellow); }
.mv-card--dark p { color: rgba(255,255,255,.92); }
.mv-card--dark .mv-card__icon { background: rgba(255,255,255,.12); color: var(--yellow); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
	background: var(--whatsapp); color: var(--white); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float:hover { color: var(--white); transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }

@media (max-width: 640px) {
	.mv__grid { grid-template-columns: 1fr; }
	.hero__langs { margin-top: 36px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero__grid, .about__grid, .join__grid { grid-template-columns: 1fr; gap: 40px; }
	.about::before { left: 0; top: 50%; }
	.services__grid { grid-template-columns: 1fr; }
	.services__media { grid-template-columns: 1fr 1fr; }
	.posts-grid, .sectors__grid { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.newsletter { margin-top: 0; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: var(--teal-dark);
		max-height: 0; overflow: hidden; transition: max-height .3s ease; margin: 0;
	}
	.main-nav.is-open { max-height: 80vh; overflow-y: auto; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
	.main-nav .menu > li > a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; display: none; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { color: rgba(255,255,255,.85); padding-left: 16px; }
	.site-header__inner { position: relative; min-height: 80px; }
	.site-header { position: relative; }
	.site-header--overlay { position: absolute; }
	.hero { padding-top: 120px; }
}
@media (max-width: 640px) {
	.topbar__contact .topbar__email span { display: none; }
	.topbar__social { gap: 14px; }
	.topbar__contact { gap: 14px; }
	.section { padding: 64px 0; }
	.about__media, .services__media { grid-template-columns: 1fr; }
	.about__media .ph:nth-child(2) { display: none; }
	.quote-form .row-2 { grid-template-columns: 1fr; }
	.posts-grid, .sectors__grid, .footer__grid { grid-template-columns: 1fr; }
	.brand-text__name { font-size: 32px; }
	.hero__clients { margin-top: 40px; }
}

/* Credencial y marca de agua */
.about { background: #f0f9fe; }
.about::before {
    inset: 0; opacity: .065; pointer-events: none;
    background: url("assets/img/colegio-traductores-peru.png") no-repeat 5% 32% / min(70vw, 760px);
    mix-blend-mode: multiply;
}
.about__credential {
    grid-column: 1 / -1; display: flex; align-items: center; gap: 16px;
    padding: 16px; background: white; border-radius: 8px; border: 1px solid #dce6f0;
}
.about__credential img { width: min(33%,150px); height: auto; }
.about__credential p { margin: 0; font-size: 14px; line-height: 1.45; }
.about__media { gap: 16px; }
.about__media .about__credential { order: 1; }

/* Catálogo fotográfico */
.services__grid { grid-template-columns: minmax(0, 1fr); }
.services__media { grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); }
.services__media .ph { aspect-ratio: 3 / 1; }
.services__list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.service-card a {
    position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto 1fr; gap: 0; align-items: start;
    overflow: hidden; padding: 0; background: white; border: 1px solid #d8e3ee; border-radius: 12px;
}
.service-card__photo { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-card a > div { padding: 20px 0 22px 20px; }
.service-card h3 { font-size: 21px; line-height: 1.15; margin-bottom: 8px; }
.service-card p { font-size: 15px; }
.service-card__icon { position: absolute; top: 12px; left: 12px; padding: 8px; background: #fff; border-radius: 50%; }
.service-card__arrow { margin: 22px 15px 0 9px; }
.service-card a:hover { transform: none; background: #f0f9fe; }
:focus-visible { outline: 3px solid #007fc8; outline-offset: 3px; }
.hero__grid > *, .quote-form > *, .footer__grid > * { min-width: 0; }
.footer__grid, .about__body, .service-card, .entry-content { overflow-wrap: anywhere; }
@media (max-width: 1024px) {
    .services__list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
    .about__media { width: min(100%,640px); }
}
@media (max-width: 960px) {
    .main-nav:not(.is-open) { visibility: hidden; }
    .nav-toggle { min-width: 44px; min-height: 44px; }
    .field, .field-select { font-size: 16px; }
}
@media (max-width: 640px) {
    .services__list { grid-template-columns: 1fr; }
    .section { padding-block: 48px; }
    .hero__title { font-size: clamp(32px,8vw,44px); }
    .quote-card { padding: 22px 16px; }
    .flag { font-size: 13px; padding: 5px 10px; }
    .flags { gap: 8px; }
    .topbar__inner, .topbar__contact { flex-wrap: wrap; }
    .about::before { background-position: center 18%; background-size: 90vw; }
    .wa-float { width: 46px; height: 46px; bottom: max(10px,env(safe-area-inset-bottom)); right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s !important; }
}

.tcd { background: #edf8fe; }
.tcd__grid { display: grid; grid-template-columns: minmax(200px,.75fr) minmax(0,1.25fr); gap: clamp(24px,5vw,66px); align-items: center; }
.tcd figure { margin: 0; text-align: center; }
.tcd figure img { width: min(100%,340px); margin: 0 auto; box-shadow: 0 10px 28px #18385222; }
.tcd figcaption { margin-top: 12px; font-size: 14px; }
.tcd ol { padding-inline-start: 1.4em; }
.tcd li { padding: 4px 0 4px 3px; }
.tcd li::marker { font-weight: 700; color: var(--teal); }
.gtp-clientes__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: 24px; margin: 26px 0; }
.gtp-clientes article { border-top: 3px solid var(--teal); padding-top: 18px; }
.gtp-clientes h3 { font-size: 22px; }
.gtp-clientes__logos { display:flex; flex-wrap:wrap; align-items:center; gap:24px; }
.gtp-clientes__logos img { max-width:150px; max-height:60px; object-fit:contain; }
.quote-form > label:not(.screen-reader-text) { color: white; margin-bottom: -6px; font-size: 14px; }
@media (max-width: 680px) {
    .tcd__grid { grid-template-columns: minmax(0,1fr); }
    .tcd figure img { max-width: 280px; }
}

.gtp-wordmark { display: inline-flex; padding: 8px 12px; background: white; border-radius: 6px; }
.gtp-wordmark img { width: clamp(145px,14vw,190px); height: auto; }
.hero { padding-bottom: 0; }
.hero__grid { align-items: stretch; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(20px,4vw,56px); }
.hero__content { padding-bottom: clamp(24px,4vw,55px); }
.hero__portrait { min-height: 420px; background: url("assets/img/retrato-jorge.webp") center 22% / cover no-repeat; border-radius: 120px 12px 0 0; }
.gtp-quote { padding: 36px 0; background: #f0f9fe; }
.gtp-quote .quote-card { display: grid; grid-template-columns: 1fr 1.2fr; align-content: start; gap: 0 48px; padding: clamp(22px,4vw,54px); }
.gtp-quote .quote-card__title { grid-column: 1; align-self: end; }
.gtp-quote .quote-card__text { grid-column: 1; align-self: start; }
.gtp-quote .quote-form { grid-column: 2; grid-row: 1 / 3; }
.gtp-training { margin: 18px 0 22px; padding: 20px; border-left: 4px solid #007fc8; background: white; }
.gtp-training h3 { font-size: 22px; line-height: 1.2; }
.gtp-training a { font-weight: 600; text-decoration: underline; }
.gtp-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.gtp-consent input { flex: none; margin-top: 4px; }
@media (max-width: 700px) {
    .hero__grid { grid-template-columns: 1fr; gap: 12px; }
    .hero__portrait { min-height: 0; height: clamp(270px,85vw,430px); background-position: center 18%; border-radius: 60px 8px 0 0; }
    .gtp-quote .quote-card { display: block; }
}

.gtp-quote-intro { align-self:center; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:clamp(12px,2vw,26px); }
.gtp-country-list { display:grid; gap:12px; margin:0; padding:0 14px 0 0; border-right:1px solid #78c9f4; list-style:none; }
.gtp-country-list li { height:26px; display:flex; align-items:center; justify-content:center; }
.gtp-country-list img { width:34px; height:25px; object-fit:contain; }
.gtp-quote .quote-form { grid-row:1; }
.about__credential a, .tcd p a { text-decoration:underline; text-underline-offset:3px; }
.gtp-footer-extras { border-top:1px solid #ffffff32; padding:24px 0; display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between; }
.gtp-footer-extras nav, .gtp-piano { display:grid; gap:8px; }
.gtp-footer-extras a { color:#d5f0ff; text-decoration:underline; }
.gtp-piano { max-width:100%; }
.gtp-piano audio { max-width:100%; width:240px; height:38px; }
.wa-float { color:var(--ink); }
@media (max-width:700px) {
    .gtp-quote-intro { margin-bottom:22px; }
    .gtp-country-list { gap:4px; }
    .gtp-country-list li { height:19px; }
    .gtp-country-list img { width:26px; height:19px; }
}

.gtp-workshop { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,230px) minmax(0,1fr); align-items:center; gap:clamp(20px,4vw,52px); margin:0; padding:clamp(16px,3vw,32px); background:white; border-radius:12px; }
.gtp-workshop img { width:100%; height:auto; border-radius:6px; }
.gtp-workshop figcaption { max-width:58ch; }
.gtp-workshop h3 { font-size:clamp(22px,3vw,32px); }
@media(max-width:600px) { .gtp-workshop { grid-template-columns:minmax(0,1fr); } .gtp-workshop img { max-width:280px; justify-self:center; } }

@media (min-width:601px) { .gtp-workshop--penal {grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);} }
.gtp-workshop--penal img {max-width:100%;}

.gtp-academico dt {font-weight:700;color:var(--ink);} .gtp-academico dd {margin:0 0 1em;} .gtp-academico > a {display:block;}

.gtp-service-interpreting { margin-top: 32px; background: var(--card); }
