/* ============================================================
   GConnect Panamá — Rediseño
   Sistema de diseño basado en el sitio original
   Paleta: #FFA000 / #113163 / #040A19 / #0056B3 / #F7F7F8
   ============================================================ */
:root {
  --orange: #ffa000;
  --orange-dark: #ff8f00;
  --orange-light: #ffb300;
  --navy: #113163;
  --dark: #040a19;
  --blue: #0056b3;
  --blue-dark: #004494;
  --light: #f7f7f8;
  --gray: #656871;
  --gray-light: #afb0b5;
  --white: #ffffff;
  --font-head: 'Nunito Sans', 'Open Sans', sans-serif;
  --font-cond: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(4, 10, 25, .12);
  --container: 1350px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--orange); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

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

.section { padding: 90px 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: #dfe5f0; }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--navy h4, .section--navy h5 { color: #fff; }
.section--dark { background: var(--dark); color: #dfe3ea; }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark h5 { color: #fff; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; font-weight: 800; }
.section-lead { max-width: 760px; font-size: 16.5px; }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 16px;
  padding: 14px 40px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: all .3s ease; white-space: nowrap;
}
.btn--primary { background: var(--orange); color: var(--dark); }
.btn--primary:hover { background: var(--dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--orange); color: var(--dark); transform: translateY(-2px); }

/* ============ TOP BAR ============ */
.topbar { background: var(--navy); color: #fff; font-size: 14px; padding: 10px 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .tb-addr { display: inline-flex; align-items: center; gap: 9px; }
.topbar .tb-addr svg { width: 15px; height: 15px; fill: var(--orange); flex-shrink: 0; }
.topbar .tb-social { display: flex; align-items: center; gap: 8px; }
.topbar .tb-social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); transition: all .3s ease;
}
.topbar .tb-social a:hover { background: var(--orange); transform: translateY(-2px); }
.topbar .tb-social svg { width: 14px; height: 14px; fill: #fff; }

/* ============ HEADER ============ */
.header-main { background: #fff; }
.header-main .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 14px; padding-bottom: 14px;
}
.logo img { height: 64px; width: auto; }
.header-contact { display: flex; align-items: center; gap: 38px; }
.hc-block { display: flex; align-items: center; gap: 14px; }
.hc-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hc-icon svg { width: 22px; height: 22px; fill: #fff; }
.hc-text { display: flex; flex-direction: column; line-height: 1.35; }
.hc-text small { color: var(--orange); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.hc-text strong { color: var(--navy); font-size: 16.5px; font-weight: 700; }
a.hc-block:hover .hc-text strong { color: var(--orange); }

.header-nav {
  background: #fff; border-top: 1px solid #e8ebf1;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 14px rgba(4, 10, 25, .07);
}
.header-nav .container { display: flex; align-items: center; justify-content: space-between; }
.main-nav > ul { display: flex; align-items: stretch; list-style: none; }
.main-nav > ul > li { position: relative; display: flex; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 20px;
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px;
  color: var(--dark); border-top: 3px solid transparent;
}
.main-nav > ul > li > a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.main-nav > ul > li > a:hover { color: var(--orange); }
.main-nav > ul > li > a.active { color: var(--dark); border-top-color: var(--orange); }
.main-nav .has-sub > a::after {
  content: ""; display: inline-block; margin-left: 2px;
  border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px);
}
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 320px;
  background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); list-style: none; padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .28s ease; border-top: 3px solid var(--orange); z-index: 101;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a { display: block; padding: 12px 24px; color: var(--dark); font-size: 15px; font-weight: 600; }
.submenu a:hover { background: var(--light); color: var(--orange); padding-left: 30px; }

.nav-search { display: flex; align-items: center; gap: 14px; }
.nav-search .vdiv { width: 1px; height: 26px; background: #dfe3ea; }
.search-toggle {
  background: none; border: 0; cursor: pointer; padding: 8px; color: var(--dark);
  display: inline-flex; transition: color .25s;
}
.search-toggle:hover { color: var(--orange); }
.search-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.header-actions { display: none; }
.burger span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(4, 10, 25, .92);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 110px 24px 24px; opacity: 0; visibility: hidden; transition: all .3s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: min(640px, 100%); }
.search-box input {
  width: 100%; background: transparent; border: 0; border-bottom: 3px solid var(--orange);
  color: #fff; font-size: 30px; font-family: var(--font-head); padding: 10px 4px; outline: none;
}
.search-box input::placeholder { color: rgba(255,255,255,.4); }
.search-results { margin-top: 18px; max-height: 50vh; overflow-y: auto; }
.search-results a {
  display: block; padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.search-results a:hover { background: rgba(255,255,255,.06); }
.search-results a strong { display: block; font-family: var(--font-head); font-size: 17px; }
.search-results a span { font-size: 13.5px; color: var(--gray-light); }
.search-close {
  position: absolute; top: 30px; right: 36px; background: none; border: 0;
  color: #fff; font-size: 44px; cursor: pointer; line-height: 1;
}
.search-close:hover { color: var(--orange); }
.search-empty { color: var(--gray-light); padding: 16px 6px; }

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(4, 10, 25, .6); z-index: 198;
  opacity: 0; visibility: hidden; transition: all .3s ease;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: #fff; z-index: 199; transform: translateX(105%);
  transition: transform .38s cubic-bezier(.22, .9, .3, 1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #eee; }
.drawer-head h4 { font-size: 19px; }
.drawer-close { background: none; border: 0; font-size: 30px; cursor: pointer; color: var(--navy); line-height: 1; }
.drawer nav { padding: 10px 0; }
.drawer nav a.drawer-link {
  display: block; padding: 13px 24px; color: var(--dark);
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
}
.drawer nav a.drawer-link:hover { color: var(--orange); background: var(--light); }
.drawer .drawer-sub { background: var(--light); }
.drawer .drawer-sub a { display: block; padding: 10px 24px 10px 40px; color: var(--gray); font-size: 14px; font-weight: 600; }
.drawer .drawer-sub a:hover { color: var(--orange); }
.drawer-contact { padding: 20px 24px 30px; border-top: 1px solid #eee; margin-top: auto; }
.drawer-contact h4 { font-size: 16px; margin: 14px 0 4px; }
.drawer-contact p, .drawer-contact a { font-size: 14px; color: var(--gray); }
.drawer-contact a:hover { color: var(--orange); }
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }

/* ============ HERO (split) ============ */
.hero { display: flex; min-height: 640px; background: var(--navy); position: relative; overflow: hidden; }
.hero__panel {
  flex: 0 0 52%; display: flex; flex-direction: column; justify-content: center;
  padding: 90px 40px 90px max(24px, calc((100vw - var(--container)) / 2 + 24px));
  position: relative; z-index: 2; color: #fff;
}
.hero__panel .kicker { color: var(--orange); }
.hero h1 {
  color: #fff; font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 5.6vw, 76px); line-height: 1.05; margin-bottom: 20px;
}
.hero__rule { width: 90px; height: 4px; background: var(--orange); margin-bottom: 22px; }
.hero p.hero__sub { font-size: clamp(18px, 2vw, 24px); font-weight: 300; color: #eef1f7; margin-bottom: 36px; }
.hero__media { flex: 1; position: relative; min-height: 480px; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__wedge {
  position: absolute; top: 0; right: 0; bottom: 0; width: 120px; z-index: 2;
  background: var(--navy); clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: .9;
}

/* ============ SINITCP INTRO ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sinitcp-intro h2 { text-transform: uppercase; font-weight: 800; }
.sinitcp-intro p { margin-bottom: 16px; }
.text-link {
  display: inline-flex; align-items: center; gap: 0; margin-top: 18px;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; font-size: 15px; color: var(--dark);
}
.text-link::before { content: ""; width: 5px; height: 22px; background: var(--orange); margin-right: 12px; transition: height .3s; }
.text-link:hover { color: var(--orange); }
.text-link:hover::before { height: 30px; }
.img-frame { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; transition: transform .6s ease; }
.img-frame:hover img { transform: scale(1.05); }

/* ============ FEATURES ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.feature-card {
  background: var(--light); border-radius: var(--radius);
  padding: 44px 34px; text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: #fff; }
.feature-card__icon {
  width: 74px; height: 74px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.feature-card__icon svg { width: 32px; height: 32px; fill: #fff; }
.feature-card h4 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { font-size: 15px; }

/* ============ TABS ============ */
.tabs-head { text-align: left; margin-bottom: 8px; }
.tabs-head h3 { font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; font-weight: 800; }
.tabs-nav { display: flex; gap: 34px; flex-wrap: wrap; margin: 26px 0 46px; border-bottom: 1px solid #e3e6ec; }
.tab-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  color: var(--gray-light); background: none; border: 0; cursor: pointer;
  padding: 14px 2px; position: relative; transition: color .3s ease;
}
.tab-btn::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 3px;
  background: var(--orange); transition: right .3s ease;
}
.tab-btn:hover { color: var(--dark); }
.tab-btn.active { color: var(--dark); }
.tab-btn.active::after { right: 0; }
.tab-panel { display: none; animation: fadeUp .5s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px);} to { opacity: 1; transform: none;} }
.tab-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.tab-grid .img-frame { order: -1; }
.tab-grid p { margin-bottom: 14px; }
.numbered-list { list-style: none; margin-top: 24px; counter-reset: tabnum; }
.numbered-list li {
  counter-increment: tabnum; position: relative; padding: 16px 0 16px 64px;
  border-bottom: 1px solid #e8ebf1;
}
.numbered-list li::before {
  content: counter(tabnum, decimal-leading-zero);
  position: absolute; left: 0; top: 14px;
  font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--orange);
}
.numbered-list h5 { font-size: 17px; margin-bottom: 4px; }
.numbered-list p { font-size: 14.5px; margin: 0; }

/* ============ VIDEO ============ */
.video-section .kicker { color: var(--orange); }
.video-wrap {
  position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.45);
  aspect-ratio: 16/8.2; background: #000; cursor: pointer; margin-top: 44px;
}
.video-wrap .video-poster { position: absolute; inset: 0; background: url('../img/chuttersnap-xewrfLD8emE-unsplash.jpg') center/cover no-repeat; }
.video-wrap .video-poster::after { content: ""; position: absolute; inset: 0; background: rgba(4,10,25,.45); }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.video-play span {
  width: 96px; height: 96px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2s infinite; transition: transform .3s ease;
}
.video-wrap:hover .video-play span { transform: scale(1.1); }
.video-play svg { width: 36px; height: 36px; fill: #fff; margin-left: 5px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,160,0,.55); }
  70% { box-shadow: 0 0 0 26px rgba(255,160,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,160,0,0); }
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ STATS BAND ============ */
.stats-band { background: var(--light); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px; }
.stat__icon {
  width: 76px; height: 76px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.stat__icon svg { width: 34px; height: 34px; fill: #fff; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(44px, 5vw, 64px); color: var(--dark); line-height: 1; }
.stat__num em { font-style: normal; color: var(--orange); }
.stat__label { text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; font-weight: 600; color: var(--gray); }

/* ============ SERVICES MATRIX ============ */
.services-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; margin-top: 54px; align-items: center; }
.service-list { list-style: none; counter-reset: svc; }
.service-list li {
  counter-increment: svc; display: flex; gap: 26px; padding: 22px 0;
  border-bottom: 1px solid #e8ebf1; position: relative;
}
.service-list li::before {
  content: counter(svc, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--gray-light);
  line-height: 1; min-width: 58px;
}
.service-list li::after {
  content: ""; position: absolute; left: 84px; top: 18px; bottom: 18px; width: 1px; background: #e8ebf1;
}
.service-list h4 { font-size: 19px; margin-bottom: 6px; color: var(--dark); }
.service-list p { font-size: 14.5px; }
.service-collage { position: relative; height: 560px; }
.service-collage img { position: absolute; border-radius: 12px; box-shadow: var(--shadow); object-fit: cover; }
.service-collage .c1 { width: 62%; height: 62%; top: 0; left: 0; z-index: 1; }
.service-collage .c2 { width: 52%; height: 48%; bottom: 6%; right: 0; z-index: 2; border: 6px solid #fff; }
.service-collage .c3 { width: 44%; height: 40%; bottom: 0; left: 6%; z-index: 3; border: 6px solid #fff; }

/* ============ NEWS ============ */
.news-card-h {
  display: grid; grid-template-columns: 380px 1fr; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  margin-top: 50px; max-width: 980px; margin-left: auto; margin-right: auto;
  transition: transform .3s ease;
}
.news-card-h:hover { transform: translateY(-6px); }
.news-card-h__img { min-height: 280px; }
.news-card-h__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-h__body { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.news-card__meta { font-size: 13px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.news-card-h__body h4 { font-size: 24px; margin-bottom: 14px; }
.news-card-h__body h4 a { color: var(--dark); }
.news-card-h__body h4 a:hover { color: var(--orange); }
.news-card__more { font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; display: inline-block; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(110deg, rgba(0,86,179,.94) 0%, rgba(17,49,99,.96) 70%),
              url('../img/gconnect-panama-banner.jpg') center/cover;
  padding: 70px 0; color: #fff;
}
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner h3 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; }
.cta-banner p { color: #dbe4f2; margin-top: 6px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: #c6cede; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .9fr; gap: 44px; padding-bottom: 54px; }
.footer-brand img { height: 64px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--orange); flex-shrink: 0; margin-top: 4px; }
.footer-contact a { color: #c6cede; }
.footer-contact a:hover { color: var(--orange); }
.footer-contact strong { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #c6cede; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.footer-links a::before { content: "›"; color: var(--orange); font-weight: 700; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-row a {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center; transition: all .3s ease;
}
.social-row a:hover { background: var(--orange); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom {
  background: rgba(0,0,0,.22); padding: 20px 0; margin-top: 0;
}
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom { font-size: 13px; color: #9aa4b8; }
.footer-bottom a { color: #9aa4b8; }
.footer-bottom a.credit { color: var(--orange); font-weight: 700; }
.footer-bottom a.credit:hover { color: #fff; }
.footer-bottom a:hover { color: var(--orange); }

/* ============ PAGE HERO ============ */
.page-hero { position: relative; padding: 100px 0 80px; color: #fff; overflow: hidden; background: var(--navy); }
.page-hero__bg { position: absolute; inset: 0; background: url('../img/gconnect-panama-banner.jpg') center/cover no-repeat; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(17,49,99,.95), rgba(4,10,25,.75)); }
.page-hero .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5.5vw, 58px); text-transform: uppercase; font-weight: 800; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #cdd6e4; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--orange); }

/* ============ NOSOTROS ============ */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 50px; }
.value-card { display: flex; gap: 22px; background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.value-card__icon {
  width: 60px; height: 60px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
}
.value-card__icon svg { width: 28px; height: 28px; fill: #fff; }
.value-card h4 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; }
.team-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  max-width: 420px; margin: 50px auto 0; text-align: center; transition: transform .3s ease;
}
.team-card:hover { transform: translateY(-8px); }
.team-card img { width: 100%; height: 380px; object-fit: cover; object-position: top; }
.team-card--round img { height: 320px; width: 320px; border-radius: 50%; margin: 36px auto 0; object-fit: cover; }
.team-card__body { padding: 26px; }
.team-card__body h4 { font-size: 22px; }
.team-card__role { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-top: 6px; }
.team-panel { background: var(--light); border-radius: 14px; padding: 20px 20px 60px; margin-top: 50px; }

/* ============ CONTACTO ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 10px; align-items: start; }
.contact-info-card {
  background: var(--light); border-radius: var(--radius);
  padding: 30px 28px; margin-bottom: 20px; display: flex; gap: 20px; align-items: flex-start;
}
.contact-info-card__icon {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card__icon svg { width: 24px; height: 24px; fill: #fff; }
.contact-info-card h4 { font-size: 18px; margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { font-size: 15px; color: var(--dark); font-weight: 600; }
.contact-info-card a:hover { color: var(--orange); }
.contact-social { display: flex; gap: 10px; margin-top: 6px; }
.contact-social a {
  width: 46px; height: 46px; border: 1.5px solid #dfe3ea; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; transition: all .3s ease; background: #fff;
}
.contact-social a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.contact-social svg { width: 20px; height: 20px; fill: var(--navy); }
.contact-social a:hover svg { fill: #fff; }
.contact-form-card { background: var(--light); border-radius: var(--radius); padding: 40px 36px; }
.contact-form-card h3 { font-size: 26px; margin-bottom: 8px; text-transform: uppercase; }
.contact-form-card > p { font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--dark); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1.5px solid #dfe3ea; border-radius: var(--radius);
  padding: 13px 16px; font-family: var(--font-body); font-size: 14.5px; color: var(--dark);
  transition: border-color .25s ease, box-shadow .25s ease; background: #fff;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,160,0,.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13.5px; margin-top: 14px; display: none; font-weight: 600; }
.form-note.success { display: block; color: #1d7a3a; }
.form-note.error { display: block; color: #c0392b; }

/* ============ BACK TO TOP ============ */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(255,160,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }
.reveal--delay-3 { transition-delay: .36s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .header-contact { gap: 22px; }
  .hc-text strong { font-size: 14.5px; }
}
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .tab-grid, .contact-grid, .services-layout { grid-template-columns: 1fr; gap: 44px; }
  .tab-grid .img-frame { order: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .service-collage { height: 440px; }
}
@media (max-width: 900px) {
  .header-main .header-contact { display: none; }
  .header-nav { display: none; }
  .header-actions { display: flex; align-items: center; gap: 2px; }
  .burger { display: block; }
  .topbar .tb-addr { display: none; }
  .topbar .container { justify-content: center; }
  .hero { flex-direction: column; min-height: 0; }
  .hero__panel { flex: none; padding: 70px 24px; }
  .hero__media { min-height: 320px; width: 100%; }
  .hero__media img { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
  .hero__wedge { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .news-card-h { grid-template-columns: 1fr; }
  .news-card-h__img { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .service-collage { height: 380px; }
  .page-hero .container { flex-direction: column; align-items: flex-start; }
  .tabs-nav { gap: 20px; }
  .tab-btn { font-size: 15px; }
}

/* ---------- Proyecto: pie del video ---------- */
.video-caption { text-align: center; color: var(--gris); font-size: 14px; margin-top: 12px; letter-spacing: .04em; }

/* ---------- Artículo de noticia ---------- */
.container--narrow { max-width: 860px; }
.article-body p { margin-bottom: 20px; font-size: 17.5px; line-height: 1.85; color: var(--dark); }
.btn--ghost { display: inline-block; border: 2px solid var(--navy); color: var(--navy); padding: 12px 26px; border-radius: var(--radius); font-weight: 700; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
