/* Cloudelles — shared styles. Same structure as yayosolutions-site, with the Cloudelles logo colours. */
:root {
  /* Brand colours taken from the official logo (assets/logo-cloudelles.png) */
  --navy: #061A3A;        /* dark sections */
  --navy-mid: #0A2550;
  --navy-light: #12346B;
  --blue: #0B57B7;        /* logo blue */
  --blue-light: #2F74D0;
  --sky: #9DBBFF;         /* light blue of the cloud */
  --sky-pale: #EAF1FF;
  --white: #FFFFFF;
  --off-white: #F4F7FC;
  --grey: #5B6A82;
  --grey-light: #D5DDEA;
  --text-dark: #0A1A33;
  --text-mid: #36465F;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text-dark); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6, 26, 58, 0.92); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(157, 187, 255, 0.15);
  transition: all 0.3s ease;
}
nav.scrolled { height: 64px; background: rgba(6, 26, 58, 0.98); border-bottom-color: rgba(157, 187, 255, 0.3); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); text-decoration: none; position: relative; padding-bottom: 2px;
  transition: color 0.2s ease;
}
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 100%; height: 1.5px; background: var(--sky); transition: right 0.3s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { background: #25D366; color: var(--navy) !important; padding: 9px 18px; border-radius: 6px; font-weight: 700 !important; display: inline-flex; align-items: center; gap: 8px; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { filter: brightness(1.08); }
.nav-cta svg { width: 16px; height: 16px; }
.lang-switch { font-size: 0.8rem !important; font-weight: 700 !important; letter-spacing: 0.08em; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 6px; padding: 7px 12px; }
.lang-switch::after { display: none !important; }
.lang-switch:hover { border-color: var(--sky); color: var(--sky) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* BUTTONS */
.btn-primary, .btn-outline, .btn-whatsapp {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: 8px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px; transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11,87,183,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); padding: 12.5px 28px; }
.btn-outline:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }
.btn-outline.btn-outline-dark { color: var(--text-dark); border-color: var(--grey-light); }
.btn-outline.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }
.btn-whatsapp { background: #25D366; color: var(--navy); }
.btn-whatsapp:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,0.3); }
.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* HERO (home) */
.hero {
  background: var(--navy); position: relative; overflow: hidden;
  display: flex; align-items: center; padding: 130px 5% 90px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(157,187,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(157,187,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow { position: absolute; top: -25%; right: -10%; width: 720px; height: 720px; background: radial-gradient(circle, rgba(11,87,183,0.38) 0%, transparent 65%); pointer-events: none; }
.hero-glow-2 { position: absolute; bottom: -35%; left: -12%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(157,187,255,0.10) 0%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; max-width: 1240px; margin: 0 auto; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(157,187,255,0.12); border: 1px solid rgba(157,187,255,0.3);
  color: var(--sky); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 26px;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.hero-title { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700; line-height: 1.1; color: var(--white); margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-title .accent { color: var(--sky); display: block; }
.hero-desc { font-size: 1.07rem; color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 520px; margin-bottom: 38px; font-weight: 300; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 500px; }
.hero-img { border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.hero-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,26,58,0.5) 100%); }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--navy); position: relative; overflow: hidden; padding: 150px 5% 80px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-title { font-size: clamp(2rem, 4vw, 3rem); max-width: 820px; }
.page-hero .hero-desc { max-width: 640px; margin-bottom: 0; }
.page-hero .hero-btns { margin-top: 32px; }

/* STATS */
.stats { background: var(--white); padding: 0 5%; position: relative; z-index: 3; }
.stats-inner { max-width: 1200px; margin: -44px auto 0; background: var(--white); border-radius: 18px; box-shadow: 0 20px 50px rgba(6,26,58,0.12); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid var(--grey-light); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--blue); display: block; line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-mid); margin-top: 8px; display: block; line-height: 1.4; }

/* SECTIONS SHARED */
section { padding: 100px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.section-tag::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .section-tag { color: var(--sky); }
.section-title { font-weight: 700; font-size: clamp(1.8rem, 3.3vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--text-dark); margin-bottom: 18px; }
.dark .section-title { color: var(--white); }
.section-desc { font-size: 1rem; color: var(--text-mid); line-height: 1.8; max-width: 600px; font-weight: 400; }
.dark .section-desc { color: rgba(255,255,255,0.68); }
.center { text-align: center; }
.center .section-desc, .center .section-title { margin-left: auto; margin-right: auto; }
.dark { background: var(--navy); position: relative; overflow: hidden; }
.light-grey { background: var(--off-white); }
.dot-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(157,187,255,0.07) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.dark .container { position: relative; z-index: 2; }

/* CARDS ON DARK (paths, themes) */
.cards-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 52px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 34px 30px; position: relative; transition: all 0.35s ease; display: flex; flex-direction: column; }
.card:hover { background: rgba(255,255,255,0.07); border-color: rgba(157,187,255,0.35); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.card-icon { width: 52px; height: 52px; background: rgba(157,187,255,0.12); border: 1px solid rgba(157,187,255,0.25); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card-title { font-weight: 600; font-size: 1.15rem; color: var(--white); margin-bottom: 12px; }
.card-desc { font-size: 0.92rem; color: rgba(255,255,255,0.62); line-height: 1.75; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 0.85rem; font-weight: 600; color: var(--sky); text-decoration: none; transition: gap 0.2s; }
.card-link:hover { gap: 10px; }

/* CARDS ON LIGHT */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.tile-grid.four { grid-template-columns: repeat(4, 1fr); }
.tile-grid.five { grid-template-columns: repeat(5, 1fr); }
.tile { background: var(--white); border-radius: 18px; padding: 28px 22px; border: 1px solid rgba(6,26,58,0.08); position: relative; overflow: hidden; transition: all 0.3s ease; }
.tile::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform 0.3s; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(6,26,58,0.1); border-color: transparent; }
.tile:hover::after { transform: scaleX(1); }
.tile-icon { margin-bottom: 14px; display: block; }
.tile-icon .ico-svg { width: 34px; height: 34px; stroke: var(--blue); }
.tile-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; color: var(--text-dark); margin-bottom: 8px; }
.tile-desc { font-size: 0.88rem; color: var(--grey); line-height: 1.65; }
.light-grey .tile { background: var(--white); }

/* SPLIT (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-img { position: relative; border-radius: 24px; overflow: hidden; height: 460px; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-badge { position: absolute; bottom: 22px; left: 22px; right: 22px; background: rgba(6,26,58,0.9); backdrop-filter: blur(10px); border-radius: 14px; padding: 18px 20px; border: 1px solid rgba(157,187,255,0.25); }
.split-badge strong { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--white); display: block; margin-bottom: 4px; }
.split-badge span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text-mid); line-height: 1.6; }
.dark .bullets li { color: rgba(255,255,255,0.75); }
.bullet-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--sky-pale); border: 1.5px solid var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.bullet-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.dark .bullet-dot { background: rgba(157,187,255,0.12); border-color: var(--sky); }
.dark .bullet-dot::after { background: var(--sky); }

/* PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 1px; background: rgba(157,187,255,0.25); }
.process-step { text-align: center; padding: 0 18px; }
.step-num { width: 72px; height: 72px; border-radius: 50%; background: rgba(157,187,255,0.1); border: 1.5px solid rgba(157,187,255,0.35); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--sky); position: relative; z-index: 2; background-color: var(--navy); transition: all 0.3s; }
.process-step:hover .step-num { background: var(--blue); color: var(--white); border-color: var(--blue); }
.step-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.step-desc { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* CHIPS */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--grey-light); padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--text-mid); }
.dark .chip { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }

/* NOTE */
.note { margin-top: 36px; font-size: 0.85rem; color: var(--grey); line-height: 1.7; max-width: 820px; border-left: 3px solid var(--sky); padding-left: 16px; }
.dark .note { color: rgba(255,255,255,0.6); }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid rgba(6,26,58,0.08); border-radius: 14px; padding: 18px 22px; }
.faq summary { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.98rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--text-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--text-mid); font-size: 0.93rem; line-height: 1.75; }

/* CTA BAND */
.cta-band { background: var(--blue); padding: 72px 5%; position: relative; overflow: hidden; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; max-width: 640px; line-height: 1.2; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 10px; max-width: 600px; }
.cta-band .glow { position: absolute; right: -10%; top: -60%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(157,187,255,0.35) 0%, transparent 65%); pointer-events: none; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(157,187,255,0.1); border: 1px solid rgba(157,187,255,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 4px; font-weight: 600; }
.contact-value { font-size: 0.98rem; color: var(--white); }
.contact-value a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(157,187,255,0.5); }
.contact-form-wrap { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09); border-radius: 24px; padding: 40px; }
.form-title { font-weight: 600; font-size: 1.15rem; color: var(--white); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.form-input, .form-select { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 13px 16px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--white); outline: none; width: 100%; transition: border-color 0.2s, background 0.2s; }
.form-input::placeholder { color: rgba(255,255,255,0.45); }
.form-input:focus, .form-select:focus { border-color: var(--sky); background: rgba(157,187,255,0.06); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--navy-mid); color: var(--white); }
.form-submit { width: 100%; padding: 15px; border: none; border-radius: 10px; background: var(--blue); color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.25s ease; }
.form-submit:hover { background: var(--blue-light); }
.form-submit[disabled] { opacity: 0.6; cursor: wait; }
.form-notice { font-size: 0.78rem; color: rgba(255,255,255,0.65); text-align: center; margin-top: 14px; }
.form-notice a { color: var(--white); }
.form-error { display: none; margin-top: 14px; font-size: 0.85rem; color: #FCA5A5; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-success { display: none; text-align: center; padding: 32px; color: var(--white); }
#form-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
#form-success p { color: rgba(255,255,255,0.65); }
.success-mark { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; }

/* ICONS */
.ico-svg { width: 24px; height: 24px; stroke: var(--sky); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* FLOATING WHATSAPP */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.25); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* FOOTER */
footer { background: #04132B; border-top: 1px solid rgba(255,255,255,0.06); padding: 56px 5% 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-logo { height: 44px; width: auto; display: block; }
.footer-brand-desc { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.75; margin-top: 16px; max-width: 300px; }
.footer-col-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--sky); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.62); line-height: 1.6; }
.footer-lang { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-decoration: none; }

/* SCROLL REVEAL: content stays visible if JavaScript does not run */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-tag-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* LEGAL PAGES */
.legal-page { max-width: 760px; margin: 0 auto; padding: 130px 16px 80px; color: var(--text-mid); line-height: 1.75; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--text-dark); margin-bottom: 8px; }
.legal-page h2 { font-size: 1.12rem; color: var(--text-dark); margin: 34px 0 10px; }
.legal-page p, .legal-page li { margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--blue); }
.legal-updated { font-size: 0.85rem; color: var(--grey); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.76rem; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { height: 340px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .tile-grid.five { grid-template-columns: repeat(3, 1fr); }
  .tile-grid.four { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: fixed; top: 76px; left: 0; right: 0; background: var(--navy); padding: 24px 5%; gap: 20px; border-bottom: 1px solid rgba(157,187,255,0.2); z-index: 999; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  section { padding: 72px 16px; }
  .hero { padding: 110px 16px 80px; }
  .page-hero { padding: 120px 16px 64px; }
  .hero-title { font-size: 2.1rem; overflow-wrap: break-word; }
  .hero-visual { display: none; }
  .hero-btns a { flex: 1 1 auto; justify-content: center; }
  .stats { padding: 0 16px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--grey-light); }
  .cards-header { flex-direction: column; align-items: flex-start; }
  .card-grid, .card-grid.two, .card-grid.four, .tile-grid, .tile-grid.four, .tile-grid.five { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .split-img { height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-band { padding: 56px 16px; }
  footer { padding: 48px 16px 28px; }
}

/* LINKED CARDS AND DETAIL PAGES */
a.tile-link, a.card-a { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.tile-link .tile-desc { flex: 1; }
.tile-more { margin-top: 16px; font-size: 0.82rem; font-weight: 600; color: var(--blue); }
.tile-grid.two-col { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
a.chip { text-decoration: none; transition: border-color 0.2s, color 0.2s; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }
.page-hero .chips { margin-top: 26px; }
.page-hero .chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.85); font-weight: 500; }
.page-hero .chip strong { color: var(--sky); font-weight: 600; }
@media (max-width: 768px) { .tile-grid.two-col { grid-template-columns: 1fr; } }
