:root {
    --deep-purple: #2E1A47;
    --dark-purple: #140A24;
    --mid-purple: #4B2C6E;
    --gold: #C9A66B;
    --green: #4CAF50;
    --text-grey: #555555;
    --bg-light: #F8F9FA;
}

body {
    font-family: 'Poppins', sans-serif; /* Avenir-like body font */
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: var(--text-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Anchor links land below the sticky header; headings and taglines avoid one-word last lines */
html { scroll-padding-top: 90px; }
h1, h2, h3, h4, .solution-tagline-box p, .contact-lead { text-wrap: balance; }

/* --- Floating Diamond Shards (Placeholder for 3D assets) --- */
.shard {
    position: fixed;
    width: 350px;
    height: 350px;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: linear-gradient(135deg, var(--deep-purple), var(--mid-purple), var(--gold), var(--green), var(--deep-purple));
    background-size: 300% 300%;
    animation: float 12s infinite ease-in-out, iridescence 8s infinite linear;
}

.shard-1 { top: -150px; left: -150px; }
.shard-2 { top: 30%; right: -200px; animation-delay: 3s, 1s; }
.shard-3 { bottom: -150px; left: 30%; animation-delay: 6s, 2s; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes iridescence {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Header & Nav --- */
header {
    background: linear-gradient(90deg, #FBF9FC 0%, #FBF9FC 20%, var(--mid-purple) 50%, var(--deep-purple) 80%, var(--dark-purple) 100%);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--deep-purple);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--deep-purple);
    letter-spacing: 2px;
}

/* Bold display font for headings and the About statement; body text stays Poppins */
h1, h2, h3, h4, .logo {
    font-family: 'Lato', sans-serif;
}

.logo-img { height: 60px; width: auto; display: block; }

.footer-logo-chip {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 10px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.footer-logo-chip .logo-img { height: 34px; margin: 0; }

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover { color: var(--gold); }

/* --- Solutions dropdown (hover on desktop, click on touch) --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-trigger svg {
    transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(20, 10, 36, 0.18);
    padding: 22px 10px 10px;
    margin-top: 0;
    min-width: 290px;
    z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    margin-left: 0;
    color: var(--deep-purple);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 8px;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--deep-purple);
}

.nav-dropdown-divider {
    height: 1px;
    background: #EEE;
    margin: 6px 8px;
}

.nav-dropdown-viewall {
    color: var(--gold) !important;
    font-weight: 700 !important;
}

/* --- Mobile nav (hamburger + slide-in panel) --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
    position: fixed;
    inset: 0;
    background: white;
    padding: 90px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
    overflow-y: auto;
}

.nav-panel[data-open="true"] { transform: translateX(0); }

.nav-panel a {
    display: block;
    color: var(--deep-purple);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid #EEE;
}

.nav-panel-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    margin: 20px 0 4px;
}

.nav-panel-sub a {
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0 10px 16px;
    border-bottom: none;
    color: var(--text-grey);
}

.nav-panel-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: var(--deep-purple);
    cursor: pointer;
    padding: 4px 8px;
}

@media (max-width: 1024px) {
    header {
        background: linear-gradient(90deg, #FBF9FC 0%, #FBF9FC 66%, var(--mid-purple) 84%, var(--deep-purple) 100%);
    }
    header nav { display: none; }
    .nav-toggle { display: inline-flex; }
}

@media (min-width: 1025px) {
    .nav-panel, .nav-toggle { display: none; }
}

/* --- Hero (Only place with gradient) --- */
.hero {
    background: linear-gradient(135deg, var(--dark-purple), var(--deep-purple), var(--mid-purple));
    color: white;
    padding: 120px 10%;
    text-align: center;
}

.hero h1 { font-size: 64px; font-weight: 900; margin-bottom: 20px; }
.hero p { font-size: 20px; font-weight: 300; max-width: 800px; margin: 0 auto 40px; color: #d1d1d1; line-height: 1.8; }

/* Home page hero: centred text over the skyline, which bleeds off the right edge and fades softly into the purple */
.hero-home {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 120px 10%;
    background: linear-gradient(100deg, var(--dark-purple) 0%, var(--deep-purple) 55%, var(--deep-purple) 100%);
}

.hero-home-inner { position: relative; z-index: 1; }
.hero-home h1, .hero-home p { text-shadow: 0 2px 18px rgba(20, 10, 36, 0.55); }

.hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    max-width: 1100px;
    z-index: 0;
    pointer-events: none;
}

.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 78%; }

/* Eased fades (many small steps) so no visible lines: left edge, top edge and bottom edge melt into the purple */
.hero-photo::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: -3px;
    background:
        linear-gradient(90deg,
            rgba(46, 26, 71, 1) 0%, rgba(46, 26, 71, 0.94) 6%, rgba(46, 26, 71, 0.84) 14%, rgba(46, 26, 71, 0.70) 24%,
            rgba(46, 26, 71, 0.54) 35%, rgba(46, 26, 71, 0.38) 46%, rgba(46, 26, 71, 0.24) 58%, rgba(46, 26, 71, 0.13) 70%,
            rgba(46, 26, 71, 0.06) 82%, rgba(46, 26, 71, 0.02) 92%, rgba(46, 26, 71, 0) 100%),
        linear-gradient(180deg,
            rgba(46, 26, 71, 1) 0%, rgba(46, 26, 71, 0.82) 5%, rgba(46, 26, 71, 0.62) 11%, rgba(46, 26, 71, 0.42) 18%,
            rgba(46, 26, 71, 0.26) 26%, rgba(46, 26, 71, 0.14) 35%, rgba(46, 26, 71, 0.06) 45%, rgba(46, 26, 71, 0) 58%),
        linear-gradient(0deg,
            rgba(46, 26, 71, 0.60) 0%, rgba(46, 26, 71, 0.38) 4%, rgba(46, 26, 71, 0.20) 9%, rgba(46, 26, 71, 0.08) 15%,
            rgba(46, 26, 71, 0) 22%),
        linear-gradient(180deg, rgba(46, 26, 71, 0.28) 0%, rgba(46, 26, 71, 0.18) 100%);
}

@media (min-width: 1500px) {
    .hero-home { min-height: 32vw; display: flex; align-items: center; justify-content: center; }
    .hero-home-inner { width: 100%; }
    .hero-home h1 { font-size: 72px; }
}

@media (max-width: 900px) {
    /* Phones and tablets: the skyline sits behind the text */
    .hero-home { padding: 80px 8% 90px; }
    .hero-photo { left: 0; width: auto; max-width: none; }
    .hero-photo img { object-position: 50% 85%; }
    .hero-photo::after {
        background: linear-gradient(180deg, rgba(20, 10, 36, 0.90) 0%, rgba(46, 26, 71, 0.80) 60%, rgba(46, 26, 71, 0.64) 100%);
    }
    .hero-home p { color: #ECE8F2; }
}
.cta-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-purple);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    margin: 8px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.cta-btn:hover { background: white; }

.cta-btn-outline {
    display: inline-block;
    border: 1px solid var(--gold);
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    margin: 8px 10px;
}

/* --- Standard Section Layout --- */
.section-block {
    padding: 100px 10%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-block h2 {
    font-size: 36px;
    color: var(--deep-purple);
    font-weight: 700;
    margin-bottom: 30px;
}

.section-block .intro-text {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Full-bleed tint — pairs with .section-block to stretch a coloured
   background edge-to-edge (Uyandiswa / real-site convention) while
   inner headings and text keep their own centred max-widths. */
.section-tinted {
    background: var(--bg-light);
    max-width: none;
    margin: 0;
    padding: 100px 10%;
}

/* --- Uyandiswa Style Rounded Boxes (3 stacks) --- */
.rounded-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.rounded-box {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s;
}

.rounded-box:hover { transform: translateY(-5px); }

.rounded-box h4 { color: var(--deep-purple); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.rounded-box p { font-size: 15px; margin-bottom: 0; }

/* --- Solution detail hero: wording left, quoted tagline box right --- */
.solution-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.solution-tagline-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 36px;
}

.solution-tagline-box p {
    font-family: 'Lato', sans-serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--gold);
    margin: 0;
}

@media (max-width: 900px) {
    .solution-hero-grid { grid-template-columns: 1fr; }
    .solution-tagline-box p { font-size: 21px; }
}

/* --- Collapsible "What's Included" cards --- */
.collapsible-trigger {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.collapsible-trigger h4 { margin: 0; }

.collapsible-chevron {
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.25s;
    color: var(--deep-purple);
}

.collapsible-trigger[aria-expanded="true"] .collapsible-chevron {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapsible-content p {
    margin: 10px 0 0;
}

.collapsible-box[data-open="true"] .collapsible-content {
    max-height: 300px;
}

/* --- About Osheza / How We Work (Uyandiswa-style two-column layout) --- */
.about-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    align-items: start;
}

.rounded-box-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rounded-box-stack .rounded-box {
    background: white;
    box-shadow: 0 4px 15px rgba(46, 26, 71, 0.08);
    padding: 20px 24px;
}

.rounded-box-stack .rounded-box h4 { margin-bottom: 6px; }
.rounded-box-stack .rounded-box p { line-height: 1.45; }

@media (max-width: 900px) {
    .about-work-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --- About Osheza Specifics --- */
.big-statement {
    text-wrap: balance;
    font-family: 'Poppins', sans-serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--deep-purple);
    margin-bottom: 0;
    max-width: 1100px;
}

.about-statement { align-self: center; }

.section-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.why .why-lead {
    font-family: 'Lato', sans-serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gold);
    max-width: 800px;
    margin-bottom: 28px;
}

@media (max-width: 900px) {
    .why .why-lead { font-size: 21px; }
}

/* --- Why It Matters (full-bleed band, matches Why Osheza / Uyandiswa) --- */
.why-matters-box {
    background: var(--deep-purple);
    color: white;
    padding: 90px 10%;
    text-align: center;
}

.why-matters-box h2 { color: white; font-size: 28px; margin-bottom: 20px; }
.why-matters-box p { font-size: 20px; font-weight: 300; line-height: 1.8; max-width: 800px; margin: 0 auto; }

/* --- Solutions Grid (3 across) --- */
.solutions {
    background: var(--bg-light);
    padding: 100px 5%;
    text-align: center;
}

.solutions h2 { font-size: 36px; color: var(--deep-purple); margin-bottom: 20px; }

.solutions-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 17px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(46, 26, 71, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(46, 26, 71, 0.1); }

.card-icon {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, var(--deep-purple), var(--gold));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    margin-bottom: 15px;
}

.card h3 { color: var(--deep-purple); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14px; margin-bottom: 20px; line-height: 1.6; }

.card a { color: var(--gold); font-size: 14px; font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }

/* --- Insights page: expandable article cards --- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    align-items: start;
}

.insight-card {
    background: white;
    box-shadow: 0 4px 15px rgba(46, 26, 71, 0.05);
}

.insight-card:hover { transform: none; }

.insight-tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 8px;
}

.insight-card .collapsible-trigger h4 { font-size: 20px; }

.insight-card[data-open="true"] .collapsible-content { max-height: 1400px; }

.insight-card .collapsible-content p { font-size: 15px; line-height: 1.7; }
.insight-card .collapsible-content ol,
.insight-card .collapsible-content ul { margin: 12px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.7; }
.insight-card .collapsible-content li { margin-bottom: 6px; }
.insight-card .collapsible-content a { color: var(--deep-purple); font-weight: 700; }
.insight-card .collapsible-content a:hover { color: var(--gold); }
.insight-card .collapsible-content .insight-note { font-size: 14px; color: var(--text-grey); margin-top: 14px; }

.insight-disclaimer {
    max-width: 1200px;
    margin: 28px auto 0;
    text-align: left;
    font-size: 13px;
    color: #888;
}

@media (max-width: 900px) {
    .insights-grid { grid-template-columns: 1fr; }
}

/* --- Training band (sits under the six solution cards) --- */
.training-band {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 28px auto 0;
    padding: 30px 36px;
    background: var(--deep-purple);
    border-radius: 20px;
    text-align: left;
}

.training-band .section-label { margin: 0 0 6px; }

.training-band-text {
    color: white;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
}

.training-band .cta-btn-outline { white-space: nowrap; margin: 0; }

@media (max-width: 800px) {
    .training-band { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
}

/* --- Why Osheza (Solid color) --- */
.why {
    background: var(--deep-purple);
    color: white;
    padding: 100px 10%;
}

.why h2 { font-size: 36px; font-weight: 700; margin-bottom: 40px; max-width: 600px; }

.why p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 20px;
    color: #d1d1d1;
}

/* --- Our Team --- */
.team-section { padding: 80px 10%; }

.team-inner { max-width: 1000px; margin: 0 auto; text-align: left; }

.team-inner .section-label { margin: 0 0 8px; }

.team-section h2 { margin-bottom: 28px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.team-card {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(46, 26, 71, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(46, 26, 71, 0.1); }

.team-photo {
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, var(--deep-purple), var(--mid-purple));
    border: 3px solid var(--gold);
}

.team-photo { overflow: hidden; }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.team-body h3 { color: var(--deep-purple); font-size: 20px; margin: 0 0 2px; }

.team-role {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 10px;
}

.team-bio { font-size: 14px; line-height: 1.65; margin: 0 0 12px; }
.team-bio.is-placeholder { color: #999; font-style: italic; }

.team-link { color: var(--deep-purple); }

.team-support { margin: 22px 0 0; font-size: 15px; color: var(--text-grey); }

@media (max-width: 900px) {
    .team-section { padding: 56px 8%; }
    .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .team-card { flex-direction: column; align-items: center; text-align: center; }
}

/* Why Osheza: plain text on the purple band (the skyline now lives in the home page hero) */
.why-grid { max-width: 1200px; margin: 0 auto; }
.why-text { max-width: 800px; }
/* --- Built on Purpose --- */
.values {
    padding: 80px 10%;
    background: white;
    text-align: center;
}

.values h2 { font-family: 'Poppins', sans-serif; color: var(--deep-purple); text-align: center; margin-bottom: 50px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.value-item { border-bottom: 2px solid var(--gold); padding-bottom: 10px; }
.value-item h4 { font-family: 'Poppins', sans-serif; color: var(--deep-purple); font-size: 20px; margin-bottom: 5px; }
.value-item p { font-size: 15px; margin-bottom: 0; }

/* --- Contact (compact free-review enquiry form) --- */
.contact-section {
    padding: 48px 10% 52px;
    background: var(--bg-light);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-purple);
    transition: color 0.3s;
}

.social-icon:hover { color: var(--gold); }

.contact-form {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--deep-purple);
    margin-bottom: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 9px 12px;
    border: 1px solid #E2DCE8;
    border-radius: 8px;
    background: white;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E1A47' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    color: var(--text-grey);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form textarea { min-height: 72px; resize: vertical; }

.contact-form .is-invalid { border-color: #B3261E; margin-bottom: 4px; }

.field-error {
    display: block;
    color: #B3261E;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.field-error:empty { display: none; }

/* Honeypot: invisible to people, visible to simple bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-foot {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 2px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}

.form-consent input { width: auto; flex-shrink: 0; margin: 3px 0 0; }

.form-consent label {
    flex: 1;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-grey);
    margin: 0;
}

.form-consent label a { color: var(--deep-purple); font-weight: 700; }
.form-consent label a:hover { color: var(--gold); }

.form-foot .cta-btn {
    margin: 0;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.contact-form-status {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--deep-purple);
    font-weight: 700;
    display: none;
}

.contact-form-status.is-error { color: #B3261E; }

@media (max-width: 700px) {
    .contact-section { padding: 36px 6% 40px; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .form-foot { flex-direction: column; align-items: stretch; gap: 14px; }
    .form-foot .cta-btn { width: 100%; }
}

/* --- Contact page --- */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(46, 26, 71, 0.05);
    text-align: left;
}

.contact-card h3 { color: var(--deep-purple); font-size: 18px; margin: 0 0 14px; }
.contact-card p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.contact-card .contact-card-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    margin: 14px 0 2px;
}
.contact-card a { color: var(--deep-purple); font-weight: 700; text-decoration: none; }
.contact-card a:hover { color: var(--gold); }

.contact-page-grid .contact-form { max-width: none; margin: 0; }

.enquiry-type { border: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.enquiry-type legend { font-size: 12px; font-weight: 700; color: var(--deep-purple); padding: 0; margin-bottom: 6px; }
.contact-form .enquiry-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--deep-purple);
    background: white;
    border: 1px solid #E2DCE8;
    border-radius: 999px;
    padding: 7px 14px;
    margin: 0;
    cursor: pointer;
}
.contact-form .enquiry-option input { width: auto; margin: 0; padding: 0; }
.contact-form .enquiry-option:has(input:checked) { border-color: var(--gold); background: #FBF6EC; }
.enquiry-note { font-size: 13px; color: #777; margin: 0 0 12px; min-height: 1.2em; }

.footer-contact { margin: 14px 0 0; font-size: 13px; opacity: 0.85; }
.footer-contact a { margin: 0 4px; }

@media (max-width: 800px) {
    .contact-page-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Footer & Commitment (Different Shades) --- */
.commitment {
    background: var(--mid-purple);
    color: white;
    padding: 80px 10%;
    text-align: center;
}

.commitment h2 { color: white; font-size: 32px; margin-bottom: 20px; }
.commitment p { font-size: 18px; font-weight: 300; }

footer {
    background: linear-gradient(135deg, var(--mid-purple) 0%, var(--deep-purple) 45%, var(--dark-purple) 75%, #000 100%);
    color: white;
    padding: 40px 10%;
    text-align: center;
    font-size: 14px;
}

footer a { color: white; margin: 0 15px; text-decoration: none; }

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    opacity: 0.7;
}

/* --- Legal pages (Privacy Notice) --- */
.legal-body {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.legal-body h2 {
    font-size: 22px;
    color: var(--deep-purple);
    margin: 40px 0 12px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p {
    margin: 0 0 16px;
    line-height: 1.8;
}

.legal-body ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.legal-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-body a {
    color: var(--deep-purple);
    font-weight: 700;
}

.legal-body a:hover { color: var(--gold); }

@media (max-width: 900px) {
    .hero h1 { font-size: 40px; }
    .rounded-box-grid, .values-grid { grid-template-columns: 1fr; }
    .nav-dropdown-menu {
        left: auto;
        right: 0;
        transform: none;
        min-width: 250px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .grid-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-container { grid-template-columns: 1fr; }
}
