/* ============================================
   ARC Consulenze SA — Stylesheet
   Professional, sober, Swiss fiduciary aesthetic
   ============================================ */

:root {
    --navy: #0f1f3d;
    --navy-light: #1a3158;
    --slate: #2d3a4a;
    --charcoal: #3d4a5c;
    --stone: #6b7a8d;
    --silver: #94a3b8;
    --pearl: #e8ecf1;
    --cream: #f5f7fa;
    --white: #ffffff;
    --accent: #8b6914;
    --accent-light: #c49a2a;
    --accent-soft: rgba(139, 105, 20, 0.08);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --max-width: 1200px;
    --radius: 4px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--slate);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   Typography
   ============================================ */

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--navy);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

em {
    font-style: italic;
    color: var(--accent);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 31, 61, 0.06);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(15, 31, 61, 0.08);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 180px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo img {
    height: 160px;
    width: auto;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
    letter-spacing: 0.04em;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--stone);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.footer .logo img {
    height: 120px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: 0.01em;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    transition: var(--transition);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15, 31, 61, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid rgba(15, 31, 61, 0.2);
}

.btn-outline:hover {
    border-color: var(--navy);
    background: rgba(15, 31, 61, 0.03);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-full { width: 100%; text-align: center; }

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ============================================
   Hero
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 200px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(15, 31, 61, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(139, 105, 20, 0.03) 0%, transparent 60%),
        linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 5%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(15, 31, 61, 0.04);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 10%;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(139, 105, 20, 0.06);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.hero-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    color: var(--navy);
    margin-bottom: 28px;
    max-width: 700px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--stone);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.2s;
}

.hero-scroll span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--silver), transparent);
    animation: scrollPulse 2s ease infinite;
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
    padding: 48px 0;
    border-top: 1px solid var(--pearl);
    border-bottom: 1px solid var(--pearl);
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.trust-label {
    font-size: 0.82rem;
    color: var(--stone);
    letter-spacing: 0.02em;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--pearl);
}

/* ============================================
   Section Shared Styles
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Services Preview (Home)
   ============================================ */

.services-preview {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--pearl);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: rgba(15, 31, 61, 0.1);
    box-shadow: 0 8px 32px rgba(15, 31, 61, 0.06);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius);
    color: var(--accent);
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--stone);
    line-height: 1.7;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-light);
    letter-spacing: 0.06em;
}

/* ============================================
   About Preview (Home)
   ============================================ */

.about-preview {
    padding: 100px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--pearl) 0%, rgba(139, 105, 20, 0.06) 100%);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--silver);
    min-height: 360px;
    border: 1px dashed rgba(15, 31, 61, 0.1);
}

.about-image-placeholder span {
    font-size: 0.85rem;
    color: var(--silver);
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin: 0 0 24px;
}

.about-content p {
    color: var(--charcoal);
    font-size: 0.95rem;
}

.about-content .btn {
    margin-top: 16px;
}

/* ============================================
   CTA
   ============================================ */

.cta {
    padding: 100px 0;
}

.cta-inner {
    background: var(--navy);
    border-radius: 8px;
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-inner h2 {
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-inner p {
    color: var(--silver);
    max-width: 480px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-inner .btn { position: relative; }

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--cream);
    padding: 64px 0 0;
    border-top: 1px solid var(--pearl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--stone);
}

.footer h4 {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    font-size: 0.9rem;
    color: var(--stone);
    margin-bottom: 8px;
}

.footer ul li a {
    transition: color var(--transition);
}

.footer ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--pearl);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--silver);
}

/* ============================================
   Page Header (inner pages)
   ============================================ */

.page-header {
    padding: 220px 0 60px;
    background: var(--cream);
    border-bottom: 1px solid var(--pearl);
}

.page-title {
    max-width: 700px;
}

.page-header .section-label {
    text-align: left;
    margin-bottom: 16px;
}

/* ============================================
   Services Detail Page
   ============================================ */

.services-detail {
    padding: 80px 0;
}

.service-block {
    padding: 56px 0;
    border-bottom: 1px solid var(--pearl);
}

.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: none; }

.service-block-header {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.service-block-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--pearl);
    line-height: 1;
    min-width: 80px;
}

.service-block-header h2 {
    margin-bottom: 12px;
}

.service-block-intro {
    font-size: 1.05rem;
    color: var(--charcoal);
    max-width: 560px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding-left: 112px;
}

.service-list-item {
    padding: 28px;
    background: var(--cream);
    border-radius: var(--radius);
    border-left: 2px solid var(--accent);
}

.service-list-item h4 {
    margin-bottom: 8px;
}

.service-list-item p {
    font-size: 0.9rem;
    color: var(--stone);
}

/* ============================================
   About Full Page
   ============================================ */

.about-full {
    padding: 80px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-intro-text h2 {
    margin-bottom: 24px;
}

.about-intro-text p {
    color: var(--charcoal);
    font-size: 0.95rem;
}

.about-image-placeholder.large {
    min-height: 400px;
}

/* Values */
.values {
    padding: 80px 0;
    background: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--pearl);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(15, 31, 61, 0.06);
}

.value-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--pearl);
    margin-bottom: 16px;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--stone);
}

/* Qualifications */
.qualifications {
    padding: 80px 0;
}

.qual-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
}

.qual-content .section-label { text-align: left; }
.qual-content .section-title { text-align: left; margin: 0 0 20px; }

.qual-content p {
    color: var(--charcoal);
    font-size: 0.95rem;
}

.qual-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qual-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--pearl);
}

.qual-badge-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 50%;
    color: var(--accent);
    flex-shrink: 0;
}

.qual-badge span {
    font-weight: 500;
    color: var(--navy);
    font-size: 0.95rem;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-block {
    margin-bottom: 32px;
}

.contact-block h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.contact-block p {
    font-size: 0.92rem;
    color: var(--charcoal);
    line-height: 1.8;
}

.contact-block a {
    color: var(--accent);
    transition: var(--transition);
}

.contact-block a:hover { color: var(--accent-light); }

.contact-note {
    font-size: 0.82rem !important;
    color: var(--silver) !important;
    font-style: italic;
    margin-top: 4px;
}

.contact-form-wrap h2 {
    margin-bottom: 8px;
}

.form-intro {
    color: var(--stone);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input:not([type="checkbox"]), 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--slate);
    border: 1.5px solid var(--pearl);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--silver);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-privacy {
    font-size: 0.78rem;
    color: var(--silver);
    margin-top: 16px;
}

.recaptcha-note {
    font-size: 0.78rem;
    color: var(--silver);
    margin-top: 8px;
}

.g-recaptcha {
    margin-top: 4px;
}

/* Form status messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-top: 24px;
    margin-bottom: -20px;
}

.form-message-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message-success svg {
    color: #059669;
    flex-shrink: 0;
}

.form-message-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-message-error svg {
    color: #dc2626;
    flex-shrink: 0;
}

/* Privacy checkbox */
.privacy-checkbox {
    margin-bottom: 20px;
}

.privacy-checkbox label {
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--charcoal);
    cursor: pointer;
    line-height: 1.5;
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
	padding: 0; 
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
	border: none;
}

.privacy-checkbox a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

.privacy-checkbox a:hover {
    color: var(--accent-light);
}

/* Map */
.map-section {
    padding: 0 0 80px;
}

.map-placeholder {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.map-inner {
    background: var(--cream);
    border: 1px dashed rgba(15, 31, 61, 0.1);
    border-radius: var(--radius);
    padding: 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--silver);
}

.map-inner p {
    color: var(--charcoal);
    font-weight: 500;
}

/* ============================================
   Legal / Privacy Policy Page
   ============================================ */

.legal-content {
    padding: 60px 0 100px;
}

.legal-inner {
    max-width: 780px;
    margin: 0 auto;
}

.legal-update {
    font-size: 0.85rem;
    color: var(--silver);
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pearl);
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--pearl);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--navy);
}

.legal-section h3 {
    font-size: 1.05rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--navy);
}

.legal-section p {
    font-size: 0.92rem;
    color: var(--charcoal);
    line-height: 1.8;
}

.legal-section a {
    color: var(--accent);
    transition: color var(--transition);
}

.legal-section a:hover {
    color: var(--accent-light);
}

.legal-list {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.legal-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    color: var(--charcoal);
    line-height: 1.7;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.legal-address {
    background: var(--cream);
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin: 16px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.legal-address p {
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.legal-address strong {
    color: var(--navy);
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes scrollPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Scroll reveal */
.service-card, .value-card, .service-block, .contact-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible, .value-card.visible, .service-block.visible, .contact-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.service-card:nth-child(2), .value-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3), .value-card:nth-child(3) { transition-delay: 0.2s; }
.value-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   Cookie Banner
   ============================================ */

.cb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cb-overlay.cb-visible {
    opacity: 1;
    pointer-events: auto;
}

.cb-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cb-banner.cb-visible {
    transform: translateY(0);
}

.cb-content {
    background: #1a1a2e;
    padding: 32px 40px;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px 12px 0 0;
}

.cb-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.cb-text {
    font-size: 0.82rem;
    color: #b0b0c0;
    line-height: 1.6;
    margin-bottom: 6px;
}

.cb-text strong {
    color: #ffffff;
    font-weight: 600;
}

.cb-text a {
    color: #b0b0c0;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.cb-text a:hover {
    color: #ffffff;
}

.cb-toggles {
    display: flex;
    gap: 28px;
    margin: 20px 0 24px;
    align-items: center;
}

.cb-toggle-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-toggle-label {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 400;
}

/* Toggle switch */
.cb-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.cb-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cb-slider {
    position: absolute;
    inset: 0;
    background: #3a3a50;
    border-radius: 24px;
    transition: background 0.3s;
}

.cb-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.cb-switch input:checked + .cb-slider {
    background: #0e8a6e;
}

.cb-switch input:checked + .cb-slider::before {
    transform: translateX(20px);
}

.cb-switch-locked {
    cursor: default;
}

.cb-switch-locked .cb-slider {
    opacity: 0.8;
}

/* Buttons */
.cb-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cb-actions-right {
    display: flex;
    gap: 12px;
}

.cb-btn {
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cb-btn-primary {
    background: #0077b6;
    color: #ffffff;
}

.cb-btn-primary:hover {
    background: #005f8f;
}

.cb-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.cb-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
    .cb-content {
        padding: 24px 20px;
    }
    .cb-actions {
        flex-direction: column;
        gap: 12px;
    }
    .cb-actions-right {
        width: 100%;
    }
    .cb-btn {
        flex: 1;
        text-align: center;
    }
    .cb-btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 968px) {
    .services-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-grid .about-image { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .service-list { grid-template-columns: 1fr; padding-left: 0; }
    .service-block-header { flex-direction: column; gap: 16px; }
    .service-block-number { min-width: auto; }
    .about-intro-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .qual-inner { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 180px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--pearl);
        box-shadow: 0 8px 32px rgba(15, 31, 61, 0.08);
    }

    .nav-links.open { display: flex; }

    .nav-links li a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--pearl);
    }

    .nav-links li:last-child a { border-bottom: none; }

    .hero { min-height: auto; padding: 210px 24px 80px; }
    .hero-scroll { display: none; }
    .trust-items { flex-direction: column; gap: 24px; }
    .trust-divider { width: 40px; height: 1px; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
