/*
 * contact.css — Contact page–only styles
 * Enqueued only on page-contact.php / is_page('contact').
 */

/* =====================================================
   CONTACT PAGE — HERO
   ===================================================== */
.contact-hero {
    background: #fff;
    padding: 60px 0 48px;
}

.contact-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
}

.contact-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-hero-title span { color: var(--color-primary); }

.contact-hero-desc {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 440px;
}

.contact-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-hero-img {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-img img { width: 100%; object-fit: cover; }

@media (min-width: 768px) {
    .contact-hero-inner   { grid-template-columns: 1fr 1fr; }
    .contact-hero-title   { font-size: 2.4rem; }
}

/* =====================================================
   CONTACT INFO STRIP
   ===================================================== */
.contact-strip {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

.cstrip-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 14px;
    padding: 18px 24px;
    background: #F3F3F3;
    border-radius: 10px;
}

.cstrip-item--last { border-right: none; }

.cstrip-icon {
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: end;
}

.cstrip-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin: 0 0 3px;
    text-transform: uppercase;
}

.cstrip-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
}

@media (max-width: 767px) {
    .contact-strip .row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
    .cstrip-item { padding: 14px 12px; gap: 10px; border-radius: 10px; }
    .col-6:nth-child(2n) .cstrip-item { border-right: none; }
}

/* =====================================================
   CONTACT FORM SECTION (Figma 0:1900)
   Gray panel (#f3f3f3) wraps FORM only; sidebar sits beside it.
   ===================================================== */
.contact-form-section {
    background: #fff;
    padding: 64px 0 80px;
}

.contact-form-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: stretch;
}

@media (min-width: 960px) {
    .contact-form-section { padding: 96px 0; }

    .contact-form-layout {
        grid-template-columns: minmax(0, 704px) minmax(240px, 384px);
        gap: 64px;
        justify-content: space-between;
        align-items: center;
    }
}

/* Form panel — keep Figma gray */
.contact-form-panel {
    background: #f3f3f3;
    border-radius: 16px;
    padding: 40px 28px;
}

@media (min-width: 768px) {
    .contact-form-panel { padding: 64px; }
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 600;
    color: #1a1c1c;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    line-height: 1.25;
}

.contact-form-sub {
    font-size: 1rem;
    color: #3f4949;
    margin: 0 0 40px;
    line-height: 1.5;
}

/* Form fields */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form .cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 640px) {
    .contact-form .cf-row { grid-template-columns: 1fr; }
}

.cf-group { margin-bottom: 0; }

.cf-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #3f4949;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cf-group input,
.cf-group select,
.cf-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: #1a1c1c;
    background: #f9f9f9;
    outline: none;
    transition: box-shadow var(--transition);
    appearance: none;
    box-shadow: inset 0 0 0 1px transparent;
}

.cf-group input::placeholder,
.cf-group textarea::placeholder {
    color: #6b7280;
}

.cf-group select {
    background-color: #f9f9f9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1c1c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
    box-shadow: inset 0 0 0 1px #026164;
}

.cf-group textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 12px;
}

.cf-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 16px;
}

.cf-submit {
    background: #2d7a7d !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 16px 40px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cf-submit:hover {
    background: #026164 !important;
    color: #fff !important;
}

.cf-submit-arrow {
    font-size: 0.85em;
    line-height: 1;
}

.cf-whatsapp-btn {
    border: 1px solid #026164 !important;
    border-radius: 4px !important;
    padding: 16px 40px !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #026164 !important;
    background: transparent !important;
}

.cf-whatsapp-btn:hover {
    background: #026164 !important;
    color: #fff !important;
}

/* Notices */
.contact-notice {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.88rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-notice--ok  { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.contact-notice--err { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Sidebar — outside gray panel */
.contact-form-sidebar {
    border-left: 4px solid #026164;
    padding: 16px 0 16px 36px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
}

@media (max-width: 959px) {
    .contact-form-sidebar {
        border-left: none;
        border-top: 4px solid #026164;
        padding: 32px 0 0;
    }
}

.csidebar-block { margin: 0; }

.csidebar-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1c1c;
    margin: 0 0 8px;
    line-height: 1.5;
}

.csidebar-text {
    font-size: 1rem;
    color: #3f4949;
    line-height: 1.5;
    margin: 0;
}

.csidebar-text a {
    color: #026164;
    text-decoration: underline;
}

.csidebar-hotline {
    background: #e8e8e8;
    border-radius: 8px;
    padding: 32px;
    text-align: left;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.csidebar-hotline-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #026164;
    text-transform: uppercase;
    margin: 0 0 16px;
    line-height: 1.3;
}

.csidebar-hotline-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #004f52;
    margin: 0;
    line-height: 1.3;
}

/* Legacy class aliases (safe if cached markup) */
.contact-form-wrap { display: contents; }
.contact-form-left,
.contact-form-right,
.contact-form-right-inner { display: contents; }

/* =====================================================
   VISIT OUR STORES SECTION (contact page)
   ===================================================== */
.stores-section {
    background: #fff;
    padding: 64px 0;
}

.stores-header {
    text-align: center;
    margin-bottom: 40px;
}

.stores-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.stores-sub {
    font-size: 0.92rem;
    color: var(--color-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Hub card shared */
.hub-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 28, 28, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(26, 28, 28, 0.1);
}

.hub-map {
    position: relative;
    flex-shrink: 0;
    height: 180px;
    background: #e8f0f0;
    overflow: hidden;
}

.hub-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hub-map iframe {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
}

.hub-map-placeholder {
    height: 180px;
    background:
        radial-gradient(circle at 50% 45%, rgba(2, 97, 100, 0.18), transparent 45%),
        linear-gradient(135deg, #e8f4f4 0%, #d5e8e8 100%);
}

.hub-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hub-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.hub-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.hub-badge {
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
    padding: 3px 9px;
    border-radius: 5px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.hub-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--color-muted);
    margin: 0 0 14px;
    line-height: 1.55;
}

.hub-address .hub-pin {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

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

.hub-meta-row svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.hub-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    padding-top: 4px;
}

.hub-btn-wa,
.hub-btn-directions {
    flex: 1;
    text-align: center;
    font-size: 0.82rem;
    padding: 11px 12px;
    border-radius: var(--radius);
    font-weight: 600;
}

.hub-btn-wa {
    background: rgba(2, 97, 100, 0.08);
    color: #128c7e;
}

.hub-btn-wa:hover {
    background: #25d366;
    color: #fff;
}

.hub-btn-directions {
    background: var(--color-primary);
    color: #fff;
}

.hub-btn-directions:hover {
    background: #024a4c;
    color: #fff;
}

/* Hub card enhancements — detailed style (contact page) */
.hub-card--detailed .hub-name-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    justify-content: space-between;
}

.hub-card--detailed .hub-badge {
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
    padding: 2px 9px;
    border-radius: 5px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.hub-card--detailed .hub-meta-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: var(--color-muted);
    margin-bottom: 5px;
}

.hub-card--detailed .hub-meta-row svg { flex-shrink: 0; color: var(--color-primary); }

.hub-btn-directions:hover { background: #024a4c; color: #fff; }

