/* ==========================================================================
   Mesermedikal - Ana Stil Dosyası
   Kurumsal, modern, akıcı tasarım
   ========================================================================== */

:root {
    --primary: #0a6eb8;
    --primary-dark: #074f85;
    --primary-light: #3a96dc;
    --accent: #00b894;
    --text: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #ffffff;
    --bg-soft: #f7fafc;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(.4,0,.2,1);
    --max-width: 1340px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 3rem;
}
@media (max-width: 992px) {
    .container { padding: 0 2rem; }
}
@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    letter-spacing: .3px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-soft); color: var(--primary-dark); transform: translateY(-2px); }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,.9);
    font-size: .85rem;
    padding: .55rem 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.top-bar-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top-bar a { color: rgba(255,255,255,.9); }
.top-bar a:hover { color: #fff; }
.top-bar i { margin-right: .35rem; color: var(--primary-light); }
.top-bar-right { display: flex; gap: .85rem; }
.top-bar-right a {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .75rem;
}
.top-bar-right a:hover { background: var(--accent); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: -.5px; display: inline-flex; align-items: center; }
.logo-accent { color: var(--primary); }
.logo-img { height: 44px; width: auto; display: block; }
@media (max-width: 768px) {
    .logo-img { height: 36px; }
}

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-list a {
    display: block;
    padding: .75rem 1.15rem;
    color: var(--text);
    font-weight: 500;
    font-size: .95rem;
    border-radius: var(--radius);
}
.nav-list a:hover, .nav-list a.active { color: var(--primary); background: var(--bg-soft); }
.nav-list .has-dropdown > a i { font-size: .7rem; margin-left: .25rem; transition: var(--transition); }
.nav-list .has-dropdown:hover > a i { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: .65rem .9rem; border-radius: 6px; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); display: block; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 6rem 0 7rem;
    background: linear-gradient(135deg, #f7fbfe 0%, #e8f2fa 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(10,110,184,.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,184,148,.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    padding: .4rem 1rem;
    background: rgba(10,110,184,.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.5rem; color: var(--text); }
.hero h1 span { color: var(--primary); }
.hero-subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    max-width: 540px;
    margin-left: auto;
}
.hero-image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(10,110,184,.25);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-image-wrap .hero-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.35);
    font-size: 8rem;
}
.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7,79,133,.45) 100%);
    pointer-events: none;
}

.hero-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -40px;
    position: relative;
    z-index: 2;
    width: calc(100% - 3rem);
    margin-left: auto;
    margin-right: auto;
}
.hero-feature-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .35rem;
}
.hero-feature-item i {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.hero-feature-item strong { display: block; color: var(--text); font-size: .85rem; line-height: 1.2; margin-bottom: 2px; }
.hero-feature-item span { font-size: .75rem; color: var(--text-muted); line-height: 1.2; }

/* ==========================================================================
   Section Defaults
   ========================================================================== */
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }

.section-header { text-align: center; margin-bottom: 3.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ==========================================================================
   Feature Grid / Özellikler
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: #fff;
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.feature-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }

/* ==========================================================================
   About / Hakkımızda
   ========================================================================== */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.2);
    font-size: 10rem;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-image-photo { background: var(--bg-soft); }
.about-content .section-label { margin-bottom: 1rem; }
.about-list { list-style: none; margin-top: 1.5rem; }
.about-list li {
    padding: .65rem 0;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--text-light);
}
.about-list li i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 4rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number { font-size: 3rem; font-weight: 800; margin-bottom: .5rem; color: #fff; line-height: 1; }
.stat-label { color: rgba(255,255,255,.85); font-size: .95rem; }

/* ==========================================================================
   Services / Hizmetler
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }
.service-card {
    background: #fff;
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-lg);
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: var(--primary);
    transition: height .3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { height: 100%; }
.service-card i {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: inline-block;
}
.service-card h3 { margin-bottom: .75rem; }
.service-card p { color: var(--text-muted); font-size: .95rem; }

/* ==========================================================================
   Hastane Kartları
   ========================================================================== */
.hospital-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.hospital-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.hospital-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.hospital-image {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
}
.hospital-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.hospital-card:hover .hospital-image img { transform: scale(1.06); }
.hospital-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.35);
    font-size: 5rem;
}
.hospital-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: #fff;
    color: var(--primary);
    padding: .3rem .75rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .3px;
    box-shadow: var(--shadow);
}
.hospital-body {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.hospital-body h3 {
    font-size: 1.15rem;
    margin-bottom: .6rem;
    line-height: 1.35;
}
.hospital-body p {
    color: var(--text-muted);
    font-size: .92rem;
    flex-grow: 1;
    margin-bottom: 1.1rem;
}
.hospital-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--primary);
    font-weight: 600;
    font-size: .92rem;
    align-self: flex-start;
    padding: .5rem .9rem;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius);
    transition: var(--transition);
}
.hospital-link:hover {
    background: var(--primary);
    color: #fff;
    gap: .7rem;
}

/* ==========================================================================
   Page Banner (İç sayfa başlık alanı)
   ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    border-radius: 50%;
}
.page-banner h1 { color: #fff; margin-bottom: .5rem; position: relative; }
.page-banner .breadcrumb { color: rgba(255,255,255,.8); font-size: .9rem; position: relative; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.85); }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb i { font-size: .65rem; margin: 0 .5rem; opacity: .6; }

/* ==========================================================================
   İletişim
   ========================================================================== */
.contact-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.contact-header h2 { margin-bottom: .85rem; }
.contact-header p { color: var(--text-muted); }

/* Yeni 2 kolonlu layout: sol bilgi listesi / sağ harita */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.contact-row {
    display: flex;
    gap: 1.1rem;
    padding: 1.4rem 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.contact-row:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.contact-row-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
    box-shadow: 0 6px 14px rgba(10,110,184,.25);
}
.contact-row-body { flex-grow: 1; min-width: 0; }
.contact-row-body strong {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: .35rem;
}
.contact-row-body span,
.contact-row-body .contact-row-primary {
    display: block;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.45;
}
.contact-row-primary {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-dark);
}
.contact-row-primary:hover { color: var(--primary); }
.contact-row-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .6rem;
    font-size: .85rem;
    color: var(--primary);
    font-weight: 600;
}
.contact-row-link i { font-size: .75rem; }
.contact-row-link:hover { color: var(--primary-dark); gap: .55rem; }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    min-height: 540px;
    position: relative;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 540px;
    border: 0;
    display: block;
    filter: grayscale(.1);
    transition: filter .4s ease;
}
.contact-map:hover iframe { filter: grayscale(0); }

/* Mobil uyumu */
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map { min-height: 380px; }
    .contact-map iframe { min-height: 380px; }
}
.contact-info-item {
    display: flex; gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.contact-info-item i {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-info-item strong { display: block; color: var(--text); margin-bottom: 4px; }
.contact-info-item span, .contact-info-item a { color: var(--text-light); font-size: .95rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: .35rem; }
.hours-table tr { border-bottom: 1px dashed var(--border); }
.hours-table tr:last-child { border-bottom: 0; }
.hours-table td { padding: .35rem 0; color: var(--text-light); }
.hours-table td:first-child { font-weight: 500; color: var(--text); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; margin-bottom: .4rem; color: var(--text); font-weight: 500; font-size: .9rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .95rem;
    background: var(--bg-soft);
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10,110,184,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.map-embed { margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ==========================================================================
   Referanslar
   ========================================================================== */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
    gap: 1rem;
}
.reference-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    aspect-ratio: 3/2;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    font-size: .9rem;
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
}
.reference-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ==========================================================================
   CTA
   ========================================================================== */
.footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.footer-cta::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    border-radius: 50%;
}
.footer-cta-content { text-align: center; position: relative; }
.footer-cta h2 { color: #fff; margin-bottom: 1rem; }
.footer-cta p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 1.75rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { font-size: 1.5rem; color: #fff; margin-bottom: 1rem; font-weight: 800; }
.footer-logo span { color: var(--primary-light); }
.footer-col h4 { color: #fff; margin-bottom: 1.25rem; font-size: 1.05rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .65rem; }
.footer-col a { color: rgba(255,255,255,.75); font-size: .93rem; }
.footer-col a:hover { color: var(--primary-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.5; }
.footer-contact i { color: var(--primary-light); margin-top: 5px; font-size: .85rem; width: 16px; flex-shrink: 0; }

.social-links { display: flex; gap: .65rem; margin-top: 1.25rem; }
.social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
}
.social-links a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    flex-wrap: wrap;
    gap: .5rem;
}

/* ==========================================================================
   Loading Screen
   ========================================================================== */
.page-loader { display: none; }
html[data-loading="true"] { overflow: hidden; }
html[data-loading="true"] body { overflow: hidden; }
html[data-loading="true"] .page-loader {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7fc 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }

.page-loader-inner {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(10,110,184,.12);
    border-top-color: var(--primary);
    border-right-color: var(--primary-light);
    animation: loaderSpin 1s linear infinite;
}
.page-loader-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    animation: loaderPulse 1.6s ease-in-out infinite;
}
.page-loader-brand {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .3px;
    position: relative;
}
.page-loader-brand::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary);
    margin: .5rem auto 0;
    animation: loaderBar 1.4s ease-in-out infinite;
    transform-origin: center;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(.92); opacity: .75; }
}
@keyframes loaderBar {
    0%, 100% { transform: scaleX(1); opacity: .6; }
    50%      { transform: scaleX(2.2); opacity: 1; }
}

/* WhatsApp Float Badge */
.whatsapp-float {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 24px rgba(37,211,102,.45);
    z-index: 100;
    transition: var(--transition);
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37,211,102,.45);
    z-index: -1;
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: .6; }
    70%  { transform: scale(1.45); opacity: 0; }
    100% { transform: scale(1.45); opacity: 0; }
}
.whatsapp-float:hover { background: #1fb655; color: #fff; transform: scale(1.06); }
.whatsapp-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a202c;
    color: #fff;
    font-size: .82rem;
    padding: .5rem .85rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    font-weight: 500;
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #1a202c;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; visibility: visible; left: calc(100% + 16px); }

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 96px; right: 31px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); color: #fff; }

@media (max-width: 768px) {
    .whatsapp-float { width: 54px; height: 54px; font-size: 1.75rem; bottom: 18px; left: 18px; }
    .scroll-top { bottom: 84px; right: 23px; }
    .whatsapp-tooltip { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero .container, .about-block, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .hero-feature-strip { grid-template-columns: 1fr; gap: .25rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .top-bar-left { font-size: .8rem; gap: 1rem; }
    .top-bar .container { justify-content: center; }
    .mobile-toggle { display: flex; }
    .nav-list {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: #fff;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }
    .nav-list.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-list > li { width: 100%; }
    .nav-list a { padding: .85rem 1rem; }
    .has-dropdown .dropdown {
        position: static;
        opacity: 1; visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    .hero { padding: 3.5rem 0 4rem; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-subtitle { max-width: 100%; }
    .section { padding: 3.5rem 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .stat-number { font-size: 2.25rem; }
}

@media (max-width: 480px) {
    .top-bar-left span:nth-child(2) { display: none; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}
