/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.5s, color 0.5s;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Selection */
::selection {
    background-color: #fcd34d;
    color: #0f172a;
}

::-moz-selection {
    background-color: #fcd34d;
    color: #0f172a;
}

/* Light Mode */
body.light-mode {
    background-color: #ffffff;
    color: #0f172a;
}

/* Dark Mode */
body.dark-mode {
    background-color: #020617;
    color: #f1f5f9;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 64px;
    backdrop-filter: blur(12px);
    transition: all 0.3s;
    border-bottom: 1px solid;
}

body.light-mode .navbar {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom-color: #f1f5f9;
}

body.dark-mode .navbar {
    background-color: rgba(2, 6, 23, 0.95);
    border-bottom-color: #1e293b;
}

.navbar-content {
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
    outline: none;
}

.logo:focus {
    outline: 2px solid #b45309;
    outline-offset: 4px;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

body.light-mode .logo-text {
    color: #0f172a;
}

body.dark-mode .logo-text {
    color: #ffffff;
}

.logo-highlight {
    color: #b45309;
    transition: color 0.3s;
}

.logo:hover .logo-highlight {
    color: #d97706;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-link:focus {
    outline: 2px solid #b45309;
    outline-offset: 4px;
    border-radius: 4px;
}

body.light-mode .nav-link {
    color: #64748b;
}

body.dark-mode .nav-link {
    color: #94a3b8;
}

.nav-link:hover,
.nav-link.active {
    color: #b45309;
}

.nav-link.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-divider {
    width: 1px;
    height: 1rem;
    background-color: #e2e8f0;
}

body.dark-mode .nav-divider {
    background-color: #1e293b;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 9999px;
    padding: 0.25rem;
    border: 1px solid;
}

body.light-mode .nav-controls {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

body.dark-mode .nav-controls {
    background-color: #0f172a;
    border-color: #1e293b;
}

.theme-toggle,
.lang-toggle {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 900;
    transition: all 0.3s;
}

.theme-toggle:focus,
.lang-toggle:focus {
    outline: 2px solid #b45309;
    outline-offset: 2px;
}

body.light-mode .theme-toggle {
    background-color: #ffffff;
    color: #64748b;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

body.dark-mode .theme-toggle {
    background-color: #1e293b;
    color: #fbbf24;
}

.lang-toggle {
    font-size: 10px;
}

body.light-mode .lang-toggle {
    color: #64748b;
}

body.dark-mode .lang-toggle {
    color: #cbd5e1;
}

.lang-toggle:hover {
    color: #b45309;
}

.cta-button {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

body.light-mode .cta-button {
    background-color: #0f172a;
    color: #ffffff;
}

body.dark-mode .cta-button {
    background-color: #b45309;
    color: #ffffff;
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Mobile Controls */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light-mode .mobile-menu-toggle {
    color: #0f172a;
}

body.dark-mode .mobile-menu-toggle {
    color: #ffffff;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2rem;
    animation: fadeInUp 0.3s ease-out;
}

body.light-mode .mobile-menu {
    background-color: #ffffff;
}

body.dark-mode .mobile-menu {
    background-color: #020617;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    background: none;
    border: none;
    text-align: left;
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s;
}

body.light-mode .mobile-link {
    color: #1e293b;
}

body.dark-mode .mobile-link {
    color: #e2e8f0;
}

.mobile-link:hover {
    color: #b45309;
}

.mobile-cta {
    padding-top: 2.5rem;
    border-top: 1px solid;
}

body.light-mode .mobile-cta {
    border-top-color: #f1f5f9;
}

body.dark-mode .mobile-cta {
    border-top-color: #1e293b;
}

.mobile-cta-button {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background-color: #b45309;
    color: #ffffff;
    text-align: center;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(180, 83, 9, 0.3);
    transition: transform 0.2s;
}

.mobile-cta-button:active {
    transform: scale(0.95);
}

.mobile-cta-desc {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    padding-top: 64px;
    transition: opacity 0.2s ease-in-out;
}

/* Hero Section */
.hero {
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s;
}

body.light-mode .hero {
    background-color: #f8fafc;
}

body.dark-mode .hero {
    background-color: rgba(15, 23, 42, 0.4);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
}

.hero-blob-1 {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    width: 16rem;
    height: 16rem;
    background-color: #d97706;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
}

.hero-blob-2 {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background-color: #475569;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease-out;
}

body.light-mode .hero-title {
    color: #0f172a;
}

body.dark-mode .hero-title {
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

body.light-mode .hero-subtitle {
    color: #475569;
}

body.dark-mode .hero-subtitle {
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.hero-btn {
    width: 100%;
    max-width: 20rem;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    text-align: center;
}

.hero-btn:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

.hero-btn-primary {
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

body.light-mode .hero-btn-primary {
    background-color: #0f172a;
    color: #ffffff;
}

body.dark-mode .hero-btn-primary {
    background-color: #b45309;
    color: #ffffff;
}

.hero-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.hero-btn-primary:active {
    transform: scale(0.95);
}

.hero-btn-secondary {
    border: 2px solid;
    background: transparent;
    transition: all 0.3s;
}

body.light-mode .hero-btn-secondary {
    border-color: #e2e8f0;
    color: #0f172a;
}

body.dark-mode .hero-btn-secondary {
    border-color: #1e293b;
    color: #ffffff;
}

body.light-mode .hero-btn-secondary:hover {
    background-color: #f1f5f9;
}

body.dark-mode .hero-btn-secondary:hover {
    background-color: #1e293b;
}

.hero-btn-secondary:active {
    transform: scale(0.95);
}

/* Values Section */
.values {
    padding: 6rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 2.5rem;
    border: 1px solid;
    transition: all 0.3s;
}

body.light-mode .value-card {
    border-color: #f1f5f9;
    background-color: #ffffff;
}

body.dark-mode .value-card {
    border-color: #1e293b;
    background-color: transparent;
}

.value-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

body.light-mode .value-card:hover {
    background-color: #f8fafc;
}

body.dark-mode .value-card:hover {
    background-color: rgba(15, 23, 42, 0.5);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.value-card:hover .value-icon {
    transform: rotate(12deg) scale(1.1);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
}

body.light-mode .value-title {
    color: #0f172a;
}

body.dark-mode .value-title {
    color: #ffffff;
}

.value-desc {
    font-size: 0.8125rem;
    line-height: 1.6;
}

body.light-mode .value-desc {
    color: #475569;
}

body.dark-mode .value-desc {
    color: #94a3b8;
}

/* About Page */
.about {
    padding: 6rem 0;
    transition: background-color 0.5s;
}

body.light-mode .about {
    background-color: #ffffff;
}

body.dark-mode .about {
    background-color: #020617;
}

.about-container {
    max-width: 56rem;
    margin: 0 auto;
}

.section-label {
    color: #d97706;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.page-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
}

body.light-mode .page-title {
    color: #0f172a;
}

body.dark-mode .page-title {
    color: #ffffff;
}

.about-content {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

body.light-mode .about-content {
    color: #334155;
}

body.dark-mode .about-content {
    color: #cbd5e1;
}

.about-quote {
    border-left: 4px solid #d97706;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-style: italic;
    border-radius: 0 0.75rem 0.75rem 0;
    margin-bottom: 3rem;
}

body.light-mode .about-quote {
    background-color: #f8fafc;
}

body.dark-mode .about-quote {
    background-color: rgba(15, 23, 42, 0.4);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.about-block h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
}

body.light-mode .about-block h3 {
    color: #0f172a;
}

body.dark-mode .about-block h3 {
    color: #ffffff;
}

.about-cta {
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    margin-top: 4rem;
}

body.light-mode .about-cta {
    background-color: #0f172a;
}

body.dark-mode .about-cta {
    background-color: rgba(180, 83, 9, 0.2);
}

.about-cta p {
    font-size: 1.125rem;
    font-family: 'Playfair Display', serif;
}

body.light-mode .about-cta p {
    color: #ffffff;
}

body.dark-mode .about-cta p {
    color: #fef3c7;
}

/* Services Page */
.services {
    padding: 6rem 0;
    min-height: calc(100vh - 64px);
    transition: background-color 0.5s;
}

body.light-mode .services {
    background-color: #f8fafc;
}

body.dark-mode .services {
    background-color: #020617;
}

.services-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 5rem;
}

.services-divider {
    width: 5rem;
    height: 4px;
    background-color: #f59e0b;
    margin: 0 auto 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid;
    transition: all 0.5s;
    overflow: hidden;
}

body.light-mode .service-card {
    background-color: #ffffff;
    border-color: #f1f5f9;
}

body.dark-mode .service-card {
    background-color: #0f172a;
    border-color: #1e293b;
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.service-tag {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d97706;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

body.light-mode .service-tag {
    background-color: #fef3c7;
}

body.dark-mode .service-tag {
    background-color: rgba(180, 83, 9, 0.2);
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    transition: color 0.3s;
}

body.light-mode .service-title {
    color: #0f172a;
}

body.dark-mode .service-title {
    color: #ffffff;
}

.service-card:hover .service-title {
    color: #d97706;
}

.service-desc {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

body.light-mode .service-desc {
    color: #475569;
}

body.dark-mode .service-desc {
    color: #94a3b8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s;
}

body.light-mode .service-link {
    color: #94a3b8;
}

body.dark-mode .service-link {
    color: #64748b;
}

.service-card:hover .service-link {
    color: #0f172a;
}

body.dark-mode .service-card:hover .service-link {
    color: #ffffff;
}

.service-link svg {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.service-card:hover .service-link svg {
    transform: translateX(0.25rem);
}

.service-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #f59e0b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

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

/* Insurance Info Page */
.insurance {
    padding: 6rem 0;
    transition: background-color 0.5s;
}

body.light-mode .insurance {
    background-color: #ffffff;
}

body.dark-mode .insurance {
    background-color: #020617;
}

.insurance-header {
    text-align: center;
    margin-bottom: 5rem;
}

.insurance-subtitle {
    max-width: 42rem;
    margin: 0 auto;
}

body.light-mode .insurance-subtitle {
    color: #475569;
}

body.dark-mode .insurance-subtitle {
    color: #94a3b8;
}

.faq-section {
    max-width: 56rem;
    margin: 0 auto;
}

.faq-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

body.light-mode .faq-heading {
    color: #0f172a;
}

body.dark-mode .faq-heading {
    color: #ffffff;
}

.faq-icon {
    width: 2rem;
    height: 2rem;
    background-color: #d97706;
    color: #ffffff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

body.light-mode .faq-item {
    background-color: rgba(248, 250, 252, 0.5);
    border-color: #f1f5f9;
}

body.dark-mode .faq-item {
    background-color: rgba(15, 23, 42, 0.3);
    border-color: #1e293b;
}

.faq-item:hover {
    border-color: #fcd34d;
}

body.dark-mode .faq-item:hover {
    border-color: #78350f;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.faq-question:focus {
    outline: 2px solid #b45309;
    outline-offset: -2px;
}

body.light-mode .faq-question {
    color: #1e293b;
}

body.dark-mode .faq-question {
    color: #e2e8f0;
}

.faq-item:hover .faq-question {
    color: #b45309;
}

body.dark-mode .faq-item:hover .faq-question {
    color: #f59e0b;
}

.faq-toggle {
    color: #d97706;
    transition: transform 0.3s;
    font-size: 0.875rem;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-top: 1px solid transparent;
}

.faq-answer.active {
    max-height: 500px;
}

body.light-mode .faq-answer.active {
    border-top-color: #f1f5f9;
}

body.dark-mode .faq-answer.active {
    border-top-color: #1e293b;
}

.faq-answer-content {
    padding: 1.25rem 1.5rem;
    line-height: 1.75;
}

body.light-mode .faq-answer-content {
    color: #475569;
}

body.dark-mode .faq-answer-content {
    color: #94a3b8;
}

.insurance-cta {
    margin-top: 5rem;
    padding: 2.5rem;
    border-radius: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

body.light-mode .insurance-cta {
    background-color: #0f172a;
}

body.dark-mode .insurance-cta {
    background-color: #b45309;
}

.insurance-cta-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(80px);
    transform: translate(50%, -50%);
}

.insurance-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.insurance-cta-desc {
    max-width: 32rem;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 10;
}

body.light-mode .insurance-cta-desc {
    color: #cbd5e1;
}

body.dark-mode .insurance-cta-desc {
    color: rgba(255, 255, 255, 0.8);
}

.insurance-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    background-color: #ffffff;
    color: #0f172a;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.insurance-cta-button:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

.insurance-cta-button:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.insurance-cta-button:active {
    transform: scale(0.95);
}

/* Legal Page */
.legal {
    padding: 6rem 0;
    transition: background-color 0.5s;
}

body.light-mode .legal {
    background-color: #ffffff;
}

body.dark-mode .legal {
    background-color: #020617;
}

.legal-content {
    line-height: 1.75;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

body.light-mode .legal-content h2 {
    color: #0f172a;
}

body.dark-mode .legal-content h2 {
    color: #ffffff;
}

.legal-content p {
    margin-bottom: 1rem;
}

body.light-mode .legal-content p {
    color: #334155;
}

body.dark-mode .legal-content p {
    color: #cbd5e1;
}

    /* Footer */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid;
    transition: all 0.5s;
}

body.light-mode .footer {
    background-color: #0f172a;
    border-top-color: #1e293b;
    color: #94a3b8;
}

body.dark-mode .footer {
    background-color: #0f172a;
    border-top-color: #1e293b;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section.center {
    align-items: center;
    text-align: center;
}

.footer-section.right {
    align-items: center;
}

.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.75rem;
    line-height: 1.75;
    max-width: 20rem;
}

.footer-heading {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* Footer Accordion Styles - Mobile Only */
.footer-accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.footer-accordion-toggle:hover {
    color: #d97706;
}

.footer-accordion-toggle:focus {
    outline: 2px solid #b45309;
    outline-offset: 2px;
    border-radius: 2px;
}

.footer-accordion-icon {
    transition: transform 0.3s;
    font-size: 0.625rem;
}

.footer-accordion-icon.active {
    transform: rotate(180deg);
}

.footer-accordion-content {
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/* Desktop: Always show footer links */
@media (min-width: 769px) {
    .footer-accordion-content {
        max-height: none !important;
        margin-top: 0 !important;
    }
    
    .footer-accordion-toggle {
        pointer-events: none;
        cursor: default;
    }
    
    .footer-accordion-icon {
        display: none;
    }
    
    .footer-heading {
        display: block;
    }
}

/* Mobile: Accordion functionality */
@media (max-width: 768px) {
    .footer-accordion-content {
        max-height: 0;
    }
    
    .footer-accordion-content.active {
        max-height: 300px;
        margin-top: 1rem;
    }
    
    .footer-accordion-toggle {
        pointer-events: auto;
        cursor: pointer;
    }
    
    .footer-accordion-icon {
        display: inline-block;
    }
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    font-size: 0.75rem;
    font-weight: 500;
    align-items: center;
}

.footer-section.right .footer-links {
    align-items: center;
}

.footer-link {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 0.75rem;
}

.footer-link:focus {
    outline: 2px solid #b45309;
    outline-offset: 2px;
    border-radius: 2px;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.625rem;
    text-align: center;
    opacity: 0.6;
}

.footer-credits {
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
}

.footer-credits-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(148, 163, 184, 0.05);
}

.footer-credits-link:hover {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
    transform: translateY(-2px);
}

.footer-credits-link:focus {
    outline: 2px solid #b45309;
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.spinner-large {
    width: 4rem;
    height: 4rem;
    border: 4px solid rgba(217, 119, 6, 0.3);
    border-top-color: #d97706;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-text {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

/* Loading Spinner */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    flex-direction: column;
    gap: 1rem;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

body.light-mode .spinner {
    border-color: #d97706;
    border-top-color: transparent;
}

body.dark-mode .spinner {
    border-color: #d97706;
    border-top-color: transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: #b45309;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.4);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 999;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: translateY(-2px) scale(1);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.social-link:focus {
    outline: 2px solid #b45309;
    outline-offset: 2px;
}

.social-link:hover {
    background-color: #d97706;
    color: #ffffff;
    transform: translateY(-4px);
}

.footer-email {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-email:hover {
    color: #ffffff;
}

/* Smooth Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .navbar.mobile-open {
        height: 100vh;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    /* Adjust WhatsApp button on mobile */
    .whatsapp-float {
        bottom: 5rem;
        left: 1rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.75rem;
    }
    
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-btn {
        width: auto;
    }
}

@media (min-width: 768px) {
    .footer-section.right {
        align-items: flex-end;
    }
    
    .footer-section.right .footer-links {
        align-items: flex-end;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-to-top,
    .footer-social,
    .hero-buttons,
    .service-link,
    .insurance-cta-button {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
}

/* Contact Page */
.contact {
    padding: 6rem 0;
    transition: background-color 0.5s;
}

body.light-mode .contact {
    background-color: #ffffff;
}

body.dark-mode .contact {
    background-color: #020617;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item i {
    width: 3rem;
    height: 3rem;
    background-color: #b45309;
    color: #ffffff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item h3 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.light-mode .contact-info-item h3 {
    color: #64748b;
}

body.dark-mode .contact-info-item h3 {
    color: #94a3b8;
}

.contact-info-item a,
.contact-info-item p {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

body.light-mode .contact-info-item a,
body.light-mode .contact-info-item p {
    color: #0f172a;
}

body.dark-mode .contact-info-item a,
body.dark-mode .contact-info-item p {
    color: #ffffff;
}

.contact-info-item a:hover {
    color: #b45309;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
}

body.light-mode .form-group label {
    color: #334155;
}

body.dark-mode .form-group label {
    color: #cbd5e1;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #0f172a;
    border-color: #1e293b;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b45309;
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

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

.submit-btn {
    padding: 1rem 2rem;
    background-color: #b45309;
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
}

.submit-btn:hover:not(:disabled) {
    background-color: #92400e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.4);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

body.dark-mode .form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
}

body.dark-mode .form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}