/*
Theme Name: Analogia MGM
Theme URI: https://analogiamgm.com
Author: Analogia MGM
Author URI: https://analogiamgm.com
Description: Custom one-page consulting theme for Analogia MGM. Built with brand-derived gradient palette (deep royal blue → teal → mint), Montserrat & Inter typography, fully responsive, and entirely customizable through the WordPress Customizer — no page builder required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: analogia-mgm
Tags: one-page, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, business
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #3a4a5c;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }

/* ===== DESIGN TOKENS — derived from logo ===== */
:root {
  --brand-blue-dark: #1a3a8f;
  --brand-blue: #2452b8;
  --brand-teal: #2eb6c4;
  --brand-mint: #4dd9a6;
  --primary: #1a3a8f;
  --primary-dark: #0f2566;
  --accent: #2eb6c4;
  --accent-light: #4dd9a6;
  --ink: #1a1a1a;
  --text: #3a4a5c;
  --muted: #7a8595;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-blue-soft: #eef2fb;
  --border: #e3e8f0;
  --display: 'Montserrat', sans-serif;
  --sans: 'Inter', sans-serif;
  --container: 1240px;
  --gradient: linear-gradient(135deg, #1a3a8f 0%, #2452b8 50%, #2eb6c4 100%);
  --gradient-light: linear-gradient(135deg, #2452b8 0%, #2eb6c4 60%, #4dd9a6 100%);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 700; }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gradient-light); }

.gradient-text {
  background: var(--gradient-light);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; }
@media (max-width: 768px) { section { padding: 70px 0; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--sans); font-size: .875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: none; cursor: pointer; transition: all .3s ease;
  border-radius: 4px;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 8px 24px rgba(26,58,143,.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(46,182,196,.35);
  color: #fff;
}
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: all .35s ease;
  background: transparent;
}
.site-nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-img {
  height: 80px; width: auto; display: block;
  transition: all .35s ease;
  filter: brightness(0) invert(1);
}
.site-nav.scrolled .logo-img { filter: none; height: 64px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.92);
  position: relative; padding: 4px 0;
}
.site-nav.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-light); transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  background: var(--gradient); color: #fff !important;
  padding: 11px 22px !important; border-radius: 4px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(46,182,196,.3);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(46,182,196,.45); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 4px 8px; }
.site-nav.scrolled .menu-toggle { color: var(--ink); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background-color: #0f2566;
  background-blend-mode: normal;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(15,37,102,.92) 0%, rgba(26,58,143,.85) 50%, rgba(46,182,196,.55) 100%);
  z-index: 1;
}
.hero::before {
  content: ""; position: absolute;
  top: -30%; right: -20%; width: 80%; height: 160%;
  background: radial-gradient(ellipse, rgba(77,217,166,.18) 0%, transparent 55%);
  pointer-events: none; z-index: 2;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at bottom left, rgba(46,182,196,.2) 0%, transparent 50%);
  pointer-events: none; z-index: 2;
}
.hero-inner { position: relative; z-index: 3; max-width: 920px; padding-top: 80px; }
.hero-eyebrow {
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.24em; color: var(--accent-light);
  margin-bottom: 28px; display: inline-flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp .8s ease .2s forwards;
}
.hero-eyebrow::before { content: ""; width: 36px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.hero h1 {
  color: #fff; margin-bottom: 32px; font-weight: 800;
  opacity: 0; animation: fadeUp .9s ease .35s forwards;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #4dd9a6 0%, #2eb6c4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-weight: 800;
}
.hero-sub {
  font-size: 1.125rem; color: rgba(255,255,255,.88);
  max-width: 620px; margin-bottom: 44px; font-weight: 400;
  opacity: 0; animation: fadeUp .9s ease .5s forwards;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp .9s ease .65s forwards; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,.55); animation: bob 2.5s ease infinite;
  font-weight: 500; z-index: 3;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.hero-eyebrow, .hero h1, .hero-sub, .hero-actions { transform: translateY(20px); }

/* ===== FEATURE BOXES ===== */
.features { background: var(--bg); margin-top: -90px; position: relative; z-index: 5; padding: 0 0 110px; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: #fff;
  box-shadow: 0 30px 80px rgba(26,58,143,.15);
  border-radius: 8px; overflow: hidden;
}
.feature {
  background: #fff; padding: 50px 40px;
  border-right: 1px solid var(--border);
  transition: all .4s ease; position: relative;
}
.feature:last-child { border-right: none; }
.feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s ease;
}
.feature:hover { background: var(--bg-blue-soft); }
.feature:hover::before { transform: scaleX(1); }
.feature-num {
  font-family: var(--display); font-size: 2.75rem; font-weight: 800;
  background: var(--gradient-light);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 22px; letter-spacing: -0.02em;
}
.feature h3 { margin-bottom: 14px; }
.feature p { color: var(--text); font-size: .9375rem; margin-bottom: 22px; }
.feature-link {
  font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); display: inline-flex; align-items: center; gap: 8px;
}
.feature-link:hover { color: var(--accent); }
.feature-link .arrow { transition: transform .25s ease; }
.feature-link:hover .arrow { transform: translateX(4px); }
@media (max-width: 880px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ===== ABOUT ===== */
#about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(26,58,143,.22); }
.about-img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-img::after {
  content: ""; position: absolute; bottom: -24px; right: -24px;
  width: 65%; height: 65%; background: var(--gradient-light);
  z-index: -1; border-radius: 8px; opacity: 0.85;
}
.about-content h2 { margin-bottom: 28px; }
.about-content p { color: var(--text); margin-bottom: 18px; font-size: 1.0625rem; }
.about-list { list-style: none; margin-top: 28px; }
.about-list li { position: relative; padding-left: 36px; margin-bottom: 14px; color: var(--text); font-size: .9375rem; }
.about-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 22px; height: 2px; background: var(--gradient-light); }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 50px; } .about-img::after { display: none; } }

/* ===== CASES ===== */
#cases { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-header .eyebrow { justify-content: center; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case {
  background: #fff; border-radius: 8px; overflow: hidden;
  transition: all .4s ease; box-shadow: 0 4px 20px rgba(26,58,143,.06);
}
.case:hover { transform: translateY(-6px); box-shadow: 0 25px 50px rgba(26,58,143,.18); }
.case-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.case-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(15,37,102,.4) 100%); pointer-events: none; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.case:hover .case-img img { transform: scale(1.06); }
.case-body { padding: 36px 38px 40px; }
.case-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  background: var(--gradient-light);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px; display: inline-block;
}
.case h3 { margin-bottom: 14px; font-size: 1.5rem; }
.case p { color: var(--text); font-size: .9375rem; }
@media (max-width: 880px) { .cases-grid { grid-template-columns: 1fr; } }

/* ===== SERVICES ===== */
#services { background: var(--bg); }
.services-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; margin-bottom: 70px; align-items: end; }
.services-intro p { color: var(--text); font-size: 1.0625rem; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.service {
  padding: 50px 44px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: background .35s ease; position: relative; background: #fff;
}
.service:hover { background: var(--bg-blue-soft); }
.service-icon {
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-blue-soft); color: var(--primary);
  margin-bottom: 24px; border-radius: 8px; transition: all .35s ease;
}
.service:hover .service-icon { background: var(--gradient-light); color: #fff; transform: rotate(-4deg); }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--text); font-size: .9375rem; }
@media (max-width: 880px) { .services-intro { grid-template-columns: 1fr; gap: 24px; } .services-grid { grid-template-columns: 1fr; } }

/* ===== MISSION CTA ===== */
.mission {
  position: relative; color: #fff; text-align: center;
  background-color: #1a3a8f; overflow: hidden;
}
.mission-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,37,102,.94) 0%, rgba(26,58,143,.88) 50%, rgba(46,182,196,.7) 100%);
  z-index: 1;
}
.mission::before {
  content: ""; position: absolute; top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(77,217,166,.15) 0%, transparent 60%);
  pointer-events: none; z-index: 2;
}
.mission .container { position: relative; z-index: 3; }
.mission h2 { color: #fff; max-width: 860px; margin: 0 auto 36px; }
.mission h2 .accent { color: var(--accent-light); }

/* ===== WHY US ===== */
#why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.why-content h2 { margin-bottom: 24px; }
.why-content p { color: var(--text); margin-bottom: 20px; font-size: 1.0625rem; }
.why-points { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.why-point { display: flex; gap: 22px; }
.why-point-num {
  flex-shrink: 0; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1rem; font-weight: 700;
  background: var(--gradient-light); color: #fff; border-radius: 50%;
  box-shadow: 0 6px 16px rgba(46,182,196,.3);
}
.why-point h4 { font-family: var(--display); font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.why-point p { font-size: .9375rem; color: var(--text); margin: 0; }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; gap: 50px; } }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--primary-dark);
  background-image:
    radial-gradient(ellipse at top right, rgba(46,182,196,.25) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(77,217,166,.15) 0%, transparent 50%),
    linear-gradient(135deg, #0f2566 0%, #1a3a8f 100%);
  color: #fff; padding: 90px 0; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: "ANALOGIA"; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 13rem; font-weight: 800;
  color: rgba(255,255,255,.04); letter-spacing: -0.05em;
  white-space: nowrap; pointer-events: none;
}
.cta-strip-inner { display: grid; grid-template-columns: 1.5fr auto; gap: 60px; align-items: center; position: relative; z-index: 2; }
.cta-strip h2 { color: #fff; font-size: clamp(1.625rem, 2.5vw, 2.25rem); }
.cta-strip h2 .accent { color: var(--accent-light); }
@media (max-width: 880px) { .cta-strip-inner { grid-template-columns: 1fr; text-align: center; } }

/* ===== INSIGHTS ===== */
#insights { background: var(--bg-alt); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight { background: #fff; border-radius: 8px; overflow: hidden; transition: all .35s ease; }
.insight:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(26,58,143,.12); }
.insight-img { aspect-ratio: 16/10; overflow: hidden; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insight:hover .insight-img img { transform: scale(1.05); }
.insight-body { padding: 28px 30px 32px; }
.insight-meta { font-size: .7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.insight-meta span { color: var(--accent); }
.insight h3 { font-size: 1.1875rem; margin-bottom: 12px; line-height: 1.4; font-weight: 700; }
.insight h3 a:hover { color: var(--accent); }
.insight p { color: var(--text); font-size: .9375rem; }
@media (max-width: 880px) { .insights-grid { grid-template-columns: 1fr; } }

/* ===== CONTACT / FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #0a1d4d 0%, #0f2566 100%);
  color: rgba(255,255,255,.75);
  padding: 90px 0 30px; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 50%; height: 140%;
  background: radial-gradient(ellipse, rgba(46,182,196,.15) 0%, transparent 60%);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 2; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-img { height: 96px; filter: brightness(0) invert(1); margin-bottom: 22px; }
.footer-brand p { font-size: .9375rem; line-height: 1.7; margin-bottom: 24px; max-width: 380px; }
.footer-contact { list-style: none; }
.footer-contact li { padding-left: 28px; position: relative; font-size: .9375rem; margin-bottom: 12px; }
.footer-contact li svg { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; color: var(--accent-light); }
.site-footer h4 {
  font-family: var(--display); font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: #fff; margin-bottom: 22px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .9375rem; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--accent-light); }
.newsletter p { font-size: .9375rem; margin-bottom: 18px; }
.newsletter-form { display: flex; }
.newsletter-form input {
  flex: 1; padding: 13px 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-family: var(--sans); font-size: .875rem;
  border-radius: 4px 0 0 4px; outline: none; transition: border-color .25s ease;
}
.newsletter-form input:focus { border-color: var(--accent-light); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form button {
  padding: 0 22px; background: var(--gradient-light); color: #fff;
  border: none; font-weight: 700; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer; border-radius: 0 4px 4px 0; transition: all .25s ease;
}
.newsletter-form button:hover { filter: brightness(1.1); }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: .8125rem; color: rgba(255,255,255,.5); }
.footer-bottom a { margin-left: 24px; }
.footer-bottom a:hover { color: var(--accent-light); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } .footer-bottom a { margin: 0 12px; } }

/* ===== MOBILE NAV ===== */
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 30px;
    gap: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.1);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: all .3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { color: var(--ink) !important; }
  .nav-cta { align-self: flex-start; }
}

/* ===== SCROLL REVEAL ===== */
.js-enabled .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-enabled .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== CONTACT FORM ===== */
#contact-form {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#contact-form::before {
  content: ""; position: absolute;
  top: -30%; right: -10%; width: 50%; height: 100%;
  background: radial-gradient(ellipse, rgba(46,182,196,.08) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
#contact-form::after {
  content: ""; position: absolute;
  bottom: -20%; left: -10%; width: 40%; height: 80%;
  background: radial-gradient(ellipse, rgba(77,217,166,.06) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
#contact-form .container { position: relative; z-index: 1; }
.contact-form-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.contact-intro h2 { margin-bottom: 24px; }
.contact-intro p { color: var(--text); font-size: 1.0625rem; margin-bottom: 28px; }
.contact-quick-info { list-style: none; padding-top: 8px; }
.contact-quick-info li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: .9375rem; color: var(--text);
}
.contact-quick-info li:last-child { border-bottom: none; }
.contact-quick-info svg {
  width: 20px; height: 20px; color: var(--accent); flex-shrink: 0;
}

.contact-form {
  background: #fff;
  padding: 48px 44px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(26,58,143,.12);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-field label .required { color: var(--accent); margin-left: 2px; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
  font-family: var(--sans); font-size: .9375rem;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--ink);
  outline: none; width: 100%;
  transition: all .25s ease;
}
.form-field input:hover { border-color: #c5cfdb; background: #fff; }
.form-field input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,182,196,.12);
}
.form-field input.error { border-color: #d94545; background: #fff5f5; }
.form-field input.error:focus { box-shadow: 0 0 0 4px rgba(217,69,69,.12); }
.form-field-error {
  font-size: .75rem; color: #d94545; margin-top: 6px; display: none;
}
.form-field.has-error .form-field-error { display: block; }

.form-checkbox {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 22px 0 28px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all .25s ease;
  cursor: pointer;
}
.form-checkbox:hover { border-color: var(--accent); background: var(--bg-blue-soft); }
.form-checkbox.has-error { border-color: #d94545; background: #fff5f5; }
.form-checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: #fff;
  cursor: pointer; flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: all .2s ease;
}
.form-checkbox input[type="checkbox"]:hover { border-color: var(--accent); }
.form-checkbox input[type="checkbox"]:checked {
  background: var(--gradient-light);
  border-color: transparent;
}
.form-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-checkbox label {
  font-size: .8125rem; line-height: 1.55;
  color: var(--text);
  cursor: pointer;
}
.form-checkbox label a {
  color: var(--accent); font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.form-checkbox label a:hover { border-color: var(--accent); }

.contact-form button[type="submit"] {
  width: 100%;
  padding: 16px 32px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--sans); font-size: .875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer;
  transition: all .3s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(26,58,143,.25);
}
.contact-form button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(46,182,196,.35);
}
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: .9375rem;
  line-height: 1.5;
}
.form-status.show { display: block; }
.form-status.success {
  background: #ecfdf5; color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-status.error {
  background: #fef2f2; color: #991b1b;
  border: 1px solid #fecaca;
}

/* Honeypot — hidden from real users, bots fill it */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important;
}

@media (max-width: 980px) {
  .contact-form-wrap { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 600px) {
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== WORDPRESS-SPECIFIC ===== */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.screen-reader-text:focus { background-color: #f1f1f1; clip: auto !important; color: #21759b; display: block; font-size: 14px; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }

.site-header,
.site-header .navbar {
  background: linear-gradient(135deg, #1a3a8f 0%, #2452b8 50%, #2eb6c4 100%);
  color: #fff;
}

.site-header .navbar a {
  color: #fff;
}

.page-featured-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.page-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* overlay */
.page-featured-image::after {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(15, 37, 102, 0.92) 0%,
    rgba(26, 58, 143, 0.85) 50%,
    rgba(46, 182, 196, 0.55) 100%
  );
}

.cases-grid {
	display: none;
}

#cases h2 {
	font-size: 56px;
}