/* Global Styles */
:root {
    --bg-dark: #f7f9fc;
    --bg-panel: #ffffff;
    --accent: #ff6b4a;
    --accent-alt: #23a5a8;
    --text-primary: #1d2433;
    --text-secondary: #4e5c74;
    --border-color: rgba(17, 27, 44, 0.08);
    --shadow-soft: 0 24px 50px -30px rgba(24, 32, 51, 0.35);
    --max-width: 1140px;
    font-size: 16px;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(100% - 3rem, var(--max-width));
    margin: 0 auto;
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 2rem, var(--max-width));
    }
}

a {
    color: var(--accent-alt);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 100px;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
    background: var(--accent);
    color: #08090d;
    box-shadow: 0 12px 24px -10px rgba(255, 107, 74, 0.6);
}

.btn.ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(35, 165, 168, 0.35);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 2px solid var(--accent-alt);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-area .logo-button {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(35, 165, 168, 0.45);
    border-radius: 999px;
    padding: 0.6rem 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    padding: 0.4rem 0.75rem;
    font-size: 0.93rem;
    color: var(--text-secondary);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    background: rgba(35, 165, 168, 0.12);
    color: var(--text-primary);
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.85rem;
    gap: 0.2rem;
    text-align: right;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    padding: 6rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2.75rem;
    align-items: start;
}

.hero-background {
    background: radial-gradient(circle at top right, rgba(35, 165, 168, 0.25), transparent 60%), url("https://images.unsplash.com/photo-1523475472560-d2df97ec485c?w=1600") center/cover no-repeat;
    position: absolute;
    inset: 0;
    opacity: 0.45;
    filter: saturate(110%);
    z-index: -1;
}

.hero-content {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    position: relative;
}

.hero-media {
    display: flex;
    align-items: stretch;
}

.hero-slider {
    display: grid;
    position: relative;
    min-height: 250px;
}

.hero-slide {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    inset: 0;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.hero-slide h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-slide p {
    max-width: 580px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.hero-controls .dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(29, 36, 51, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-controls .dot.active {
    transform: scale(1.2);
    background: var(--accent);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    grid-column: 1 / -1;
    margin-top: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.75rem;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.stat-card.accent {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.2), rgba(35, 165, 168, 0.18));
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.media-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: linear-gradient(140deg, rgba(35, 165, 168, 0.08), rgba(255, 255, 255, 0.85));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.media-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.media-frame.tall {
    min-height: 320px;
}

.media-frame.wide {
    min-height: 260px;
    margin: 0 auto 3rem;
}

.media-frame.slim {
    min-height: 200px;
}

.media-frame::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 32px;
    border: 1px dashed rgba(35, 165, 168, 0.25);
    pointer-events: none;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
}

.section-header.align-left {
    text-align: left;
    margin: 0 0 2.5rem;
}

.section-header.align-left h1,
.section-header.align-left h2 {
    margin-bottom: 0.75rem;
}

.accordion-area,
.services,
.process,
.experience,
.platforms,
.security,
.insights,
.contact-section {
    padding: 4.5rem 0;
    position: relative;
}

.section-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: start;
}

.section-columns .visual {
    align-self: stretch;
}

.accordion {
    background: var(--bg-panel);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.accordion-trigger {
    width: 100%;
    background: transparent;
    color: var(--text-primary);
    padding: 1.5rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-bottom: 1px solid rgba(17, 27, 44, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-trigger .icon {
    font-size: 1.5rem;
    opacity: 0.5;
}

.accordion-trigger[aria-expanded="true"] .icon {
    transform: rotate(45deg);
    opacity: 0.8;
}

.accordion-panel {
    display: none;
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    background: linear-gradient(180deg, rgba(35, 165, 168, 0.05), rgba(255, 255, 255, 0.8));
}

.accordion-panel.open {
    display: block;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.service-grid article {
    background: var(--bg-panel);
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.service-grid article::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 165, 168, 0.08), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(35, 165, 168, 0.3);
    box-shadow: 0 25px 40px -30px rgba(24, 32, 51, 0.35);
}

.service-grid article:hover::after {
    opacity: 1;
}

.service-grid h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step {
    background: var(--bg-panel);
    padding: 1.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.step-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-alt);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.experience-grid article {
    background: var(--bg-panel);
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.platform-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.platform-carousel span {
    background: var(--bg-panel);
    padding: 1rem 1.25rem;
    border-radius: 999px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.security-grid article {
    background: var(--bg-panel);
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.insight-cards article {
    background: var(--bg-panel);
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.insight-cards .text-link {
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.contact-info .media-frame {
    margin-bottom: 1.75rem;
}

.next-steps-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.contact-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.form-row label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-row input,
.form-row textarea {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 27, 44, 0.12);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--accent-alt);
    box-shadow: 0 0 0 3px rgba(35, 165, 168, 0.25);
    outline: none;
    background: #ffffff;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.site-footer {
    background: #e9eef6;
    padding: 3.5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: start;
    justify-items: stretch;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.site-footer h3 {
    margin-top: 0;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-credit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.page-main {
    padding: 5rem 0;
}

.policy-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    padding: 2.75rem;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 600px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .media-frame.wide {
        margin-bottom: 2rem;
    }
}

@media (max-width: 960px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        min-width: 280px;
        border-radius: 16px;
        padding: 1rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-soft);
    }

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

    .header-contact {
        width: 100%;
        flex-direction: row;
        justify-content: flex-end;
        gap: 1rem;
        text-align: right;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    :root {
        font-size: 15px;
    }

    .site-header {
        padding: 1rem 0;
    }

    .hero-content {
        padding: 1.75rem;
    }

    .hero-slide h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 4.5rem 0 3rem;
    }

    .accordion-area,
    .services,
    .process,
    .experience,
    .platforms,
    .security,
    .insights,
    .contact-section {
        padding: 3.5rem 0;
    }

    .media-frame {
        padding: 1.75rem;
    }

    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
}


