/* Raymand shared layout — extends theme-raymand.css variables */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg-primary, #000);
    color: var(--text-primary, #f5f5f5);
    line-height: 1.8;
    overflow-x: hidden;
    padding-bottom: 4.5rem;
}

a {
    color: var(--primary-gold, #0EA5E9);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    right: 1rem;
    z-index: 10000;
    background: var(--primary-gold, #0EA5E9);
    color: #041018;
    padding: 0.65rem 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.75rem;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    padding: 0.85rem 0;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-gold, #0EA5E9);
    text-decoration: none;
    line-height: 1.35;
    max-width: min(360px, 48vw);
}

.nav-phone {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-phone:hover {
    border-color: var(--primary-gold, #0EA5E9);
    color: var(--primary-gold, #0EA5E9);
}

@media (max-width: 768px) {
    .nav-logo {
        font-size: 0.82rem;
        max-width: calc(100% - 56px);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.1rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-primary, #f5f5f5);
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.is-active {
    color: var(--primary-gold, #0EA5E9);
}

.nav-link--cta {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: #041018 !important;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 700 !important;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--primary-gold, #0EA5E9);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
}

.mobile-overlay.is-open {
    display: block;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1140px;
    margin: 0 auto;
    padding: 5.5rem 1.25rem 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-tertiary, #a0a0a0);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-right: 0.35rem;
    opacity: 0.5;
}

main {
    min-height: 55vh;
}

.page-home .breadcrumb {
    display: none;
}

/* Hero */
.hero,
.page-hero {
    padding: 7rem 1.25rem 3rem;
    background:
        radial-gradient(ellipse 80% 60% at 70% 0%, rgba(14, 165, 233, 0.12), transparent 55%),
        linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.page-hero--photo {
    position: relative;
    overflow: hidden;
    min-height: 22rem;
    display: flex;
    align-items: flex-end;
    background: #000;
    padding-top: 8rem;
    padding-bottom: 3.25rem;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 100%),
        radial-gradient(ellipse at 80% 10%, rgba(14, 165, 233, 0.16), transparent 45%);
}

.page-hero--photo .section__inner {
    position: relative;
    z-index: 2;
}

.page-hero--photo h1,
.page-hero--photo .page-hero__lead {
    color: #fff;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.feature__media {
    margin: -0.25rem -0.25rem 1rem;
    border-radius: 14px;
    overflow: hidden;
    height: 150px;
    background: #111;
}

.feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 700px) {
    .page-hero--photo {
        min-height: 16rem;
        padding-top: 6.5rem;
        padding-bottom: 2rem;
    }
}

.hero__inner,
.page-hero .section__inner,
.section__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.hero__brand {
    color: var(--primary-gold, #0EA5E9);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
}

.hero__title,
.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 1rem;
    animation: fadeInUp 0.7s ease;
}

.hero__subtitle,
.page-hero__lead {
    font-size: 1.05rem;
    color: var(--text-secondary, #d0d0d0);
    max-width: 40rem;
    margin: 0 0 1.5rem;
    animation: fadeInUp 0.9s ease;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
    padding: 3.5rem 1.25rem;
}

.section--alt {
    background: var(--bg-secondary, #0a0a0a);
}

.section__title {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
}

.section__lead {
    color: var(--text-secondary, #d0d0d0);
    margin: 0 0 1.75rem;
}

.section__note {
    margin-top: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.25rem;
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-trademark {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--primary-gold, #0EA5E9);
    margin-bottom: 0.45rem;
}

.feature {
    background: var(--bg-card, #111);
    padding: 1.5rem;
    border-radius: 16px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.feature:hover {
    background: var(--bg-card-hover, #161616);
    transform: translateY(-2px);
}

.feature h2,
.feature h3 {
    margin-top: 0;
    color: var(--text-primary, #f5f5f5);
}

.feature--lg {
    padding: 1.75rem;
}

.checklist {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    position: relative;
    padding-right: 1.25rem;
    margin-bottom: 0.55rem;
    color: var(--text-secondary, #d0d0d0);
}

.checklist li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--primary-gold, #0EA5E9);
}

.journey {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.journey li {
    counter-increment: step;
    position: relative;
    padding: 1rem 3rem 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary, #d0d0d0);
}

.journey li::before {
    content: counter(step);
    position: absolute;
    right: 0;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(14, 165, 233, 0.15);
    color: var(--primary-gold, #0EA5E9);
    font-weight: 700;
    font-size: 0.85rem;
}

.location-card {
    background: rgba(14, 165, 233, 0.06);
    padding: 1.75rem;
    border-radius: 16px;
}

.prose h2 {
    margin-top: 2rem;
}

.prose p,
.prose li {
    color: var(--text-secondary, #d0d0d0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
}

.btn--primary {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: #041018 !important;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary, #f5f5f5) !important;
}

/* FAQ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: var(--bg-card, #111);
    border-radius: 12px;
    padding: 0.25rem 1rem;
}

.faq-question {
    cursor: pointer;
    font-weight: 600;
    padding: 0.85rem 0;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 0 1rem;
    color: var(--text-secondary, #d0d0d0);
}

.faq-answer p {
    margin: 0;
}

/* Sprint B landing helpers */
.direct-answer {
    background: rgba(14, 165, 233, 0.08);
    border-right: 3px solid var(--primary-gold, #0EA5E9);
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
    max-width: 48rem;
}

.direct-answer p {
    margin: 0;
    color: var(--text-primary, #f5f5f5);
    font-size: 1.05rem;
    line-height: 1.85;
}

.related-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-links a {
    display: block;
    padding: 0.85rem 1rem;
    background: var(--bg-card, #111);
    border-radius: 12px;
    color: var(--text-primary, #f5f5f5);
    text-decoration: none;
    transition: background 0.2s ease;
}

.related-links a:hover {
    background: var(--bg-card-hover, #161616);
    color: var(--primary-gold, #0EA5E9);
}

@media (max-width: 720px) {
    .related-links {
        grid-template-columns: 1fr;
    }
}

/* Forms / booking */
.booking-wrap {
    max-width: 640px;
}

.booking-card {
    background: var(--bg-card, #111);
    border-radius: 20px;
    padding: 2rem;
}

.booking-title {
    text-align: center;
    margin: 0 0 0.35rem;
}

.booking-subtitle {
    text-align: center;
    color: var(--text-secondary, #d0d0d0);
    margin: 0 0 1.5rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-label .required {
    color: var(--primary-gold, #0EA5E9);
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 20, 0.7);
    color: var(--text-primary, #f5f5f5);
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus {
    outline: 2px solid rgba(14, 165, 233, 0.45);
    border-color: var(--primary-gold, #0EA5E9);
}

select.form-input {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #a0a0a0 50%), linear-gradient(135deg, #a0a0a0 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

select.form-input option {
    background: #111;
    color: #f5f5f5;
}

textarea.form-input {
    min-height: 6.5rem;
    resize: vertical;
    line-height: 1.7;
}

.form-hint {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-tertiary, #a0a0a0);
    font-size: 0.85rem;
}

.form-button {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: #041018;
    font-weight: 700;
    font-family: inherit;
    font-size: 1.05rem;
    cursor: pointer;
}

.form-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.info-box {
    margin-top: 1.5rem;
    padding: 1.15rem;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.08);
    text-align: center;
}

.info-box-title {
    font-weight: 600;
    color: var(--primary-gold, #0EA5E9);
    margin-bottom: 0.5rem;
}

.search-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.search-form .form-input {
    flex: 1 1 220px;
}

.search-results {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-results p {
    margin: 0.35rem 0 0;
    color: var(--text-secondary, #d0d0d0);
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 0.65rem;
}

.direct-answer {
    background: rgba(14, 165, 233, 0.08);
    border-right: 3px solid var(--primary-gold, #0EA5E9);
    padding: 1.15rem 1.25rem;
    border-radius: 12px;
    max-width: 48rem;
}

.direct-answer p {
    margin: 0;
    color: var(--text-primary, #f5f5f5);
}

.medical-disclaimer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-tertiary, #a0a0a0);
    max-width: 48rem;
}

.when-to-see {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
}

.when-to-see h2 {
    margin-top: 0;
}

.related-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.related-links a {
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 1.25rem 5rem;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.footer-tagline,
.footer-address,
.footer-phones,
.footer-copy,
.footer-disclaimer {
    color: var(--text-tertiary, #a0a0a0);
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.footer-disclaimer {
    font-size: 0.85rem;
    max-width: 48rem;
}

/* Sticky CTA */
.cta-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    display: none;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-sticky__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.cta-sticky__btn--phone {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.cta-sticky__btn--whatsapp {
    background: #128c7e;
    color: #fff !important;
}

.cta-sticky__btn--book {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: #041018 !important;
}

@media (max-width: 900px) {
    .grid--3 {
        grid-template-columns: 1fr;
    }

    .grid--2 {
        grid-template-columns: 1fr;
    }

    .nav-phone {
        font-size: 0.78rem;
        padding: 0.35rem 0.65rem;
        margin-inline-start: 0;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 86vw);
        height: 100vh;
        background: #111;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4.5rem 1.25rem 1.5rem;
        transition: right 0.35s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.is-open {
        right: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-menu a {
        display: block;
        padding: 0.9rem 0;
    }

    .cta-sticky {
        display: flex;
    }
}

@media (min-width: 901px) {
    body {
        padding-bottom: 0;
    }
}
