/* ============================================================
   main.css — Otolastik WordPress Teması — Açık Tema (Light Mode)
   Global stiller, layout, bileşenler
   ============================================================ */

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Mobil sticky bar için boşluk */
@media (max-width: 768px) {
    body {
        padding-bottom: var(--sticky-bar-h);
    }
}

/* ----- Container ----- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ----- Tipografi ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: #b45309; }
a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

img, video, svg {
    max-width: 100%;
    height: auto;
}

ul, ol {
    padding-left: 1.5em;
}
ul li, ol li {
    margin-bottom: .5em;
}

/* ----- Buttons (Brand Identity System) ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8em 1.6em;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #111111;
    transition: all var(--transition);
    line-height: 1;
    letter-spacing: .03em;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--primary {
    background: #F4C400;
    color: #111111 !important;
    border-color: #111111;
    box-shadow: 0 4px 14px rgba(244, 196, 0, 0.4);
}
.btn--primary:hover {
    background: #111111;
    color: #F4C400 !important;
    border-color: #F4C400;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.3);
}

.btn--accent {
    background: #F4C400;
    color: #111111 !important;
    border-color: #111111;
    box-shadow: 0 4px 14px rgba(244, 196, 0, 0.4);
}
.btn--accent:hover {
    background: #111111;
    color: #F4C400 !important;
    border-color: #F4C400;
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.3);
    transform: translateY(-2px);
}

.btn--secondary {
    background: #111111;
    color: #FFFFFF !important;
    border-color: #111111;
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.2);
}
.btn--secondary:hover {
    background: #F4C400;
    color: #111111 !important;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 196, 0, 0.4);
}

.btn--whatsapp {
    background: #16A34A;
    color: #FFFFFF !important;
    border-color: #16A34A;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}
.btn--whatsapp:hover {
    background: #15803D;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
}

.btn--outline {
    background: #FFFFFF;
    color: #111111 !important;
    border-color: #111111;
    box-shadow: 0 2px 6px rgba(17, 17, 17, 0.05);
}
.btn--outline:hover {
    background: #111111;
    color: #F4C400 !important;
    border-color: #111111;
}

.btn--lg {
    padding: .9em 1.8em;
    font-size: var(--text-base);
}
.btn--xl {
    padding: 1em 2em;
    font-size: var(--text-lg);
}
.btn--sm {
    padding: .5em 1em;
    font-size: var(--text-xs);
}
.btn--full {
    width: 100%;
}

/* ----- Section ----- */
.section {
    padding-block: var(--space-20);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    margin-bottom: var(--space-4);
    color: #0f172a;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-muted);
    max-width: 640px;
    margin-inline: auto;
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d97706;
    background: #fef3c7;
    padding: .3em .8em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
}

/* ----- Service Cards (Açık Tema) ----- */
.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #d97706;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    border-color: #d97706;
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 20px rgba(217, 119, 6, 0.15);
    color: var(--color-text);
}
.service-card:hover::before { opacity: 1; }

.service-card--emergency {
    border-top-color: #dc2626;
    background: #fff5f5;
}
.service-card--emergency:hover {
    border-color: #dc2626;
    box-shadow: 0 16px 36px rgba(220, 38, 38, 0.15);
}

.service-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
}
.service-card--emergency .service-card__icon {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}
.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: .35em .75em;
    border-radius: var(--radius-full);
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    text-transform: uppercase;
}
.service-card--emergency .service-card__badge {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.service-card__title {
    font-size: var(--text-lg);
    font-weight: 800;
    color: #0f172a;
}

.service-card__desc {
    font-size: var(--text-sm);
    color: #475569;
    margin: 0;
    flex: 1;
    line-height: 1.6;
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    margin-top: var(--space-2);
    border-top: 1px solid #f1f5f9;
}

.service-card__link-text {
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: .05em;
    color: #d97706;
    text-transform: uppercase;
}

.service-card__arrow {
    font-size: 1.25rem;
    color: #d97706;
    transition: transform var(--transition);
}
.service-card:hover .service-card__arrow {
    transform: translateX(4px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-6);
}

/* ----- Breadcrumb (Kaldırıldı) ----- */
.breadcrumb-wrap {
    display: none !important;
}

.breadcrumb {
    font-size: var(--text-xs);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb__item a {
    color: #64748b;
}
.breadcrumb__item a:hover { color: #d97706; }

.breadcrumb__item--current {
    color: #0f172a;
    font-weight: 600;
}

.breadcrumb__sep {
    color: #cbd5e1;
    user-select: none;
}

/* ----- Hours List ----- */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    font-size: var(--text-sm);
}

.hours-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding-block: 6px;
    border-bottom: 1px dashed #e2e8f0;
}
.hours-list__item:last-child { border-bottom: none; }

.hours-list__day { color: #475569; font-weight: 600; }
.hours-list__time {
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid #e2e8f0;
}
.hours-list__time--closed {
    color: #dc2626;
    background: #fef2f2;
    border-color: #fecaca;
}

.hours-247 {
    color: #16a34a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* ----- Stat Cards (Why Us) ----- */
.why-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (max-width: 900px) {
    .why-us__grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
}

.why-us__features {
    list-style: none;
    padding: 0;
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.why-us__feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    margin: 0;
}

.why-us__feature-icon {
    width: 32px;
    height: 32px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 2px;
}
.why-us__feature-icon svg { width: 18px; height: 18px; }

.why-us__feature div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.why-us__feature strong { color: #0f172a; font-weight: 700; }
.why-us__feature span { font-size: var(--text-sm); color: #64748b; }

.why-us__card-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.stat-card {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform var(--transition);
}
.stat-card:hover { transform: translateX(8px); }

.stat-card--accent   { border-left: 4px solid #d97706; }
.stat-card--secondary { border-left: 4px solid #dc2626; }
.stat-card--surface  { border-left: 4px solid #0f172a; }

.stat-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d97706;
}
.stat-card__icon svg { width: 28px; height: 28px; }

.stat-card__label {
    font-weight: 800;
    color: #0f172a;
    display: block;
}
.stat-card__desc {
    font-size: var(--text-sm);
    color: #64748b;
    display: block;
}

/* ----- Service Areas ----- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.area-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.area-card--primary {
    border-color: #fde68a;
    background: #fffbeb;
}

.area-card__dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: #cbd5e1;
    flex-shrink: 0;
}
.area-card--primary .area-card__dot { background: #d97706; }

.area-card__name {
    display: block;
    color: #0f172a;
    font-weight: 700;
}
.area-card__desc {
    font-size: var(--text-xs);
    color: #64748b;
    display: block;
    margin-top: .2rem;
}

.areas-note {
    font-size: var(--text-sm);
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #d97706;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
}

/* ----- Map Section ----- */
.map-section__grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-8);
    align-items: start;
}

@media (max-width: 900px) {
    .map-section__grid {
        grid-template-columns: 1fr;
    }
}

.map-section__map iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    border: 1px solid #e2e8f0;
    display: block;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.map-section__placeholder {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-section__placeholder-inner {
    text-align: center;
    padding: var(--space-8);
}

.map-section__map-icon svg {
    width: 48px;
    height: 48px;
    color: #94a3b8;
    margin-inline: auto;
    margin-bottom: var(--space-4);
}

.map-section__info {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.map-info__title {
    font-size: var(--text-xl);
    color: #0f172a;
    margin-bottom: var(--space-6);
}

.map-info__row {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-5);
    border-bottom: 1px solid #f1f5f9;
}
.map-info__row:last-of-type { border-bottom: none; }

.map-info__icon {
    width: 32px;
    height: 32px;
    color: #d97706;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.map-info__icon svg { width: 20px; height: 20px; }

.map-info__row strong {
    display: block;
    font-size: var(--text-sm);
    color: #64748b;
    font-weight: 600;
    margin-bottom: .3rem;
}
.map-info__row span, .map-info__row a {
    font-size: var(--text-base);
    color: #0f172a;
}
.map-info__link {
    font-size: var(--text-base);
    color: #d97706;
    font-weight: 700;
}

.map-info__directions {
    margin-top: var(--space-6);
}

/* ----- Reviews ----- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.review-card__header {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    margin-bottom: var(--space-4);
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: #fef3c7;
    color: #92400e;
    font-weight: 800;
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-card__name {
    display: block;
    color: #0f172a;
    font-size: var(--text-base);
}

.review-card__stars { display: flex; gap: 2px; margin-top: .2rem; }
.star--filled { color: #f59e0b; }
.star--empty  { color: #cbd5e1; }

.review-card__text {
    font-size: var(--text-sm);
    color: #334155;
    font-style: italic;
    line-height: 1.6;
    border-left: none;
    padding: 0;
    margin: 0 0 var(--space-4);
}

.review-card__source {
    font-size: var(--text-xs);
    color: #64748b;
    margin: 0;
}

.reviews-empty {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    text-align: center;
    color: #64748b;
    margin-bottom: var(--space-10);
}

.reviews-cta {
    text-align: center;
}

.reviews-cta__text {
    margin-bottom: var(--space-4);
    color: #64748b;
}

/* ----- FAQ ----- */
.faq-list {
    max-width: 800px;
    margin-inline: auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    padding: 0 var(--space-6);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.faq-item__question {
    width: 100%;
    background: none;
    border: none;
    color: #0f172a;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 700;
    padding: var(--space-5) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.faq-item__question:hover { color: #d97706; }
.faq-item__question[aria-expanded="true"] { color: #d97706; }

.faq-item__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: #d97706;
}
.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding-bottom: var(--space-5);
    color: #475569;
}
.faq-item__answer p { margin: 0; }

/* ----- Blog ----- */
.archive-header {
    margin-bottom: 40px;
}
.archive-desc {
    font-size: var(--text-base);
    color: #64748b;
    margin-top: 8px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-10);
    margin-top: 12px;
}

.blog-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: #d97706;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}
.blog-card:hover .blog-card__title a {
    color: #d97706;
}

.blog-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card__body {
    padding: var(--space-6);
}

.blog-card__date {
    display: block;
    font-size: var(--text-xs);
    color: #64748b;
    margin-bottom: var(--space-3);
}

.blog-card__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}
.blog-card__title a {
    color: #0f172a;
    text-decoration: none;
}
.blog-card__title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}
.blog-card__title a:hover { color: #d97706; }

.blog-card__excerpt {
    font-size: var(--text-sm);
    color: #475569;
    margin-bottom: var(--space-4);
}

.blog-card__more {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: #d97706;
    transition: color var(--transition);
}
.blog-card:hover .blog-card__more {
    color: #b45309;
}

.blog-preview__cta { text-align: center; }

/* ----- Bottom CTA ----- */
.bottom-cta {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.bottom-cta__inner {
    text-align: center;
}

.bottom-cta__title {
    margin-bottom: var(--space-4);
    color: #0f172a;
}

.bottom-cta__subtitle {
    color: #475569;
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: var(--space-8);
}

.bottom-cta__btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
}

/* ----- Emergency CTA (High-Contrast Rescue Banner) ----- */
.emergency-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 4px solid #dc2626;
    border-bottom: 4px solid #dc2626;
    color: #ffffff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

.emergency-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.2) 0%, transparent 65%),
        repeating-linear-gradient(45deg, rgba(220, 38, 38, 0.04) 0, rgba(220, 38, 38, 0.04) 10px, transparent 10px, transparent 20px);
    pointer-events: none;
}

.emergency-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.emergency-cta__icon {
    width: 80px;
    height: 80px;
    background: rgba(220, 38, 38, .2);
    border: 2px solid rgba(220, 38, 38, .5);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    box-shadow: 0 0 30px rgba(220, 38, 38, .4);
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(220, 38, 38, .4); }
    50%       { transform: scale(1.08); box-shadow: 0 0 40px rgba(220, 38, 38, .8); }
}

.emergency-cta__icon svg { width: 42px; height: 42px; }

.emergency-cta__title {
    margin: 0;
    font-size: var(--text-3xl);
    font-weight: 900;
    color: #ffffff;
}

.emergency-cta__subtitle {
    color: #cbd5e1;
    max-width: 580px;
    font-size: var(--text-lg);
    line-height: 1.6;
}

.emergency-cta__btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
}

.emergency-cta__btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 25px rgba(220, 38, 38, 0.5) !important;
}
.emergency-cta__btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(220, 38, 38, 0.7) !important;
}

/* ----- Contact Page ----- */
.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

@media (max-width: 900px) {
    .contact-page__grid { grid-template-columns: 1fr; }
}

.contact-map {
    margin-top: var(--space-12);
}
.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    border: 1px solid #e2e8f0;
    display: block;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-info-card__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid #F4C400;
    display: inline-block;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
}

.contact-info-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding-block: var(--space-4);
    border-bottom: 1px solid #f1f5f9;
}
.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item__icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f8fafc;
    color: #0f172a;
}
.contact-info-item__icon-box svg {
    width: 22px;
    height: 22px;
}

.contact-info-item__icon-box--phone {
    background: #fef3c7;
    color: #d97706;
}
.contact-info-item__icon-box--whatsapp {
    background: #dcfce7;
    color: #16a34a;
}
.contact-info-item__icon-box--map {
    background: #eff6ff;
    color: #2563eb;
}
.contact-info-item__icon-box--email {
    background: #f1f5f9;
    color: #475569;
}
.contact-info-item__icon-box--hours {
    background: #f8fafc;
    color: #0f172a;
}

.contact-info-item__content {
    flex: 1;
    min-width: 0;
}

.contact-info-item__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info-item__text {
    font-size: var(--text-base);
    color: #0f172a;
    font-weight: 500;
    line-height: 1.5;
}

.contact-info-item__phone-link {
    font-size: var(--text-xl);
    font-weight: 900;
    color: #0f172a;
    text-decoration: none;
    transition: color .2s;
    display: inline-block;
}
.contact-info-item__phone-link:hover {
    color: #d97706;
}

.contact-info-item__wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: var(--text-sm);
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    transition: background .2s, transform .2s;
    margin-top: 4px;
}
.contact-info-item__wa-btn svg {
    width: 18px;
    height: 18px;
}
.contact-info-item__wa-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.contact-info-item__email-link {
    font-size: var(--text-base);
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.contact-info-card__map-btn {
    margin-top: var(--space-6);
}

/* ----- Instant Contact Card (High Conversion Buttons) ----- */
.instant-contact-card {
    background: #FFFFFF;
    border: 2px solid #111111;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: 0 12px 35px rgba(17, 17, 17, 0.08);
}

.instant-contact-card__header {
    margin-bottom: var(--space-6);
}

.instant-contact-card__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: #111111;
    color: #F4C400;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    padding: .3em .8em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.instant-contact-card__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: #F4C400;
    animation: quickDotPulse 2s infinite;
}

.instant-contact-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 900;
    color: #111111;
    margin-bottom: var(--space-2);
}

.instant-contact-card__desc {
    font-size: var(--text-sm);
    color: #666666;
    line-height: 1.6;
}

.instant-contact-card__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.instant-contact-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 1em 1.5em;
    border-radius: var(--radius-xl);
    text-align: left;
}

.instant-contact-btn .btn__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.instant-contact-btn .btn__icon svg { width: 22px; height: 22px; }

.btn__text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.btn__label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .9;
}

.btn__sublabel {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 900;
}

/* ----- Legacy Forms ----- */
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-label {
    font-size: var(--text-sm);
    font-weight: 700;
    color: #0f172a;
}

.form-required { color: #dc2626; margin-left: 2px; }

.form-input,
.form-textarea {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    color: #0f172a;
    font-family: var(--font-body);
    font-size: var(--text-base);
    padding: .75em 1em;
    width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

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

.form-message {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}
.form-message--success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.form-message--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.contact-alt {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid #e2e8f0;
    text-align: center;
}
.contact-alt__text { color: #64748b; margin-bottom: var(--space-4); font-size: var(--text-sm); }
.contact-alt__btns { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

/* ----- Pagination ----- */
.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    list-style: none;
    padding: var(--space-10) 0;
}
.page-numbers li a,
.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 700;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all var(--transition);
}
.page-numbers li a:hover {
    border-color: #d97706;
    color: #d97706;
}
.page-numbers li .current {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* ----- Prose (editorial content) ----- */
.prose h2 { margin-top: var(--space-10); margin-bottom: var(--space-4); color: #0f172a; }
.prose h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); color: #0f172a; }
.prose ul, .prose ol { margin-bottom: var(--space-5); }
.prose li { margin-bottom: var(--space-2); }
.prose a { color: #d97706; text-decoration: underline; }
.prose strong { color: #0f172a; }

/* ----- Page Hero ----- */
.page-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding-block: var(--space-16);
    position: relative;
    overflow: hidden;
}

.page-hero--short { padding-block: var(--space-12); }

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-hero__title {
    margin-bottom: var(--space-4);
    color: #0f172a;
}

.page-hero__subtitle {
    font-size: var(--text-lg);
    color: #475569;
    margin-bottom: var(--space-8);
}

.page-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* ----- Page Content Grid ----- */
.page-content__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-12);
    align-items: start;
}

@media (max-width: 1024px) {
    .page-content__grid {
        grid-template-columns: 1fr;
    }
    .page-content__sidebar { order: -1; }
}

/* ----- Sidebar ----- */
.sidebar-contact {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 90px;
}

.sidebar-contact__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-5);
    color: #0f172a;
}

.sidebar-contact__btn {
    margin-bottom: var(--space-3);
}

.sidebar-hours {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid #e2e8f0;
}

.sidebar-hours__title {
    font-size: var(--text-sm);
    color: #64748b;
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.sidebar-services {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-top: var(--space-6);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.sidebar-services__title {
    font-size: var(--text-sm);
    color: #64748b;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.sidebar-services__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-services__list li { margin-bottom: var(--space-2); }

.sidebar-services__list a {
    font-size: var(--text-sm);
    color: #334155;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4em .6em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.sidebar-services__list a::before { content: '›'; color: #d97706; }
.sidebar-services__list a:hover {
    background: #fef3c7;
    color: #92400e;
}

/* ----- Related Services ----- */
.related-services {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid #e2e8f0;
}

.related-services__title { margin-bottom: var(--space-5); color: #0f172a; }

.related-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-4);
}

.related-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all var(--transition);
}
.related-card:hover {
    border-color: #d97706;
    color: #d97706;
    transform: translateX(4px);
}

/* ----- Service FAQs ----- */
.service-faqs {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid #e2e8f0;
}

.service-faqs__title { margin-bottom: var(--space-6); color: #0f172a; }

/* ----- 404 ----- */
.not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.not-found__code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: var(--space-4);
}

.not-found__title { margin-bottom: var(--space-4); color: #0f172a; }
.not-found__text { color: #64748b; margin-bottom: var(--space-8); }
.not-found__btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

/* ----- Search Page ----- */
.search-header {
    padding: var(--space-12) 0;
    border-bottom: 1px solid #e2e8f0;
}

.search-results {
    padding-block: var(--space-12);
}

.search-result-item {
    padding: var(--space-6) 0;
    border-bottom: 1px solid #e2e8f0;
}

.search-result-item h2 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.search-result-item h2 a { color: #0f172a; }
.search-result-item h2 a:hover { color: #d97706; }
.search-result-item p { color: #64748b; }

/* ----- Utility ----- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link {
    background: #d97706;
    color: #ffffff;
    font-weight: 700;
    left: 6px;
    padding: var(--space-3) var(--space-4);
    position: absolute;
    top: -100%;
    z-index: 99999;
    border-radius: var(--radius-md);
    transition: top .1s;
}
.skip-link:focus { top: 6px; }

/* ============================================================
   FLOATING QUICK ACTION WIDGET (Call & WhatsApp Popover)
   ============================================================ */
.quick-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
}

@media (max-width: 768px) {
    .quick-widget {
        bottom: 80px; /* Above mobile sticky bar */
        right: 18px;
    }
}

.quick-widget__trigger {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: #F4C400;
    color: #111111;
    border: 2px solid #111111;
    box-shadow: 0 8px 30px rgba(244, 196, 0, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-widget__trigger:hover {
    transform: scale(1.08);
    background: #111111;
    color: #F4C400;
    border-color: #F4C400;
    box-shadow: 0 12px 35px rgba(17, 17, 17, 0.4);
}

.quick-widget__badge-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background: #dc2626;
    border: 2px solid #ffffff;
    animation: quickDotPulse 2s infinite;
}

@keyframes quickDotPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.25); }
}

.quick-widget__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-widget__icon svg {
    width: 26px;
    height: 26px;
}

.quick-widget__icon--wa { display: flex; }
.quick-widget__icon--call { display: none; }

.quick-widget.is-open .quick-widget__icon--wa { display: none; }
.quick-widget.is-open .quick-widget__icon--call { display: flex; }

.quick-widget__tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: .4em .9em;
    border-radius: var(--radius-md);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    pointer-events: none;
}

.quick-widget:hover .quick-widget__tooltip {
    opacity: 1;
    visibility: visible;
    right: 76px;
}
.quick-widget.is-open .quick-widget__tooltip {
    display: none;
}

/* Popover Card */
.quick-widget__popover {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 310px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    transform: translateY(12px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

.quick-widget:hover .quick-widget__popover,
.quick-widget.is-open .quick-widget__popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.quick-widget__header {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid #f1f5f9;
}

.quick-widget__title {
    display: block;
    font-size: var(--text-base);
    font-weight: 800;
    color: #0f172a;
}

.quick-widget__subtitle {
    display: block;
    font-size: var(--text-xs);
    color: #64748b;
    margin-top: .1rem;
}

.quick-widget__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.quick-widget__btn {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-xl);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--transition);
}

.quick-widget__btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.quick-widget__btn-icon svg { width: 20px; height: 20px; }

.quick-widget__btn-text {
    display: flex;
    flex-direction: column;
}
.quick-widget__btn-text strong {
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1.2;
}
.quick-widget__btn-text span {
    font-size: 11px;
    opacity: .85;
}

.quick-widget__btn--phone {
    background: #F4C400;
    border-color: #111111;
    color: #111111;
    box-shadow: 0 4px 14px rgba(244, 196, 0, 0.35);
}
.quick-widget__btn--phone .quick-widget__btn-icon {
    background: #111111;
    color: #F4C400;
}
.quick-widget__btn--phone:hover {
    background: #111111;
    color: #F4C400 !important;
    border-color: #F4C400;
    transform: translateX(-3px);
}

.quick-widget__btn--whatsapp {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #14532d;
}
.quick-widget__btn--whatsapp .quick-widget__btn-icon {
    background: #16a34a;
    color: #ffffff;
}
.quick-widget__btn--whatsapp:hover {
    background: #dcfce7;
    transform: translateX(-3px);
}

.quick-widget__btn--maps {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}
.quick-widget__btn--maps .quick-widget__btn-icon {
    background: #0f172a;
    color: #ffffff;
}
.quick-widget__btn--maps:hover {
    background: #f1f5f9;
    transform: translateX(-3px);
}
