/*
Theme Name: Impermax Pro
Theme URI: https://impermax.mx/
Author: IMPERMAX
Description: Tema personalizado de alto rendimiento para IMPERMAX, enfocado en generar cotizaciones por WhatsApp.
Version: 1.3.0
Text Domain: impermax-pro
*/

:root {
  --ink: #101214;
  --ink-2: #1d2024;
  --paper: #f5f3ef;
  --white: #ffffff;
  --muted: #6b6f75;
  --line: rgba(16, 18, 20, .12);
  --red: #2b4d9d;
  --accent-red: #c61934;
  --blue-light: #8fb9e3;
  --red-deep: #173a77;
  --orange: #f15a24;
  --green: #25d366;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(16,18,20,.16);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--red); color: white; }

.container { width: var(--container); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.section-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 860;
}
.section-lead { max-width: 670px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 52px; }
.section-head .section-lead { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 760;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: white; box-shadow: 0 13px 35px rgba(43,77,157,.30); }
.btn-primary:hover { background: var(--red-deep); }
.btn-dark { background: var(--ink); color: white; }
.btn-outline { border-color: rgba(255,255,255,.35); color: white; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.btn-outline:hover { background: white; color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

.topbar { background: #08090a; color: rgba(255,255,255,.78); font-size: .76rem; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar strong { color: white; }
.topbar-meta { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: white; }

.site-header {
  position: absolute;
  z-index: 50;
  top: 34px;
  left: 0;
  width: 100%;
  color: white;
}
.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.brand img { width: 192px; max-height: 66px; object-fit: contain; object-position: left center; }
.main-nav { justify-self: center; }
.main-nav ul { display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; font-size: .84rem; font-weight: 700; color: rgba(255,255,255,.82); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px; background: var(--accent-red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover { color: white; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.08); color: white; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .25s ease; }

.hero {
  min-height: 850px;
  height: min(920px, 100vh);
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.85) contrast(1.04); transform: scale(1.015); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,18,38,.94) 0%, rgba(7,18,38,.78) 43%, rgba(7,18,38,.24) 78%, rgba(7,18,38,.22) 100%),
    linear-gradient(0deg, rgba(7,18,38,.88) 0%, rgba(7,18,38,0) 48%);
}
.hero::after { content: ""; position: absolute; z-index: 1; inset: auto -8% -42% auto; width: 760px; height: 760px; border-radius: 50%; background: var(--red); opacity: .18; filter: blur(2px); }
.hero-content { position: relative; z-index: 3; min-height: 100%; padding-top: 178px; padding-bottom: 84px; display: flex; flex-direction: column; justify-content: center; }
.hero-fester-badge {
  position: absolute;
  top: 118px;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(10,14,24,.72);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.hero-fester-badge img { width: 120px; height: auto; display: block; }
.hero-fester-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: rgba(255,255,255,.82); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 42px; height: 2px; background: var(--accent-red); }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(4rem, 8vw, 8.2rem); line-height: .82; letter-spacing: -.075em; font-weight: 900; text-transform: uppercase; }
.hero h1 span { color: var(--blue-light); text-shadow: 0 4px 28px rgba(0,0,0,.35); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 590px) auto; align-items: end; gap: 40px; margin-top: 42px; }
.hero-copy p { margin: 0; color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.7vw, 1.19rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 10px; min-width: 300px; }
.proof-card { padding: 21px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(8,9,10,.35); backdrop-filter: blur(12px); }
.proof-card strong { display: block; font-size: 1.6rem; line-height: 1; }
.proof-card span { display: block; margin-top: 7px; color: rgba(255,255,255,.65); font-size: .72rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }
.hero-scroll { position: absolute; z-index: 4; right: 32px; bottom: 32px; color: rgba(255,255,255,.65); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; display: inline-block; width: 1px; height: 52px; margin-top: 12px; background: rgba(255,255,255,.4); }

.trust-strip { position: relative; z-index: 8; margin-top: -1px; background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1.25fr repeat(3,1fr); min-height: 126px; }
.trust-intro, .trust-item { display: flex; align-items: center; padding: 26px 30px; }
.trust-intro { background: var(--red); color: white; }
.trust-intro strong { font-size: 1.14rem; line-height: 1.25; }
.trust-item { gap: 14px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #e8eef9; color: var(--red); }
.trust-icon svg { width: 21px; height: 21px; }
.trust-item strong { display: block; font-size: .92rem; }
.trust-item span { display: block; margin-top: 3px; color: var(--muted); font-size: .77rem; }

.services { padding: 130px 0 118px; }
.services-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 20px; }
.service-card { position: relative; min-height: 430px; overflow: hidden; border-radius: var(--radius); background: #ddd; color: white; box-shadow: 0 16px 40px rgba(16,18,20,.08); }
.service-card:nth-child(1), .service-card:nth-child(4) { grid-column: span 7; }
.service-card:nth-child(2), .service-card:nth-child(3) { grid-column: span 5; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.service-card::before { content:""; position:absolute; z-index:1; inset:0; background: linear-gradient(180deg,rgba(9,10,12,.08) 20%,rgba(9,10,12,.9) 100%); }
.service-card:hover img { transform: scale(1.045); }
.service-copy { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; }
.service-number { display: inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.45); font-size:.72rem; font-weight:800; }
.service-card h3 { margin: 18px 0 8px; font-size: clamp(1.55rem,3vw,2.45rem); line-height:1; letter-spacing:-.04em; }
.service-card p { max-width: 520px; margin:0; color:rgba(255,255,255,.76); font-size:.9rem; }
.service-link { display:inline-flex; align-items:center; gap:8px; margin-top:18px; font-size:.77rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.service-link svg { width:16px; }
.service-card.card-dark { background:var(--ink); }
.service-card.card-dark::before { background: linear-gradient(145deg,rgba(14,16,19,.32),rgba(14,16,19,.94)); }

.solutions { padding: 0 0 126px; }
.solutions-shell { position: relative; overflow: hidden; display:grid; grid-template-columns: 1.05fr .95fr; min-height: 690px; border-radius: 34px; background: var(--ink); color:white; }
.solutions-copy { padding: 72px 30px 72px 72px; position:relative; z-index:2; }
.solutions-copy .eyebrow { color:var(--blue-light); }
.solutions-copy h2 { margin:0; max-width:660px; font-size:clamp(2.7rem,5vw,5.7rem); line-height:.92; letter-spacing:-.06em; }
.solutions-copy > p { max-width:570px; color:rgba(255,255,255,.67); }
.solution-list { display:grid; gap:0; margin-top:38px; border-top:1px solid rgba(255,255,255,.14); }
.solution-row { display:grid; grid-template-columns:58px 1fr auto; align-items:center; gap:16px; min-height:84px; border-bottom:1px solid rgba(255,255,255,.14); }
.solution-row span:first-child { color:var(--blue-light); font-size:.76rem; font-weight:800; }
.solution-row strong { font-size:1.03rem; }
.solution-row small { color:rgba(255,255,255,.47); text-align:right; }
.solutions-visual { position:relative; display:flex; align-items:flex-end; justify-content:center; background:radial-gradient(circle at 60% 42%,rgba(43,77,157,.34),transparent 48%); }
.solutions-visual::before { content:""; position:absolute; width:520px; height:520px; border:1px solid rgba(255,255,255,.13); border-radius:50%; top:74px; left:50%; transform:translateX(-50%); }
.solutions-visual::after { content:""; position:absolute; width:350px; height:350px; border:1px solid rgba(255,255,255,.1); border-radius:50%; top:160px; left:50%; transform:translateX(-50%); }
.solutions-visual img { position:relative; z-index:2; width:min(92%,620px); max-height:650px; object-fit:contain; object-position:bottom; filter:drop-shadow(0 30px 60px rgba(0,0,0,.46)); }

.projects { padding: 118px 0 130px; background:white; }
.projects-grid { display:grid; grid-template-columns: repeat(12,1fr); grid-auto-rows: 235px; gap:16px; }
.project-card { position:relative; overflow:hidden; border-radius:20px; background:#ddd; }
.project-card:nth-child(1) { grid-column:span 7; grid-row:span 2; }
.project-card:nth-child(2) { grid-column:span 5; }
.project-card:nth-child(3) { grid-column:span 5; }
.project-card:nth-child(4), .project-card:nth-child(5), .project-card:nth-child(6) { grid-column:span 4; }
.project-card img { width:100%; height:100%; object-fit:cover; transition:transform .55s ease; }
.project-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 50%,rgba(8,9,10,.85)); opacity:.76; transition:opacity .3s ease; }
.project-card:hover img { transform:scale(1.04); }
.project-meta { position:absolute; z-index:2; left:22px; right:22px; bottom:18px; color:white; }
.project-meta strong { display:block; font-size:1rem; }
.project-meta span { color:rgba(255,255,255,.66); font-size:.75rem; }

.process { padding: 125px 0; background:var(--paper); }
.process-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:90px; align-items:start; }
.process-sticky { position:sticky; top:32px; }
.process-sticky .section-title { font-size:clamp(2.6rem,5vw,5.8rem); }
.steps { border-top:1px solid var(--line); }
.step { display:grid; grid-template-columns:62px 1fr; gap:22px; padding:32px 0; border-bottom:1px solid var(--line); }
.step-num { width:46px; height:46px; display:grid; place-items:center; border-radius:50%; background:var(--ink); color:white; font-size:.76rem; font-weight:800; }
.step h3 { margin:0 0 8px; font-size:1.32rem; }
.step p { margin:0; color:var(--muted); font-size:.94rem; }

.quote { position:relative; overflow:hidden; padding:125px 0; background:var(--red); color:white; }
.quote::before { content:""; position:absolute; width:620px; height:620px; border:1px solid rgba(255,255,255,.2); border-radius:50%; right:-190px; top:-270px; }
.quote::after { content:""; position:absolute; width:400px; height:400px; border:1px solid rgba(255,255,255,.16); border-radius:50%; right:-80px; top:-160px; }
.quote-grid { position:relative; z-index:2; display:grid; grid-template-columns:.9fr 1.1fr; gap:82px; align-items:start; }
.quote h2 { margin:0; font-size:clamp(3rem,6vw,6.6rem); line-height:.87; letter-spacing:-.065em; }
.quote-copy p { max-width:520px; color:rgba(255,255,255,.82); font-size:1.08rem; }
.quote-contact { margin-top:34px; display:grid; gap:13px; }
.quote-contact a, .quote-contact span { display:flex; align-items:flex-start; gap:12px; font-weight:700; }
.quote-contact svg { flex:0 0 20px; width:20px; margin-top:2px; }
.quote-form { padding:34px; border-radius:26px; background:white; color:var(--ink); box-shadow:var(--shadow); }
.quote-form h3 { margin:0 0 6px; font-size:1.5rem; }
.quote-form > p { margin:0 0 24px; color:var(--muted); font-size:.88rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { font-size:.73rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.field input, .field textarea, .field select { width:100%; min-height:50px; padding:12px 14px; border:1px solid #dfe1e4; border-radius:12px; background:#fafafa; outline:none; transition:border .2s, box-shadow .2s; }
.field textarea { min-height:100px; resize:vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(43,77,157,.12); }
.form-submit { width:100%; margin-top:16px; border:0; }
.form-note { margin:12px 0 0; color:var(--muted); text-align:center; font-size:.72rem; }

.location { padding:112px 0; background:white; }
.location-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:24px; }
.location-card { padding:52px; border-radius:26px; background:var(--ink); color:white; }
.location-card h2 { margin:0 0 24px; font-size:clamp(2.1rem,4vw,4.2rem); line-height:.95; letter-spacing:-.05em; }
.location-card address { font-style:normal; color:rgba(255,255,255,.72); }
.location-card .btn { margin-top:28px; }
.map-wrap { min-height:460px; overflow:hidden; border-radius:26px; background:#e9e9e9; }
.map-wrap iframe { width:100%; height:100%; min-height:460px; border:0; filter:grayscale(1) contrast(.95); }

.site-footer { background:#090a0b; color:white; padding:74px 0 26px; }
.footer-grid { display:grid; grid-template-columns:1.25fr .75fr .75fr; gap:70px; }
.footer-brand img { width:210px; }
.footer-brand p { max-width:430px; color:rgba(255,255,255,.55); }
.footer-col h4 { margin:0 0 18px; font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.4); }
.footer-col a, .footer-col span { display:block; margin:9px 0; color:rgba(255,255,255,.76); font-size:.9rem; }
.footer-col a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; gap:24px; margin-top:60px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.4); font-size:.73rem; }

.whatsapp-float { position:fixed; z-index:90; right:22px; bottom:22px; display:flex; align-items:center; gap:11px; padding:12px 17px 12px 13px; border-radius:999px; background:var(--green); color:white; box-shadow:0 14px 38px rgba(0,0,0,.27); font-size:.83rem; font-weight:800; transition:transform .25s ease; }
.whatsapp-float:hover { transform:translateY(-3px); }
.whatsapp-float svg { width:25px; height:25px; }

.reveal { opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity:1; transform:none; }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns:180px 1fr auto; }
  .brand img { width:165px; }
  .main-nav { display:none; }
  .menu-toggle { display:block; }
  .main-nav.is-open { display:block; position:fixed; inset:0; z-index:-1; padding:155px 28px 40px; background:rgba(8,9,10,.98); }
  .main-nav.is-open ul { flex-direction:column; align-items:flex-start; gap:27px; }
  .main-nav.is-open a { font-size:1.75rem; }
  .hero-copy { grid-template-columns:1fr; }

  .hero-fester-badge { top: 108px; right: 0; transform: scale(.95); transform-origin: top right; }

  .hero-proof { max-width:420px; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-intro { grid-column:1/-1; }
  .trust-item:nth-child(3) { border-right:0; }
  .services-grid { grid-template-columns:1fr 1fr; }
  .service-card:nth-child(n) { grid-column:auto; min-height:400px; }
  .solutions-shell { grid-template-columns:1fr; }
  .solutions-copy { padding:64px 52px 20px; }
  .solutions-visual { min-height:560px; }
  .process-grid { grid-template-columns:1fr; gap:52px; }
  .process-sticky { position:static; }
  .quote-grid { grid-template-columns:1fr; gap:52px; }
  .location-grid { grid-template-columns:1fr; }
}

@media (max-width: 760px) {
  :root { --container:min(100% - 28px,1180px); --radius:20px; }
  .topbar-meta span { display:none; }
  .topbar-inner { justify-content:center; }
  .site-header { top:34px; }
  .header-inner { min-height:77px; grid-template-columns:1fr auto; }
  .brand img { width:150px; }
  .header-cta .btn { display:none; }
  .hero { min-height:770px; height:auto; }
  .hero-content { min-height:770px; padding-top:160px; padding-bottom:64px; }

  .hero-fester-badge { position:static; align-self:flex-start; margin-bottom:22px; gap:10px; padding:10px 12px; transform:none; }
  .hero-fester-badge img { width:100px; }
  .hero-fester-label { min-height:30px; padding:0 10px; font-size:.66rem; }
  .hero h1 { font-size:clamp(3.45rem,17vw,5.7rem); line-height:.84; }
  .hero-copy { margin-top:28px; gap:26px; }
  .hero-copy p { max-width:95%; }
  .hero-proof { min-width:0; width:100%; }
  .hero-scroll { display:none; }
  .trust-grid { grid-template-columns:1fr; }
  .trust-intro { grid-column:auto; min-height:94px; }
  .trust-item { border-right:0; border-bottom:1px solid var(--line); min-height:88px; }
  .section-head { display:block; margin-bottom:34px; }
  .section-head .section-lead { margin-top:18px; }
  .services { padding:90px 0; }
  .services-grid { grid-template-columns:1fr; }
  .service-card:nth-child(n) { min-height:390px; }
  .solutions { padding-bottom:90px; }
  .solutions-shell { border-radius:24px; }
  .solutions-copy { padding:46px 25px 10px; }
  .solution-row { grid-template-columns:42px 1fr; }
  .solution-row small { display:none; }
  .solutions-visual { min-height:430px; }
  .solutions-visual::before { width:390px; height:390px; }
  .solutions-visual::after { width:260px; height:260px; }
  .projects { padding:88px 0; }
  .projects-grid { grid-template-columns:1fr; grid-auto-rows:270px; }
  .project-card:nth-child(n) { grid-column:auto; grid-row:auto; }
  .process { padding:90px 0; }
  .step { grid-template-columns:50px 1fr; gap:14px; }
  .quote { padding:90px 0; }
  .quote-form { padding:25px 18px; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .location { padding:80px 0; }
  .location-card { padding:38px 26px; }
  .map-wrap, .map-wrap iframe { min-height:360px; }
  .footer-grid { grid-template-columns:1fr; gap:38px; }
  .footer-bottom { flex-direction:column; }
  .whatsapp-float { right:14px; bottom:14px; padding-right:13px; }
  .whatsapp-float span { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}
.header-static { position: relative; top: 0; background: var(--ink); }
.header-static + main { background: white; }
.custom-logo-link { display: block; }
.custom-logo { width: 192px; max-height: 66px; object-fit: contain; object-position: left center; }
.content-page { padding: 90px 0 120px; background: white; }
.content-page article { max-width: 820px; margin: auto; }
.content-page h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; letter-spacing: -.05em; }
.content-page .entry-content { color: var(--muted); }

/* Version 1.1 - identidad azul IMPERMAX */
.proof-card-accent { border-color:rgba(198,25,52,.72); box-shadow:inset 0 0 0 1px rgba(198,25,52,.12); }
.proof-card-accent strong { color:#ffccd5; }

.company { padding:120px 0; background:#fff; }
.company-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:70px; align-items:center; }
.company-copy .section-title { font-size:clamp(2.7rem,5vw,5.6rem); }
.company-values { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:36px; }
.company-values > div { min-height:140px; padding:24px 20px; border:1px solid var(--line); border-radius:20px; background:#f7f9fd; }
.company-values strong { display:block; color:var(--red); font-size:1.45rem; line-height:1; }
.company-values span { display:block; margin-top:10px; color:var(--muted); font-size:.78rem; line-height:1.4; }
.company-image { margin:0; position:relative; min-height:650px; overflow:hidden; border-radius:30px; background:var(--ink); box-shadow:var(--shadow); }
.company-image img { width:100%; height:650px; object-fit:cover; object-position:center; }
.company-image figcaption { position:absolute; left:18px; right:18px; bottom:18px; padding:15px 18px; border-radius:14px; background:rgba(7,18,38,.82); color:white; backdrop-filter:blur(10px); font-size:.8rem; }

.fester-partner { padding:118px 0; background:#edf2fb; }
.fester-grid { display:grid; grid-template-columns:1.05fr .95fr; min-height:620px; overflow:hidden; border-radius:32px; background:#fff; box-shadow:0 24px 70px rgba(23,58,119,.14); }
.fester-copy { padding:66px; position:relative; }
.fester-copy::before { content:""; position:absolute; left:0; top:0; width:9px; height:100%; background:var(--accent-red); }
.partner-tag { display:inline-flex; align-items:center; gap:10px; color:var(--red); font-size:.76rem; font-weight:850; letter-spacing:.13em; text-transform:uppercase; }
.partner-tag i { width:28px; height:3px; background:var(--accent-red); }
.fester-logo { width:min(310px,70%); margin:30px 0 24px; }
.fester-copy h2 { margin:0; max-width:650px; font-size:clamp(2.3rem,4.6vw,5rem); line-height:.94; letter-spacing:-.055em; }
.fester-copy p { max-width:650px; color:var(--muted); }
.fester-copy ul { margin:25px 0 30px; padding:0; list-style:none; display:grid; gap:12px; }
.fester-copy li { position:relative; padding-left:24px; color:#313945; }
.fester-copy li::before { content:""; position:absolute; left:0; top:.6em; width:9px; height:9px; border-radius:50%; background:var(--accent-red); }
.fester-visual { position:relative; display:flex; align-items:center; justify-content:center; min-height:620px; padding:38px 26px; background:linear-gradient(145deg,#0b2957,#2b4d9d); overflow:hidden; }
.fester-visual::before { content:""; position:absolute; inset:50px -120px auto auto; width:500px; height:500px; border:1px solid rgba(255,255,255,.18); border-radius:50%; }
.fester-visual::after { content:""; position:absolute; left:-70px; bottom:-120px; width:330px; height:330px; border-radius:50%; background:var(--accent-red); opacity:.25; }
.fester-visual img { position:relative; z-index:2; width:min(92%,430px); max-height:560px; object-fit:contain; object-position:center; border-radius:24px; box-shadow:0 32px 60px rgba(0,0,0,.34); }

.clients { padding:120px 0; background:#fff; }
.clients-shell { display:grid; grid-template-columns:.95fr 1.05fr; gap:70px; align-items:center; }
.clients-copy .section-title { font-size:clamp(2.5rem,5vw,5.4rem); }
.client-names { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }
.client-names span { padding:9px 14px; border:1px solid #cbd6ea; border-radius:999px; background:#f7f9fd; color:#223b70; font-size:.78rem; font-weight:800; }
.clients-logos { padding:28px; border:1px solid #dfe7f4; border-radius:28px; background:#fff; box-shadow:0 20px 55px rgba(23,58,119,.10); }
.clients-logos img { width:100%; }

.location-card > a:not(.btn) { display:block; margin-top:12px; color:rgba(255,255,255,.78); }
.location-card > a:not(.btn):hover { color:white; }

@media (max-width:1020px) {
  .company-grid, .fester-grid, .clients-shell { grid-template-columns:1fr; }
  .company-image { min-height:520px; }
  .company-image img { height:520px; }
  .fester-copy { padding:54px; }
  .fester-visual { min-height:520px; }
  .clients-logos { max-width:760px; }
}

@media (max-width:760px) {
  .company, .fester-partner, .clients { padding:86px 0; }
  .company-grid, .clients-shell { gap:38px; }
  .company-values { grid-template-columns:1fr; }
  .company-values > div { min-height:0; }
  .company-image, .company-image img { min-height:480px; height:480px; }
  .fester-grid { border-radius:22px; }
  .fester-copy { padding:42px 24px 46px 30px; }
  .fester-visual { min-height:420px; }
  .clients-logos { padding:12px; border-radius:20px; }
}
