/* =============================================================================
   ROVIKIL DESIGN SYSTEM
   Industrial Services Excellence
   Colors: Navy, Gray, Black, White (accent: Red sparingly)
   ============================================================================= */

/* -----------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   ----------------------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --color-navy: #1a2744;
    --color-navy-dark: #0f1829;
    --color-navy-light: #2a3d5f;

    /* Neutrals */
    --color-black: #0a0a0a;
    --color-gray-900: #1a1a1a;
    --color-gray-800: #2d2d2d;
    --color-gray-700: #404040;
    --color-gray-600: #525252;
    --color-gray-500: #737373;
    --color-gray-400: #a3a3a3;
    --color-gray-300: #d4d4d4;
    --color-gray-200: #e5e5e5;
    --color-gray-100: #f5f5f5;
    --color-white: #ffffff;

    /* Accent */
    --color-accent: #c41e3a;
    --color-accent-dark: #9e1830;

    /* Semantic */
    --color-success: #059669;
    --color-warning: #d97706;
    --color-error: #dc2626;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* -----------------------------------------------------------------------------
   Container
   ----------------------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* -----------------------------------------------------------------------------
   Navigation
   ----------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-base);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.15em;
    color: var(--color-white);
    transition: color var(--transition-base);
}

.nav-scrolled .logo-text {
    color: var(--color-navy);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
}

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

.nav-link i {
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-link-muted {
    color: rgba(255, 255, 255, 0.6);
}

.nav-link-muted:hover {
    color: rgba(255, 255, 255, 0.9);
}

.nav-scrolled .nav-link {
    color: var(--color-gray-700);
}

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

.nav-scrolled .nav-link-muted {
    color: var(--color-gray-400);
}

.nav-scrolled .nav-link-muted:hover {
    color: var(--color-gray-700);
}

/* Nav CTA Button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    margin-left: 0.5rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    background-color: var(--color-navy);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background-color: var(--color-navy-dark);
    transform: translateY(-1px);
}

.nav-scrolled .nav-cta {
    background-color: var(--color-navy);
    color: var(--color-white);
}

/* Nav Scrolled State */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

/* Dropdown */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 400px;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-100);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dropdown-section h4 {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-400);
    margin-bottom: 0.75rem;
}

.dropdown-section a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--color-gray-700);
    transition: all var(--transition-fast);
}

.dropdown-section a:hover {
    color: var(--color-navy);
    transform: translateX(4px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-fast);
}

.nav-scrolled .nav-toggle span {
    background-color: var(--color-navy);
}

.nav-toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* -----------------------------------------------------------------------------
   Hero Section
   ----------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-navy-light) 100%);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 24, 41, 0.95) 0%, rgba(26, 39, 68, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.hero-attributes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-attr {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
}

.hero-attr-active {
    color: var(--color-white);
}

.hero-attr-divider {
    color: rgba(255, 255, 255, 0.2);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* -----------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--color-navy-dark);
    border-color: var(--color-navy-dark);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-outline-dark:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn-primary-light:hover {
    background-color: var(--color-gray-200);
    color: var(--color-navy);
    border-color: var(--color-gray-200);
    transform: translateY(-2px);
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   Services Section
   ----------------------------------------------------------------------------- */
.section-services {
    background-color: var(--color-gray-100);
}

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

.service-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-navy);
}

.service-card-featured {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    border-color: transparent;
}

.service-card.service-card-featured h3,
.service-card.service-card-featured p {
    color: var(--color-white);
}

.service-card-featured p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card-featured .service-card-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.service-card-featured .service-card-link {
    color: var(--color-white);
}

.service-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--color-navy);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-gray-500);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-navy);
    transition: gap var(--transition-fast);
}

.service-card:hover .service-card-link {
    gap: 0.75rem;
}

/* -----------------------------------------------------------------------------
   Why Section
   ----------------------------------------------------------------------------- */
.section-why {
    background-color: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

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

.why-content .section-title {
    text-align: left;
}

.why-description {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.why-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.why-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.feature:hover {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-navy);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-900);
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   CTA Section
   ----------------------------------------------------------------------------- */
.section-cta {
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-white) 100%);
    padding: var(--spacing-3xl) 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* -----------------------------------------------------------------------------
   Sectors Section
   ----------------------------------------------------------------------------- */
.section-sectors {
    background-color: var(--color-navy-dark);
    padding: var(--spacing-4xl) 0;
}

.section-sectors .section-label {
    color: var(--color-gray-400);
}

.section-sectors .section-title {
    color: var(--color-white);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sector {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

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

.sector-number {
    display: block;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-400);
    margin-bottom: 0.5rem;
}

.sector h4 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-gray-900);
}

.footer-main {
    padding: var(--spacing-4xl) 0 var(--spacing-3xl);
}

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

.footer-main .footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-4xl);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.15em;
    color: var(--color-white);
    display: block;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-400);
    margin-bottom: 1rem;
}

.footer-excellence {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-400);
    margin-bottom: 0.5rem;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-400);
    margin-bottom: 1rem;
}

.footer-column a,
.footer-column p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-gray-400);
    padding: 0.35rem 0;
    transition: color var(--transition-fast);
}

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

.footer-column p i {
    width: 1rem;
    text-align: center;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

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

/* -----------------------------------------------------------------------------
   Messages
   ----------------------------------------------------------------------------- */
.messages-container {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

.message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--color-navy);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message-success {
    border-left-color: var(--color-success);
}

.message-error {
    border-left-color: var(--color-error);
}

.message-warning {
    border-left-color: var(--color-warning);
}

.message span {
    font-size: 0.9rem;
    color: var(--color-gray-700);
}

.message-close {
    font-size: 1.25rem;
    color: var(--color-gray-400);
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.message-close:hover {
    color: var(--color-gray-700);
}

/* -----------------------------------------------------------------------------
   Forms
   ----------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 2px rgba(26, 39, 68, 0.15);
}

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

.form-hint {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    margin-top: 0.35rem;
}

.form-error {
    font-size: 0.8rem;
    color: var(--color-error);
    margin-top: 0.35rem;
}

/* -----------------------------------------------------------------------------
   Page Headers
   ----------------------------------------------------------------------------- */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.page-header .section-label {
    color: rgba(255, 255, 255, 0.25);
    animation: softPulse 5s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% {
        color: rgba(255, 255, 255, 0.25);
    }
    50% {
        color: rgba(255, 255, 255, 0.75);
    }
}

/* -----------------------------------------------------------------------------
   Responsive Styles
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

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

    .footer-main .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        background-color: var(--color-navy-dark);
        padding: 2rem;
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--color-white);
    }

    .nav-dropdown {
        position: static;
        transform: none;
        min-width: auto;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 1rem 0;
    }

    .dropdown-section h4 {
        color: var(--color-gray-400);
    }

    .dropdown-section a {
        color: rgba(255, 255, 255, 0.8);
    }

    .dropdown-section a:hover {
        color: var(--color-white);
    }

    .has-dropdown .nav-dropdown {
        display: none;
    }

    .nav-cta {
        margin: 1rem 0 0;
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-4xl: 4rem;
        --spacing-3xl: 3rem;
    }

    .hero-title {
        white-space: normal;
    }

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

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

    .why-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-attributes {
        gap: 0.5rem;
    }

    .hero-attr-divider {
        display: none;
    }

    .hero-attr {
        font-size: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}