/* ============================================================
   UNEWO – Evolved Communication | Main Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:        #0ea5e9;
  --blue-dark:   #0369a1;
  --blue-darker: #0c1a2e;
  --blue-light:  #e0f2fe;
  --blue-mid:    #38bdf8;
  --white:       #ffffff;
  --off-white:   #f0f9ff;
  --gray-light:  #eef1f7;
  --gray:        #94a3b8;
  --gray-dark:   #475569;
  --text:        #0f172a;
  --font-head:   'Space Grotesk', sans-serif;
  --font-body:   'Inter', sans-serif;
  --transition:  0.25s ease;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --shadow-sm:   0 2px 12px rgba(14, 165, 233, 0.08);
  --shadow-md:   0 8px 32px rgba(14, 165, 233, 0.14);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 4.5%; }
.section-pad { padding: 60px 0; }

/* --- Typography --- */
.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-head);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-darker);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-dark);
  max-width: 760px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.92rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.92rem;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--blue); color: white; transform: translateY(-1px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(14, 165, 233, 0.12); }

.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}
.logo-un {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--blue-darker);
  letter-spacing: 0.05em;
  line-height: 1;
}
.logo-ewo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue);
  letter-spacing: 0.03em;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--gray-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--blue);
  color: white;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-head);
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--blue-dark); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--blue-darker);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e8f4fd 0%, #ffffff 55%, #f0f9ff 100%);
  padding: 96px 4.5% 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.07);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.05);
  pointer-events: none;
}

.hero-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 5%;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 660px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue-darker);
  margin-bottom: 1.3rem;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--blue); font-weight: 800; }

.hero p {
  font-size: 1.12rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-right { flex: 1; display: flex; justify-content: center; align-items: center; }

.hero-visual {
  width: 420px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-stat {
  background: var(--off-white);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background var(--transition);
}
.hero-stat:hover { background: var(--blue-light); }

.stat-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 20px; height: 20px; }
.stat-label { font-size: 0.78rem; color: var(--gray); font-weight: 500; margin-bottom: 2px; }
.stat-val { font-size: 0.96rem; font-weight: 700; color: var(--blue-darker); font-family: var(--font-head); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6%;
  align-items: start;
  margin-top: 2rem;
}
.about-text p {
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat-card {
  background: var(--blue-light);
  border-radius: 12px;
  padding: 26px 22px;
  text-align: center;
  transition: transform var(--transition);
}
.about-stat-card:hover { transform: translateY(-3px); }
.about-stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
}
.about-stat-lbl {
  font-size: 0.84rem;
  color: var(--blue-dark);
  font-weight: 600;
  margin-top: 5px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--off-white); }

.service-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 2rem 0 1.8rem;
}
.tab-btn {
  padding: 9px 20px;
  border-radius: 25px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-head);
  transition: all var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--blue);
  color: white;
}

.svc-section { display: none; }
.svc-section.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(14, 165, 233, 0.12);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.svc-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-darker);
  margin-bottom: 10px;
}
.svc-desc { font-size: 0.9rem; color: var(--gray-dark); line-height: 1.7; }

.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.svc-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
}
.tag-smb  { background: #e0f7e9; color: #166534; }
.tag-ent  { background: #e0f2fe; color: #0c4a6e; }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions { background: var(--white); }

.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2.5rem;
}
.sol-card {
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  background: var(--off-white);
  border-left: 4px solid var(--blue);
  transition: box-shadow var(--transition), transform var(--transition);
}
.sol-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.sol-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue-darker);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.sol-card p { font-size: 0.92rem; color: var(--gray-dark); line-height: 1.7; margin-bottom: 12px; }
.sol-card ul { padding-left: 16px; list-style: disc; }
.sol-card ul li { font-size: 0.88rem; color: var(--gray-dark); line-height: 2; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases { background: var(--off-white); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 2.5rem;
}
.case-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.12);
  transition: box-shadow var(--transition), transform var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.case-top {
  background: linear-gradient(135deg, #0c4a6e, #0369a1);
  padding: 26px 28px;
  color: white;
}
.case-top .industry {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: var(--font-head);
}
.case-top h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; line-height: 1.4; }

.case-body { padding: 26px 28px; }
.case-challenge { font-size: 0.88rem; color: var(--gray-dark); line-height: 1.65; margin-bottom: 16px; }
.case-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case-result {
  text-align: center;
  background: var(--blue-light);
  border-radius: 8px;
  padding: 12px 8px;
}
.case-result-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue);
}
.case-result-lbl { font-size: 0.72rem; color: var(--blue-dark); font-weight: 500; margin-top: 3px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  margin-top: 2.5rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue-darker);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 1.6rem;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-detail-text .lbl {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-detail-text .val {
  font-size: 0.96rem;
  color: var(--text);
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.65;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: var(--gray-dark); }
.form-field input,
.form-field textarea,
.form-field select {
  padding: 11px 14px;
  border: 1.5px solid #dde4f0;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border var(--transition);
  background: white;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 110px; }

.form-submit {
  background: var(--blue);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-head);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: 100%;
}
.form-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.form-submit.success { background: #0f6e56; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--blue-darker);
  color: white;
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.footer-wordmark {
  display: inline-flex;
  gap: 0;
  line-height: 1;
}
.footer-un {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
}
.footer-ewo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: #7dd3fc;
  letter-spacing: 0.04em;
}
.footer-tagline-mark {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }
.footer-legal { color: rgba(255, 255, 255, 0.3) !important; }

/* ============================================================
   AOS ANIMATIONS
   ============================================================ */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos="fade-up"]    { transform: translateY(24px); }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"]  { transform: translateX(24px); }
[data-aos].aos-animate  { opacity: 1; transform: translate(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-right { display: none; }
  .about-grid,
  .sol-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .svc-section.active { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; border-bottom: 1px solid rgba(14, 165, 233, 0.15); padding: 1rem 5%; gap: 1rem; }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: flex; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .service-tabs { gap: 8px; }
  .tab-btn { font-size: 0.78rem; padding: 7px 14px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 5% 50px; }
  .hero h1 { font-size: 2rem; }
  .about-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   HARDENED ADDITIONS – UX & Security pass
   ============================================================ */

/* Skip to content link (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: #0ea5e9;
  color: white;
  padding: 10px 18px;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.88rem;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Required field asterisk */
.required { color: #0ea5e9; margin-left: 2px; }

/* Inline field error */
.field-error {
  display: block;
  font-size: 0.78rem;
  color: #b91c1c;
  margin-top: 4px;
  min-height: 16px;
  font-weight: 500;
}

/* Field hint */
.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 4px;
}

/* Input error state */
.input-error {
  border-color: #ef4444 !important;
  background: #fff8f8 !important;
}
.input-error:focus { border-color: #ef4444 !important; }

/* Form status messages */
.form-status-msg {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  display: none;
}
.form-status-msg:not(:empty) { display: block; }
.status-success {
  background: #e0f7e9;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.status-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Privacy consent checkbox */
.form-consent { display: flex; flex-direction: column; gap: 4px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #0ea5e9;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  pointer-events: auto !important;
}
.consent-label a { color: #0ea5e9; text-decoration: underline; }

/* Footer legal links */
.footer-legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* Focus rings – keyboard navigation visibility */
:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* Tab keyboard focus */
.tab-btn:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* Phone and email links in contact */
.contact-detail-text .val a:hover { text-decoration: underline; }

/* ============================================================
   iOS & ANDROID OPTIMISATIONS
   ============================================================ */

/* ── 1. Prevent iOS text size inflation on orientation change ── */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── 2. Smooth momentum scrolling on iOS (Safari) ── */
html, body {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}

/* ── 3. Remove tap highlight flash on Android / iOS ── */
* {
  -webkit-tap-highlight-color: transparent;
}

/* ── 4. Prevent rubber-band pull-to-refresh misfire on main body ── */
body {
  overscroll-behavior: none;
}

/* ── 5. Minimum 44×44px touch targets (Apple HIG / Material) ── */
.nav-links a,
.tab-btn,
.btn-primary,
.btn-outline,
.nav-cta,
.form-submit,
.footer-col a,
.mobile-menu-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.tab-btn { justify-content: center; }
.footer-col li a { min-height: 44px; display: flex; align-items: center; }

/* ── 6. Prevent iOS zoom on form focus (font-size must be ≥16px) ── */
.form-field input,
.form-field textarea,
.form-field select {
  font-size: 16px !important;
}

/* ── 7. Fix iOS Safari select arrow styling ── */
.form-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ── 8. Remove iOS inner shadow on inputs (NOT checkboxes) ── */
.form-field input:not([type="checkbox"]),
.form-field textarea,
.form-field select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: var(--radius-sm);
}

/* ── 9. Fix 100vw causing horizontal overflow on mobile (scrollbar width) ── */
.hero, nav, footer, section { max-width: 100%; overflow-x: hidden; }

/* ── 10. Prevent long words / URLs from breaking layout on narrow screens ── */
p, li, .svc-desc, .case-challenge, .about-text p {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── 11. Hardware-accelerate animations for 60fps on mobile ── */
[data-aos],
.hero-content,
.service-card,
.case-card,
.sol-card {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* ── 12. Safe area insets for iPhone notch / Dynamic Island ── */
nav {
  padding-left: max(5%, env(safe-area-inset-left));
  padding-right: max(5%, env(safe-area-inset-right));
}
footer .container {
  padding-left: max(5%, env(safe-area-inset-left));
  padding-right: max(5%, env(safe-area-inset-right));
  padding-bottom: max(30px, env(safe-area-inset-bottom));
}
.hero { padding-bottom: max(60px, calc(60px + env(safe-area-inset-bottom))); }

/* ── 13. Mobile-specific layout: small phones (≤390px — iPhone SE, small Android) ── */
@media (max-width: 390px) {
  .hero h1 { font-size: 1.75rem; line-height: 1.2; }
  .hero p { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; gap: 0.75rem; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; text-align: center; }
  .section-title { font-size: 1.55rem; }
  .service-card { padding: 18px; }
  .case-top { padding: 16px 18px; }
  .case-body { padding: 16px 18px; }
  .sol-card { padding: 20px; }
  .about-stat-num { font-size: 1.6rem; }
  .tab-btn { font-size: 0.72rem; padding: 6px 10px; }
  .contact-grid { gap: 2rem; }
  .footer-grid { gap: 1.5rem; }
}

/* ── 14. Medium phones (391–480px — standard iPhone, mid-size Android) ── */
@media (min-width: 391px) and (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .btn-primary, .btn-outline { padding: 12px 22px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ── 15. Tablet portrait (481–768px — iPad mini, large phones landscape) ── */
@media (min-width: 481px) and (max-width: 768px) {
  .svc-section.active { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 16. Tablet landscape / iPad standard (769–1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-right { display: flex; }
  .hero-visual { width: 300px; }
  .svc-section.active { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  nav { height: 64px; }
}

/* ── 17. iOS landscape: fix viewport height (Safari 100vh bug) ── */
@supports (-webkit-touch-callout: none) {
  .hero {
    padding-top: 96px;
  }
}

/* ── 18. Mobile nav: full-width dropdown, larger tap targets ── */
@media (max-width: 768px) {
  #navbar { padding: 0 4%; }
  .nav-links {
    padding: 0.5rem 4% 1rem;
    gap: 0;
  }
  .nav-links li a {
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(14,165,233,0.08);
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 48px;
  }
  .nav-links li:last-child a { border-bottom: none; }

  /* Show CTA inside mobile menu instead */
  .nav-links::after {
    content: '';
    display: block;
    height: 8px;
  }

  /* Hamburger animation */
  .mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .mobile-menu-btn span { transition: transform 0.2s ease, opacity 0.2s ease; }

  /* Hero adjustments */
  .hero { min-height: auto; padding-top: 90px; }
  .hero-wrap { flex-direction: column; }
  .hero-content { max-width: 100%; }
  .hero-right { display: none; }

  /* Sections padding */
  .section-pad { padding: 60px 0; }
  .container { padding: 0 4%; }

  /* Service tabs: horizontal scroll on mobile */
  .service-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .service-tabs::-webkit-scrollbar { display: none; }
  .tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  /* Cards: full width */
  .svc-section.active { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr; }

  /* Contact info stacked tighter */
  .contact-detail { gap: 12px; }
  .contact-icon { width: 38px; height: 38px; }

  /* Form full-width */
  .form-row { grid-template-columns: 1fr; }
  .form-submit { font-size: 1rem; padding: 15px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── 19. Reduce motion for users who prefer it (accessibility + battery) ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  [data-aos].aos-animate { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ── 20. Dark mode support (system preference) ── */
@media (prefers-color-scheme: dark) {
  :root {
    --white:      #111827;
    --off-white:  #1a2332;
    --gray-light: #1e2a3a;
    --gray:       #64748b;
    --gray-dark:  #94a3b8;
    --text:       #f1f5f9;
  }
  #navbar { background: rgba(8, 47, 73, 0.97); border-bottom-color: rgba(14,165,233,0.15); }
  .service-card, .hero-visual, .case-card { background: #082f49; border-color: rgba(14,165,233,0.12); }
  .hero-stat { background: #0c4a6e; }
  .hero { background: linear-gradient(135deg, #082f49 0%, #0c1a2e 55%, #082f49 100%); }
  .about { background: #0c1a2e; }
  .services { background: #082f49; }
  .solutions { background: #0c1a2e; }
  .cases { background: #082f49; }
  .contact { background: #0c1a2e; }
  .sol-card { background: #082f49; }
  .form-field input, .form-field textarea, .form-field select { background: #082f49; border-color: #164e63; color: #f0f9ff; }
  .form-field input::placeholder, .form-field textarea::placeholder { color: #4a5568; }
  .logo-un { color: rgba(255,255,255,0.85); }
  .logo-ewo { color: #7dd3fc; }
  .nav-links.open { background: #082f49; border-bottom-color: rgba(14,165,233,0.15); }
  .nav-links a { color: #94a3b8; }
  .about-stat-card { background: rgba(14,165,233,0.15); }
  .about-stat-lbl { color: rgba(255,255,255,0.6); }
  .section-sub { color: #94a3b8; }
}


/* ============================================================
   LAYOUT DENSITY — Why Strip + Filled Sections
   ============================================================ */

/* Why UNEWO feature strip */
.why-strip {
  background: var(--blue);
  padding: 56px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.why-item {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-item:last-child { border-right: none; }
.why-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
}
.why-icon svg { width: 22px; height: 22px; }
.why-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: white;
}
.why-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

/* Larger service card grid gap */
.svc-section.active { gap: 22px; }

/* Denser about section */
.about { background: var(--white); }

/* Sol grid tighter */
.sol-grid { gap: 20px; }

/* Cases grid denser */
.cases-grid { gap: 20px; }

/* Contact section — side-by-side feel */
.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.8rem;
}

/* Footer brand tagline  */
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 280px;
}

/* Why strip responsive */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .why-item:nth-child(3), .why-item:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .why-item:last-child { border-bottom: none; }
}

/* ============================================================
   PLATFORM TRUST STRIP
   ============================================================ */
.platform-strip {
  background: var(--white);
  border-top: 1px solid rgba(14,165,233,0.08);
  border-bottom: 1px solid rgba(14,165,233,0.08);
  padding: 28px 0;
}
.platform-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-head);
}
.platform-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.platform-logo {
  opacity: 0.45;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
}
.platform-logo:hover { opacity: 0.75; }
.platform-logo svg { height: 22px; width: auto; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--blue-darker);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.cta-text p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 520px;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-cta-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 13px 26px;
  border-radius: 7px;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.92rem;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-cta-outline:hover {
  border-color: white;
  color: white;
  background: rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .platform-logos { gap: 20px; }
}

/* Tighten iOS hero padding override */
@supports (-webkit-touch-callout: none) {
  .hero { padding-top: 96px; }
}

/* ============================================================
   CAPTCHA
   ============================================================ */
.captcha-field { gap: 8px; }

.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-display {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--blue-darker);
  background: repeating-linear-gradient(
    45deg,
    var(--off-white),
    var(--off-white) 4px,
    #e8f4fd 4px,
    #e8f4fd 8px
  );
  border: 1.5px solid rgba(14,165,233,0.25);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  min-width: 160px;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  filter: blur(0);
  position: relative;
  text-decoration: line-through;
  text-decoration-color: rgba(14,165,233,0.3);
}

.captcha-refresh {
  background: var(--blue-light);
  border: none;
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.captcha-refresh:hover { background: var(--blue); color: white; }
.captcha-refresh:active { transform: rotate(180deg); }
.captcha-refresh svg { pointer-events: none; }

/* ============================================================
   SECTION ILLUSTRATIONS (SVG — zero copyright risk)
   ============================================================ */

/* ── Hero SVG illustration ── */
.hero-illustration {
  width: 420px;
  flex-shrink: 0;
  position: relative;
  filter: drop-shadow(0 12px 40px rgba(14,165,233,0.14));
}
.hero-illustration svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
.hero-img-badge {
  margin-top: 12px;
  background: var(--blue-darker);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
}
.hero-img-badge span {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

/* ── About SVG cards ── */
.about-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 1.4rem;
}
.about-img-item.about-svg-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(14,165,233,0.1);
}
.about-svg-card svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Case study SVG illustrations ── */
.case-img.case-svg-img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}
.case-svg-img svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Contact office SVG map ── */
.contact-office-svg {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(14,165,233,0.12);
}
.contact-office-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-illustration { display: none; }
  .about-img-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .about-img-row { grid-template-columns: 1fr; }
}

/* ============================================================
   HERITAGE LOGO & TIMELINE
   ============================================================ */

/* ── Dual-identity logo ── */
.logo-dual { align-items: flex-start; gap: 0; }

.logo-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-primary-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.logo-rebrand-badge {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0;
  border-left: 1.5px solid rgba(14,165,233,0.3);
  padding-left: 8px;
  line-height: 1.4;
  white-space: nowrap;
}
.logo-rebrand-badge strong {
  font-weight: 700;
  color: var(--blue-dark);
}

.logo-heritage {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0.7;
  line-height: 1;
}

/* ── Heritage Timeline in About section ── */
.heritage-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
  padding: 20px 20px 20px 0;
  position: relative;
}

.heritage-node {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}

.heritage-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-light);
  border: 2px solid var(--gray);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

.heritage-dot-active {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.15);
}

.heritage-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, var(--gray), var(--blue));
  margin-left: 6px;
  opacity: 0.4;
}

.heritage-content {
  padding-bottom: 4px;
}

.heritage-year {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.heritage-node-past .heritage-year { color: var(--gray); }

.heritage-name {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-darker);
  margin-bottom: 4px;
  line-height: 1.3;
}

.heritage-node-past .heritage-name { color: var(--gray-dark); }

.heritage-desc {
  font-size: 0.82rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ── Address entity names ── */
.contact-detail-text .val strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-darker);
  margin-bottom: 2px;
}

/* ── Mobile: hide heritage sub-line in nav ── */
@media (max-width: 768px) {
  .logo-rebrand-badge { display: none; }
  .logo-heritage { display: none; }
  .heritage-timeline { padding-left: 0; }
}

/* ============================================================
   CONNECTED LOGO — Collaboration IT Networks → UNEWO
   ============================================================ */
.logo-connected {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-connection-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Past brand (left side) */
.logo-past-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.logo-connected:hover .logo-past-brand { opacity: 0.75; }

.logo-past-name {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

.logo-past-meta {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

/* Evolution arrow */
.logo-evolution-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-evolution-arrow svg {
  width: 42px;
  height: 26px;
  display: block;
}

/* Current brand (right side) */
.logo-current-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.logo-current-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}

.logo-un {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--blue-darker);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-ewo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--blue);
  letter-spacing: 0.03em;
  line-height: 1;
}

.logo-current-meta {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1;
}

/* Responsive: collapse to UNEWO only on small screens */
@media (max-width: 900px) {
  .logo-past-brand,
  .logo-evolution-arrow { display: none; }
  .logo-connected { gap: 0; }
}

/* Ensure nav stays horizontal always (no hamburger) */
#navbar { height: auto; min-height: 68px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.nav-links { display: flex !important; flex-wrap: wrap; gap: 1.2rem; }
.mobile-menu-btn { display: none !important; }

/* ============================================================
   CONSENT CHECKBOX FIX — isolated from any conflicting rules
   ============================================================ */
.consent-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 4px;
}

.consent-row-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Explicit reset — no inheritance from other rules */
input.consent-chk {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  flex-shrink: 0 !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  accent-color: #0ea5e9 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  clip: unset !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.consent-lbl-text {
  font-size: 0.85rem;
  color: var(--gray-dark, #475569);
  line-height: 1.6;
  cursor: pointer;
}

.consent-lbl-text a {
  color: var(--blue, #0ea5e9);
  text-decoration: underline;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--blue-darker, #0c1a2e);
  border-top: 2px solid var(--blue, #0ea5e9);
  padding: 16px 4.5%;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-banner[hidden] { display: none; }

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 260px;
}

.cookie-text p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin: 0;
}

.cookie-text p a {
  color: #7dd3fc;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  border: none;
  border-radius: 6px;
  font-family: var(--font-head, 'Space Grotesk', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 18px;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}
.cookie-btn:hover { opacity: 0.88; }
.cookie-btn:active { transform: scale(0.97); }

.cookie-btn-accept {
  background: var(--blue, #0ea5e9);
  color: white;
}

.cookie-btn-essential {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.45);
  padding: 8px 10px;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
}
.cookie-btn-decline:hover { color: white; }

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-essential { flex: 1; text-align: center; }
}

/* ── SIMPLIFIED NAV LOGO ── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.logo-un  { font-weight: 500; color: var(--blue-darker, #0c1a2e); }
.logo-ewo { font-weight: 800; color: var(--blue, #0ea5e9); }
.logo-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray, #94a3b8);
  display: none; /* show on wider screens only */
}
@media (min-width: 900px) {
  .logo-tagline { display: block; }
}

/* ── HERO REBRAND NOTICE ── */
.rebrand-notice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.4;
  margin-top: 10px;
  max-width: fit-content;
}
.rebrand-notice strong { color: #0c1a2e; }

/* ── CAPTCHA ── */
.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.captcha-display {
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--blue-darker, #0c1a2e);
  background: repeating-linear-gradient(45deg, #f0f9ff, #f0f9ff 4px, #e8f4fd 4px, #e8f4fd 8px);
  border: 1.5px solid rgba(14,165,233,0.25);
  border-radius: 6px;
  padding: 10px 18px;
  min-width: 160px;
  text-align: center;
  user-select: none;
  text-decoration: line-through;
  text-decoration-color: rgba(14,165,233,0.35);
  font-style: italic;
}
.captcha-refresh {
  background: #e0f2fe;
  border: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0ea5e9;
  flex-shrink: 0;
  transition: background 0.2s;
}
.captcha-refresh:hover { background: #0ea5e9; color: white; }
