/*
Theme Name: My Home Kadugodi
Author: My Home Kadugodi
Version: 1.0
*/

:root {
    --navy-primary: #0F223D;
    --navy-dark: #08162B;
    --navy-hover: #1A3860;
    --navy-subtle: #F0F4FA;
    --gold-accent: #B8933A;
    --gold-light: #E5C368;
    --gold-soft: #FAF5E8;
    --gold-gradient: linear-gradient(135deg, #B8933A 0%, #E5C368 50%, #B8933A 100%);

    --bg-white: #FFFFFF;
    --bg-warm: #FAF8F5;
    --bg-sand: #FAF7F2;
    --bg-card: #FFFFFF;

    --text-heading: #0F1D33;
    --text-body: #4A5568;
    --text-muted: #718096;

    --border-light: #EAE5DC;
    --border-card: #EAE6DE;
    --border-subtle: rgba(15, 34, 61, 0.08);

    --shadow-sm: 0 2px 8px rgba(15, 34, 61, 0.04);
    --shadow-md: 0 6px 20px rgba(15, 34, 61, 0.06);
    --shadow-lg: 0 15px 35px rgba(15, 34, 61, 0.1);
    --shadow-luxury: 0 20px 45px rgba(15, 34, 61, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --font-heading: 'Cinzel', serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--navy-primary);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--gold-accent);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    display: inline-flex;
    align-items: center;
}

.main-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.logo-link:hover .main-logo-img {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-link {
    color: var(--text-heading);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.25s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav-brochure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--navy-primary);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(15, 34, 61, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-nav-brochure:hover {
    background: var(--navy-hover);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

.call-now-icon {
    flex-shrink: 0;
    animation: callBounce 1.2s infinite;
}

@keyframes callBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--navy-primary);
    cursor: pointer;
    padding: 8px;
}

.hero-banner {
    position: relative;
    padding: 85px 0 75px;
    overflow: hidden;
    background-color: #0A192F;
    border-bottom: 1px solid var(--border-light);
}

.hero-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 34, 61, 0.94) 0%, rgba(15, 34, 61, 0.85) 50%, rgba(15, 34, 61, 0.65) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.hero-title span {
    color: var(--gold-light);
}

.hero-tagline {
    font-size: 1.1rem;
    color: #E2E8F0;
    line-height: 1.65;
    margin: 0;
}

.main-content-section {
    padding: 60px 0 90px;
    background-color: var(--bg-warm);
}

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

.blog-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
    box-shadow: var(--shadow-md);
}

.blog-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #F1F5F9;
}

.blog-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb-img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--gold-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-accent);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.blog-card-title a {
    color: var(--text-heading);
}

.blog-card-title a:hover {
    color: var(--gold-accent);
}

.blog-excerpt {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}

.blog-read-more:hover {
    color: var(--navy-primary);
    gap: 12px;
}

.pagination-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    background: var(--navy-primary);
    color: #FFFFFF;
    border-color: var(--navy-primary);
}

.slug-breadcrumb-bar {
    padding: 18px 0 12px;
    background: var(--bg-warm);
}

.slug-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.86rem;
}

.slug-breadcrumb .bc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #DC2626;
    font-weight: 600;
}

.slug-breadcrumb .bc-link:hover {
    color: var(--navy-primary);
}

.slug-breadcrumb .bc-sep {
    color: #94A3B8;
}

.slug-breadcrumb .bc-current {
    color: #475569;
    font-weight: 500;
}

.slug-back-wrap {
    margin-bottom: 22px;
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.btn-back-blog:hover {
    border-color: var(--gold-accent);
    color: var(--gold-accent);
    transform: translateX(-3px);
}

.single-post-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.single-main-col {
    display: flex;
    flex-direction: column;
}

.slug-title-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 34px 38px 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.slug-category-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #DC2626;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.slug-post-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.3;
    margin-bottom: 18px;
}

.slug-meta-row {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.86rem;
    color: #64748B;
    margin-bottom: 20px;
}

.slug-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.slug-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.btn-share-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-share-pill:hover {
    border-color: #0A66C2;
    color: #0A66C2;
}

.slug-featured-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.slug-featured-img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    display: block;
}

.slug-content-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 38px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.toc-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.toc-title {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #64748B;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-link {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.45;
    display: block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.toc-link:hover, .toc-link.active {
    color: #DC2626;
    transform: translateX(4px);
}

.single-featured-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.single-post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.single-post-body h2,
.single-post-body h3,
.single-post-body h4 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.35;
}

.single-post-body h2 {
    font-size: 1.65rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.single-post-body h3 {
    font-size: 1.35rem;
}

.single-post-body p {
    margin-bottom: 20px;
}

.single-post-body ul,
.single-post-body ol {
    margin: 20px 0 24px 24px;
}

.single-post-body li {
    margin-bottom: 8px;
}

.single-post-body blockquote {
    border-left: 4px solid var(--gold-accent);
    padding: 18px 24px;
    background: var(--gold-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: #5A3825;
    margin: 26px 0;
}

.single-post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.single-post-body th,
.single-post-body td {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
}

.single-post-body th {
    background: var(--navy-subtle);
    color: var(--navy-primary);
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.sidebar-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    color: var(--text-heading);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.lead-box-header {
    text-align: center;
    margin-bottom: 20px;
}

.lead-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: var(--gold-soft);
    color: var(--gold-accent);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    border: 1px solid var(--border-light);
}

.lead-box-header h4 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.lead-box-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    background: #FAF8F5;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.form-control:focus {
    background: #FFFFFF;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 2px rgba(184, 147, 58, 0.2);
}

.phone-input-row {
    display: flex;
    gap: 8px;
}

.country-select {
    width: 85px;
    padding: 11px 8px;
    background: #FAF8F5;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
}

.btn-enquire-lead {
    width: 100%;
    padding: 13px 20px;
    background: var(--navy-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #FFFFFF !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-enquire-lead:hover {
    background: var(--gold-accent);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 147, 58, 0.3);
}

.fact-list {
    list-style: none;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.88rem;
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-label {
    color: var(--text-muted);
}

.fact-value {
    color: var(--navy-primary);
    font-weight: 700;
    text-align: right;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-thumb {
    width: 68px;
    height: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-title {
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--text-heading);
    font-weight: 600;
}

.recent-post-title:hover {
    color: var(--gold-accent);
}

.site-footer {
    background: #0A192F;
    color: #CBD5E1;
    padding: 48px 0 24px 0;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
    color: #94A3B8;
}

.footer-bottom-row a {
    color: #94A3B8;
}

.footer-bottom-row a:hover {
    color: var(--gold-light);
}

.footer-disclaimer-wrap {
    font-size: 0.78rem;
    color: #64748B;
    line-height: 1.7;
}

.side-enquire-tab {
    position: fixed;
    right: -62px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    z-index: 900;
}

@media (max-width: 768px) {
    .side-enquire-tab {
        display: none;
    }
}

.side-enquire-tab button {
    background: var(--navy-primary);
    color: #FFFFFF;
    border: 1.5px solid var(--gold-accent);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 22px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.side-enquire-tab button:hover {
    background: var(--gold-accent);
    color: #FFFFFF;
}

.floating-assistant {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .floating-assistant {
        bottom: 80px;
        right: 18px;
    }
}

.assistant-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease;
}

.assistant-btn:hover {
    transform: scale(1.08);
    color: #FFFFFF;
}

.assistant-pulse {
    position: absolute;
    inset: -4px;
    border: 2px solid #25D366;
    border-radius: 50%;
    animation: waPulse 1.8s ease-out infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0% { transform: scale(0.85); opacity: 0.85; }
    100% { transform: scale(1.5); opacity: 0; }
}

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    z-index: 998;
    height: 60px;
    grid-template-columns: 1fr 1fr 1.2fr;
}

.mobile-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--text-heading);
    gap: 4px;
    border-right: 1px solid var(--border-light);
    background: transparent;
    border-top: none;
    border-bottom: none;
    border-left: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-action-enquire {
    background: var(--navy-primary);
    color: #FFFFFF;
    font-weight: 700;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 34, 61, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    0% {
        transform: scale(0.92);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 26px;
    line-height: 1;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    z-index: 10;
}

.modal-header {
    background: var(--navy-primary);
    padding: 28px 24px;
    text-align: center;
    color: #FFFFFF;
}

.modal-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.modal-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    display: block;
    background: #FFFFFF;
    padding: 5px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.sticky-enquiry-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(184, 147, 58, 0.2);
    border: 1px solid var(--gold-accent);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 0.8rem;
    color: #CBD5E1;
}

.modal-body {
    padding: 26px 24px;
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    background-color: #FFFFFF;
    overflow: hidden;
    transition: all 0.25s ease;
}

.phone-input-group:focus-within {
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 3px rgba(15, 34, 61, 0.1);
}

.phone-country-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    background-color: #F8FAFC;
    border-right: 1px solid #CBD5E1;
    min-width: 76px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.phone-country-picker:hover,
.phone-country-picker:focus-within {
    background-color: #F1F5F9;
}

.phone-country-code-display {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-primary);
    pointer-events: none;
    line-height: 1;
}

.country-select-arrow {
    color: #64748B;
    pointer-events: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.phone-country-native-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}

.phone-input-group input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    color: #1E293B;
}

.phone-input-group input:focus {
    outline: none;
}

.form-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.4;
}

.form-terms input {
    margin-top: 3px;
    accent-color: var(--navy-primary);
}

.btn-submit-lead {
    width: 100%;
    padding: 13px;
    background: var(--navy-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(15, 34, 61, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-lead:hover {
    background: var(--navy-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 34, 61, 0.3);
}

.sticky-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 14px;
    text-align: center;
}

.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy-primary);
    color: #FFFFFF;
    border: 1px solid var(--gold-accent);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 100000;
    display: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .single-post-grid {
        grid-template-columns: 1fr;
    }
    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 75px;
    }
    .main-logo-img {
        height: 75px;
    }
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
        display: none;
    }
    .nav-menu.open {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .site-header .nav-actions .btn-nav-brochure {
        display: none;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .mobile-bottom-bar {
        display: grid;
    }
    body {
        padding-bottom: 60px;
    }
}
