/* ============================================
   MYLENS — INNER PAGES STYLES
   Shared hero, About, FAQ, Contact
   ============================================ */

/* ============================================
   PAGE HERO BANNER (shared)
   ============================================ */
.ml-page-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.ml-page-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(201,169,110,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(201,169,110,0.06) 0%, transparent 40%),
        linear-gradient(160deg, #0F0F1E 0%, #1B1B2F 50%, #2A2A45 100%);
    z-index: 0;
}

.ml-page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(201,169,110,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.ml-page-hero .ml-container {
    position: relative;
    z-index: 2;
}

.ml-page-hero h1 {
    font-family: var(--ml-font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--ml-white);
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.ml-page-hero__sub {
    font-size: var(--ml-text-base);
    color: rgba(255,255,255,0.55);
    max-width: 500px;
    margin: 0 auto;
}

.ml-text-accent {
    color: var(--ml-accent);
}

/* Breadcrumbs */
.ml-breadcrumb {
    font-family: var(--ml-font-accent);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.ml-breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.ml-breadcrumb a:hover {
    color: var(--ml-accent);
}

.ml-breadcrumb span {
    margin: 0 6px;
}

/* ----- Hero — kicker pill (e.g. "Brand Collection") ----- */
.ml-page-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ml-font-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ml-accent);
    background: rgba(201, 169, 110, 0.10);
    border: 1px solid rgba(201, 169, 110, 0.25);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ml-page-hero__kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ml-accent);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.18);
}

/* ----- Hero — "Back to all frames" link ----- */
.ml-page-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 10px 20px;
    font-family: var(--ml-font-accent);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ml-page-hero__back:hover {
    background: var(--ml-accent);
    border-color: var(--ml-accent);
    color: var(--ml-primary);
    transform: translateX(-3px);
}

.ml-page-hero__back svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.ml-page-hero__back:hover svg {
    transform: translateX(-2px);
}

/* Narrow container */
.ml-container--narrow {
    max-width: 800px;
}

/* ============================================
   PAGE CTA BANNER (shared)
   ============================================ */
.ml-page-cta {
    position: relative;
    padding: var(--ml-space-4xl) 0;
    text-align: center;
    overflow: hidden;
}

.ml-page-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.12) 0%, transparent 60%),
        linear-gradient(160deg, #0F0F1E 0%, #1B1B2F 100%);
    z-index: 0;
}

.ml-page-cta__content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    margin: 0 auto;
}

.ml-page-cta h2 {
    color: var(--ml-white);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: var(--ml-space-sm);
}

.ml-page-cta p {
    color: rgba(255,255,255,0.55);
    margin-bottom: var(--ml-space-xl);
}

.ml-page-cta .ml-btn-primary {
    background: linear-gradient(135deg, var(--ml-accent), var(--ml-accent-hover));
    border: none;
    box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* Our Story — 2-column */
.ml-about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ml-space-4xl);
    align-items: center;
}

.ml-about-story__text h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: var(--ml-space-lg);
}

.ml-about-story__text p {
    color: var(--ml-text-light);
    line-height: 1.8;
    margin-bottom: var(--ml-space-md);
}

.ml-about-story__text blockquote {
    border-left: 3px solid var(--ml-accent);
    padding-left: var(--ml-space-lg);
    margin: var(--ml-space-xl) 0;
}

.ml-about-story__text blockquote p {
    font-family: var(--ml-font-heading);
    font-size: var(--ml-text-xl);
    font-style: italic;
    color: var(--ml-accent);
}

.ml-about-story__image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Values grid */
.ml-about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ml-about-value {
    background: var(--ml-white);
    border-radius: 20px;
    padding: var(--ml-space-2xl) var(--ml-space-xl);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ml-about-value:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.ml-about-value__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(201,169,110,0.08), rgba(201,169,110,0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--ml-space-md);
}

.ml-about-value h3 {
    font-family: var(--ml-font-accent);
    font-size: 16px;
    font-weight: 700;
    color: var(--ml-primary);
    margin-bottom: 8px;
}

.ml-about-value p {
    font-size: 13px;
    color: var(--ml-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   ABOUT PAGE — template-about UI polish
   Scoped to .ml-about-page only (FAQ / Contact unchanged)
   ============================================ */
.ml-about-page {
    overflow-x: clip;
}

/* Hero — depth + headline sparkle */
.ml-about-page .ml-page-hero {
    padding: clamp(72px, 12vw, 104px) 0 clamp(56px, 9vw, 76px);
}

.ml-about-page .ml-page-hero__bg {
    background:
        radial-gradient(ellipse 85% 90% at 18% 25%, rgba(201, 169, 110, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 50% 100%, rgba(201, 169, 110, 0.07) 0%, transparent 45%),
        linear-gradient(168deg, #0c0c18 0%, #151528 42%, #222242 100%);
}

.ml-about-page .ml-page-hero__bg::after {
    opacity: 0.55;
}

.ml-about-page .ml-page-hero h1 {
    font-size: clamp(2.15rem, 4.5vw, 3rem);
    letter-spacing: -0.03em;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.ml-about-page .ml-page-hero__sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.62);
    max-width: 560px;
}

.ml-about-page .ml-breadcrumb {
    opacity: 0.92;
}

/* Our Story — readable editorial column (section after hero) */
.ml-about-page > section:nth-child(2) {
    position: relative;
    padding-top: clamp(3rem, 6vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 4rem);
}

.ml-about-page .ml-about-story {
    gap: clamp(28px, 5vw, 56px);
    align-items: stretch;
}

.ml-about-page .ml-about-story__text {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(252, 250, 246, 1) 100%);
    border-radius: 22px;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 2.25rem);
    border: 1px solid rgba(27, 27, 47, 0.06);
    border-left: 4px solid var(--ml-accent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 40px rgba(27, 27, 47, 0.07),
        0 4px 14px rgba(201, 169, 110, 0.08);
}

.ml-about-page .ml-about-story__text h2 {
    font-family: var(--ml-font-heading);
    font-size: clamp(1.65rem, 3vw, 2rem);
    color: var(--ml-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--ml-space-lg);
}

.ml-about-page .ml-about-story__text > p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(42, 42, 54, 0.88);
    margin-bottom: var(--ml-space-md);
}

.ml-about-page .ml-about-story__text blockquote {
    border-left: none;
    padding: var(--ml-space-lg) var(--ml-space-xl);
    margin: var(--ml-space-xl) 0;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(201, 169, 110, 0.12) 0%, rgba(201, 169, 110, 0.03) 100%);
    border: 1px solid rgba(201, 169, 110, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ml-about-page .ml-about-story__text blockquote p {
    font-family: var(--ml-font-heading);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-style: italic;
    color: var(--ml-primary);
    line-height: 1.45;
}

.ml-about-page .ml-about-story__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ml-about-page .ml-about-story__image img {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 24px 60px rgba(27, 27, 47, 0.12),
        0 8px 24px rgba(201, 169, 110, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Values strip — texture + premium cards */
.ml-about-page .ml-section.ml-section-alt {
    position: relative;
    overflow: hidden;
}

.ml-about-page .ml-section.ml-section-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(201, 169, 110, 0.12) 1px, transparent 0);
    background-size: 26px 26px;
    z-index: 0;
}

.ml-about-page .ml-section.ml-section-alt > .ml-container {
    position: relative;
    z-index: 1;
}

.ml-about-page .ml-section-header {
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.ml-about-page .ml-section-header h2 {
    font-family: var(--ml-font-heading);
    letter-spacing: -0.02em;
}

.ml-about-page .ml-about-values {
    gap: 20px;
}

.ml-about-page .ml-about-value {
    position: relative;
    padding: var(--ml-space-xl) var(--ml-space-lg);
    border-radius: 22px;
    border: 1px solid rgba(27, 27, 47, 0.06);
    box-shadow: 0 8px 28px rgba(27, 27, 47, 0.05);
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.ml-about-page .ml-about-value::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--ml-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ml-about-page .ml-about-value:hover::before {
    opacity: 1;
}

.ml-about-page .ml-about-value:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 110, 0.35);
    box-shadow:
        0 20px 48px rgba(27, 27, 47, 0.09),
        0 6px 16px rgba(201, 169, 110, 0.1);
}

.ml-about-page .ml-about-value__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(201, 169, 110, 0.14), rgba(201, 169, 110, 0.04));
    border: 1px solid rgba(201, 169, 110, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ml-about-page .ml-about-value h3 {
    font-size: 16px;
    letter-spacing: -0.01em;
}

.ml-about-page .ml-about-value p {
    font-size: 13.5px;
    line-height: 1.72;
}

/* Bottom CTA */
.ml-about-page .ml-page-cta {
    padding: clamp(4rem, 10vw, 6rem) 0;
}

.ml-about-page .ml-page-cta__bg {
    background:
        radial-gradient(ellipse 70% 55% at 50% 20%, rgba(201, 169, 110, 0.14) 0%, transparent 58%),
        linear-gradient(168deg, #0f0f1e 0%, #1b1b30 55%, #171726 100%);
}

.ml-about-page .ml-page-cta__content {
    max-width: 560px;
}

.ml-about-page .ml-page-cta h2 {
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .ml-about-page .ml-about-story__text {
        padding: 1.5rem 1.35rem;
    }

    .ml-about-page .ml-about-values {
        gap: 14px;
    }

    .ml-about-page .ml-about-value:hover {
        transform: translateY(-4px);
    }
}

/* ============================================
   FAQ PAGE
   ============================================ */

/* Category tabs */
.ml-faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: var(--ml-space-3xl);
}

.ml-faq-tab {
    font-family: var(--ml-font-accent);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--ml-radius-full);
    border: 1.5px solid rgba(0,0,0,0.1);
    background: transparent;
    color: var(--ml-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ml-faq-tab:hover {
    border-color: var(--ml-accent);
    color: var(--ml-accent);
}

.ml-faq-tab--active {
    background: var(--ml-primary);
    border-color: var(--ml-primary);
    color: var(--ml-white);
}

/* FAQ sections */
.ml-faq-section {
    display: none;
    margin-bottom: var(--ml-space-2xl);
}

.ml-faq-section--active {
    display: block;
}

.ml-faq-section__title {
    font-family: var(--ml-font-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ml-accent);
    margin-bottom: var(--ml-space-lg);
}

/* Accordion items */
.ml-faq-item {
    background: var(--ml-white);
    border-radius: 14px;
    margin-bottom: 10px;
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.ml-faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ml-faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--ml-font-accent);
    font-size: 15px;
    font-weight: 600;
    color: var(--ml-text);
    text-align: left;
    transition: color 0.2s;
}

.ml-faq-item__question:hover {
    color: var(--ml-accent);
}

.ml-faq-item__icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--ml-text-muted);
}

.ml-faq-item--open .ml-faq-item__icon {
    transform: rotate(45deg);
    color: var(--ml-accent);
}

.ml-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                padding 0.4s ease;
    padding: 0 22px;
}

.ml-faq-item--open .ml-faq-item__answer {
    max-height: 300px;
    padding: 0 22px 18px;
}

.ml-faq-item__answer p {
    font-size: 14px;
    color: var(--ml-text-light);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   CONTACT PAGE
   --------------------------------------------
   `body.mylens-contact` ➜ scope guard.
   Layout:
     1. <section.ml-page-hero>            ← navy hero
     2. <section.ml-section>              ← 3 info cards
     3. <section.ml-section.ml-section-alt> ← form + map
   ============================================ */

/* Lift the info cards visually OUT of their section so they sit halfway
   over the hero/cards-section boundary like a feature row. */
body.mylens-contact .ml-section:has(.ml-contact-cards) {
    position: relative;
    margin-top: -56px;
    z-index: 2;
}

body.mylens-contact .ml-section:has(.ml-contact-cards) > .ml-container {
    position: relative;
    z-index: 1;
}

/* Info cards grid */
.ml-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ml-contact-card {
    position: relative;
    background: var(--ml-white);
    border-radius: 22px;
    padding: 40px 28px 32px;
    text-align: center;
    border: 1px solid rgba(27, 27, 47, 0.06);
    box-shadow: 0 8px 28px rgba(27, 27, 47, 0.06);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.35s ease;
}

/* Top gold accent line — fades in on hover. */
.ml-contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ml-accent), transparent);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ml-contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 110, 0.35);
    box-shadow:
        0 18px 44px rgba(27, 27, 47, 0.08),
        0 4px 12px rgba(201, 169, 110, 0.10);
}

.ml-contact-card:hover::before {
    opacity: 1;
}

/* Bigger, framed icons — gold ring with a clean white inner badge. */
.ml-contact-card__icon {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.18) 0%, rgba(201, 169, 110, 0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: transform 0.35s ease, background 0.35s ease;
}

.ml-contact-card__icon::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    background: var(--ml-white);
    box-shadow: 0 2px 8px rgba(27, 27, 47, 0.04);
    z-index: 0;
}

.ml-contact-card__icon svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1;
    stroke: var(--ml-accent-hover);
    transition: stroke 0.3s ease, transform 0.35s ease;
}

.ml-contact-card:hover .ml-contact-card__icon {
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.30) 0%, rgba(201, 169, 110, 0.10) 100%);
}

.ml-contact-card:hover .ml-contact-card__icon svg {
    stroke: var(--ml-primary);
    transform: scale(1.06);
}

.ml-contact-card h3 {
    font-family: var(--ml-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--ml-primary);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ml-contact-card p {
    font-family: var(--ml-font-body);
    font-size: 14.5px;
    color: var(--ml-text-light);
    margin: 0;
    line-height: 1.5;
}

.ml-contact-card p a {
    color: var(--ml-accent-hover);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ml-contact-card p a:hover {
    color: var(--ml-primary);
    border-bottom-color: var(--ml-accent);
}

/* ---------------------------------------------
   FORM + MAP GRID
   --------------------------------------------- */
.ml-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* Subtle gold dot pattern behind the form/map section. */
body.mylens-contact .ml-section.ml-section-alt {
    position: relative;
    overflow: hidden;
}

body.mylens-contact .ml-section.ml-section-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(201, 169, 110, 0.10) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

body.mylens-contact .ml-section.ml-section-alt > .ml-container {
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------
   FORM CARD ("Send Us a Message")
   --------------------------------------------- */
.ml-contact-form-wrap {
    background: var(--ml-white);
    border: 1px solid rgba(27, 27, 47, 0.06);
    border-radius: 22px;
    padding: 36px 36px 32px;
    box-shadow: 0 8px 28px rgba(27, 27, 47, 0.06);
}

.ml-contact-form-wrap h2 {
    font-family: var(--ml-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--ml-primary);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 16px;
}

.ml-contact-form-wrap h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--ml-accent);
    border-radius: 2px;
}

/* Hint text using a translation-safe ::before on the form (no hardcoded
   visible English copy — just an icon). */

/* ---------------------------------------------
   WPCF7 form (the live form on the page is a
   single email + Subscribe submit; we polish it
   so it reads as a proper newsletter card while
   degrading gracefully if a real multi-field
   contact form is later swapped in).
   --------------------------------------------- */
body.mylens-contact .wpcf7 {
    margin-top: 24px;
}

body.mylens-contact .wpcf7-form {
    display: block;
    margin: 0;
}

body.mylens-contact .wpcf7-form > p {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

/* Label-less email input — full width, brand styled. */
body.mylens-contact .wpcf7-form input[type="email"],
body.mylens-contact .wpcf7-form input[type="text"],
body.mylens-contact .wpcf7-form input[type="tel"],
body.mylens-contact .wpcf7-form textarea {
    width: 100% !important;
    height: 50px;
    padding: 0 16px !important;
    border: 1.5px solid rgba(27, 27, 47, 0.14) !important;
    border-radius: 12px !important;
    background: var(--ml-white) !important;
    font-family: var(--ml-font-body) !important;
    font-size: 14.5px !important;
    color: var(--ml-text) !important;
    line-height: 48px !important;
    box-shadow: none !important;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

body.mylens-contact .wpcf7-form textarea {
    height: auto;
    min-height: 130px;
    padding: 14px 16px !important;
    line-height: 1.55 !important;
    resize: vertical;
}

body.mylens-contact .wpcf7-form input:focus,
body.mylens-contact .wpcf7-form textarea:focus {
    border-color: var(--ml-accent) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.18) !important;
}

body.mylens-contact .wpcf7-form input::placeholder,
body.mylens-contact .wpcf7-form textarea::placeholder {
    color: var(--ml-text-muted, #999);
    opacity: 1;
}

/* The wpcf7-form-control-wrap span doesn't need to shrink the layout. */
body.mylens-contact .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Submit button — brand pill primary. */
body.mylens-contact .wpcf7-form input[type="submit"],
body.mylens-contact .wpcf7-form button[type="submit"],
body.mylens-contact .wpcf7-form .wpcf7-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px !important;
    padding: 0 32px !important;
    margin: 0 !important;
    background: var(--ml-primary) !important;
    color: var(--ml-white) !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-family: var(--ml-font-accent) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(27, 27, 47, 0.16);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

body.mylens-contact .wpcf7-form input[type="submit"]:hover,
body.mylens-contact .wpcf7-form button[type="submit"]:hover,
body.mylens-contact .wpcf7-form .wpcf7-submit:hover {
    background: var(--ml-accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 27, 47, 0.22);
}

/* Spinner alignment. */
body.mylens-contact .wpcf7-form .wpcf7-spinner {
    margin: 8px auto 0;
    align-self: center;
}

/* Validation tooltips & response output. */
body.mylens-contact .wpcf7-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-family: var(--ml-font-body);
    font-size: 13px;
    color: var(--ml-sale, #C62828);
    font-weight: 500;
}

body.mylens-contact .wpcf7-form .wpcf7-not-valid {
    border-color: var(--ml-sale, #C62828) !important;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15) !important;
}

body.mylens-contact .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    font-family: var(--ml-font-body);
    font-size: 14px;
    line-height: 1.5;
    background: rgba(27, 27, 47, 0.04) !important;
    border: 1px solid rgba(27, 27, 47, 0.08) !important;
    color: var(--ml-text) !important;
}

body.mylens-contact .wpcf7 form.sent .wpcf7-response-output {
    background: rgba(46, 125, 50, 0.08) !important;
    border-color: rgba(46, 125, 50, 0.30) !important;
    color: #1e5e22 !important;
}

body.mylens-contact .wpcf7 form.invalid .wpcf7-response-output,
body.mylens-contact .wpcf7 form.unaccepted .wpcf7-response-output,
body.mylens-contact .wpcf7 form.failed .wpcf7-response-output {
    background: rgba(198, 40, 40, 0.06) !important;
    border-color: rgba(198, 40, 40, 0.30) !important;
    color: #842b2b !important;
}

/* ---------------------------------------------
   MAP CARD
   --------------------------------------------- */
.ml-contact-map {
    position: relative;
    min-height: 480px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--ml-white);
    border: 1px solid rgba(27, 27, 47, 0.06);
    box-shadow: 0 8px 28px rgba(27, 27, 47, 0.06);
}

.ml-contact-map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 480px;
    display: block;
    border: 0;
    border-radius: 0 !important;
    filter: saturate(0.92);
}

/* Address badge — floating glassy overlay on bottom-left of the map. */
.ml-contact-address {
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    max-width: 320px;
    margin: 0;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border: 1px solid rgba(27, 27, 47, 0.06);
    border-left: 3px solid var(--ml-accent);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(27, 27, 47, 0.12);
    font-family: var(--ml-font-body);
    font-size: 14px;
    color: var(--ml-text);
    line-height: 1.6;
}

.ml-contact-address strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--ml-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--ml-primary);
    letter-spacing: -0.01em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ml-about-story {
        grid-template-columns: 1fr;
        gap: var(--ml-space-2xl);
    }

    .ml-about-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .ml-contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ml-contact-map {
        min-height: 380px;
    }

    .ml-contact-map iframe {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .ml-page-hero {
        padding: 50px 0 40px;
    }

    body.mylens-contact .ml-section:has(.ml-contact-cards) {
        margin-top: -40px;
    }

    .ml-about-values,
    .ml-contact-cards {
        grid-template-columns: 1fr;
    }

    .ml-contact-card {
        padding: 32px 22px 26px;
    }

    .ml-contact-form-wrap {
        padding: 28px 22px 24px;
    }

    .ml-contact-form-wrap h2 {
        font-size: 24px;
    }

    .ml-contact-map {
        min-height: 340px;
    }

    .ml-contact-map iframe {
        min-height: 340px;
    }

    .ml-contact-address {
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: none;
        padding: 14px 18px;
        font-size: 13.5px;
    }

    .ml-contact-address strong {
        font-size: 15px;
    }

    .ml-faq-tabs {
        gap: 8px;
    }

    .ml-faq-tab {
        font-size: 12px;
        padding: 8px 16px;
    }
}
