/* ============================================
   EMR Resources — Website Styles
   ============================================ */

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

:root {
    --purple: #6B21A8;
    --purple-light: #7C3AED;
    --purple-dark: #581C87;
    --maroon: #6B1D3A;
    --maroon-dark: #4A0E25;
    --gold: #D4A843;
    --gold-light: #F0D68A;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --nav-height: 80px;
    --section-padding: 120px;
    --container-width: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    transition: all var(--transition);
}

.nav:not(.scrolled) .nav-logo-img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
    position: relative;
}

.nav:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    color: var(--purple);
}

.nav:not(.scrolled) .nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    transition: width var(--transition);
}

.nav:not(.scrolled) .nav-link::after {
    background: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    background: var(--purple);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition);
}

.nav-link-cta:hover {
    background: var(--purple-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-link-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all var(--transition);
    border-radius: 2px;
}

.nav:not(.scrolled) .nav-toggle span {
    background: var(--white);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--purple-dark) 50%, #1e1b4b 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: patternDrift 30s linear infinite;
}

@keyframes patternDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    padding: 0 24px;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    padding: 8px 20px;
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 100px;
    background: rgba(212, 168, 67, 0.08);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--gold-light);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(107, 33, 168, 0.35);
}

.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 33, 168, 0.4);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Sections --- */
.section {
    padding: var(--section-padding) 0;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 16px;
}

.section-label-light {
    color: var(--gold);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--purple);
}

.section-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-top: 16px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

/* --- About Section --- */
.section-about {
    background: var(--off-white);
}

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

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--purple);
    box-shadow: 0 8px 30px rgba(107, 33, 168, 0.08);
    transform: translateY(-2px);
}

.stat-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: var(--white);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.stat-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* --- Mission Section --- */
.section-mission {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.mission-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--maroon-dark), var(--purple-dark));
    z-index: 0;
}

.mission-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 67, 0.08), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.1), transparent 60%);
}

.mission-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.mission-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.5;
    font-style: italic;
}

.mission-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 32px auto;
    border-radius: 2px;
}

.mission-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 36px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--purple-light));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    opacity: 0.6;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-text {
    font-size: 0.925rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* --- Structure Section --- */
.section-structure {
    background: var(--off-white);
}

.structure-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
}

.structure-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 44px 36px;
    transition: all var(--transition);
}

.structure-card:hover {
    border-color: var(--purple);
    box-shadow: 0 16px 48px rgba(107, 33, 168, 0.06);
}

.structure-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.1), rgba(124, 58, 237, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--purple);
}

.structure-icon svg {
    width: 28px;
    height: 28px;
}

.structure-location {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.structure-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.structure-text {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 20px;
}

.structure-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.structure-list li {
    font-size: 0.875rem;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
}

.structure-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.4;
}

.structure-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
}

.connector-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, var(--gray-300), transparent);
}

.connector-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    flex-shrink: 0;
}

.connector-icon svg {
    width: 22px;
    height: 22px;
}

/* --- Values Section --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    transition: all var(--transition);
}

.value-item:hover {
    background: var(--gray-50);
}

.value-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
}

.value-item:hover .value-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(107, 33, 168, 0.3);
}

.value-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.value-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.value-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Brands Section --- */
.section-brands {
    background: var(--off-white);
}

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

.brand-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px 36px;
    transition: all var(--transition);
    display: block;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--gold));
    opacity: 0;
    transition: opacity var(--transition);
}

.brand-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(107, 33, 168, 0.1);
    transform: translateY(-4px);
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.brand-logo-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 80px;
    gap: 4px;
}

.brand-logo-img {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.brand-logo-orved {
    height: 120px;
}

.brand-name-large {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.brand-since {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.brand-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition);
    flex-shrink: 0;
}

.brand-card:hover .brand-arrow {
    background: var(--purple);
    color: var(--white);
    transform: translate(2px, -2px);
}

.brand-arrow svg {
    width: 18px;
    height: 18px;
}

.brand-tagline {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 12px;
}

.brand-description {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 0;
}

.brand-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 6px 14px;
    border-radius: 100px;
    transition: all var(--transition);
}

.brand-card:hover .brand-tag {
    border-color: rgba(107, 33, 168, 0.15);
    background: rgba(107, 33, 168, 0.04);
    color: var(--purple);
}

/* --- Contact Section --- */
.section-contact {
    background: linear-gradient(135deg, var(--gray-900), var(--maroon-dark));
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.contact-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(107, 33, 168, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.contact-item-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
}

/* Contact form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.925rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    outline: none;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--purple);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.08);
}

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

.form-group select {
    cursor: pointer;
    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='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Animations --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.2s; }
.animate-in:nth-child(2) { animation-delay: 0.4s; }
.animate-in:nth-child(3) { animation-delay: 0.6s; }
.animate-in:nth-child(4) { animation-delay: 0.8s; }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .structure-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .structure-connector {
        flex-direction: row;
        padding: 0 20px;
    }

    .connector-line {
        width: auto;
        height: 1px;
        flex: 1;
        background: linear-gradient(to right, transparent, var(--gray-300), transparent);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 5;
    }

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

    .nav-links .nav-link {
        font-size: 1.25rem;
        color: var(--gray-800) !important;
    }

    .nav-links .nav-link::after {
        display: none;
    }

    .nav-links .nav-link-cta {
        color: var(--white) !important;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--gray-800) !important;
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: var(--gray-800) !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .value-item {
        padding: 24px 16px;
    }

    .contact-form-wrapper {
        padding: 28px 24px;
    }

    .hero {
        min-height: 100svh;
    }

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
    }
}
