/* ===================================
   RIICO GAMI HEALTH — ORIGINAL STYLE
   Teal → Sage → Yellow-Green Palette
   =================================== */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    background: #fafaf8;
    color: #1a2e1a;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── CSS VARIABLES ── */
:root {
    --teal:        #0d9488;
    --teal-light:  #14b8a6;
    --teal-pale:   #ccfbf1;
    --sage:        #6b8f71;
    --sage-light:  #a7c4a0;
    --sage-pale:   #e8f5e9;
    --yellow:      #ca8a04;
    --yellow-light:#eab308;
    --yellow-pale: #fef9c3;
    --cream:       #fafaf5;
    --dark:        #0f2318;
    --mid:         #2d4a2d;
    --text:        #374151;
    --text-light:  #6b7280;
    --white:       #ffffff;
    --border:      #d1e8d4;
    --shadow-sm:   0 2px 8px rgba(13,148,136,0.08);
    --shadow-md:   0 8px 32px rgba(13,148,136,0.12);
    --shadow-lg:   0 20px 60px rgba(13,148,136,0.16);
    --radius:      12px;
    --radius-lg:   20px;
    --transition:  all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark);
}

p { font-family: 'Jost', sans-serif; font-weight: 300; color: var(--text); }

a { text-decoration: none; color: inherit; transition: var(--transition); }

ul { list-style: none; }

img { max-width: 100%; height: auto; display: block; }

/* ── CONTAINER ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--sage));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(13,148,136,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13,148,136,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

/* ── SECTION TITLES ── */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    color: var(--teal);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

/* ── DAI KO MYO SYMBOL ── */
.dai-ko-myo-symbol {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 105px;
    z-index: 999;
    opacity: 0.18;
    color: var(--teal);
    pointer-events: none;
    transition: opacity 0.4s ease;
    filter: drop-shadow(0 0 6px rgba(13,148,136,0.4));
}
.dai-ko-myo-symbol:hover { opacity: 0.45; }

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
}

.navbar.scrolled .logo span,
.navbar.scrolled .nav-links a { color: var(--dark); }

.navbar.scrolled .flower-of-life-logo { color: var(--teal); }

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.flower-of-life-logo {
    width: 44px;
    height: 44px;
    color: var(--white);
    transition: var(--transition);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

.logo span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--yellow-light);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
}

/* ── HERO SECTION ── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem 6rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(15,35,24,0.95) 0%, rgba(13,148,136,0.15) 100%);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line:last-child {
    color: var(--teal-light);
    font-style: italic;
}

.hero-subtitle {
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    max-width: 380px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,35,24,0.5) 0%, transparent 60%);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── ABOUT SECTION ── */
.about {
    padding: 7rem 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--teal-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .section-title { margin-bottom: 0.4rem; }

.about-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1.2rem;
}

.about-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--teal);
    background: var(--teal-pale);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.feature-item svg { width: 16px; height: 16px; }

/* ── SERVICES SECTION ── */
.services {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--sage-pale) 100%);
}

.services .section-title,
.services .section-subtitle {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--sage), var(--yellow-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--teal-pale), var(--sage-pale));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--teal);
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.service-card > p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    color: var(--text);
}

.service-benefits li svg {
    width: 14px;
    height: 14px;
    color: var(--teal);
    flex-shrink: 0;
}

/* ── THERAPIES SECTION ── */
.therapies {
    padding: 7rem 0;
    background: var(--cream);
}

.therapies-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.therapy-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.therapy-block.reverse {
    direction: rtl;
}

.therapy-block.reverse > * {
    direction: ltr;
}

.therapy-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.info-medicine-visual {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.info-medicine-visual svg {
    width: 280px;
    height: 280px;
    animation: pulse-rings 3s ease-in-out infinite;
}

@keyframes pulse-rings {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

.therapy-text h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.therapy-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}

.therapy-text ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
}

.therapy-text ul li {
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    padding-left: 1.2rem;
    position: relative;
}

.therapy-text ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 0.5rem;
    top: 0.45rem;
}

/* ── CONTACT SECTION ── */
.contact {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--sage-pale) 0%, var(--white) 100%);
}

.contact .section-title,
.contact .section-subtitle {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--dark);
}

.contact-info > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark);
    display: block;
    margin-bottom: 0.2rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.consultation-note {
    display: flex;
    gap: 0.75rem;
    background: var(--teal-pale);
    border-left: 3px solid var(--teal);
    padding: 1rem 1.2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.consultation-note svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.consultation-note p {
    font-size: 0.9rem;
    color: var(--mid);
    margin: 0;
    line-height: 1.6;
}

/* ── CONTACT FORM ── */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mid);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 0.95rem;
}

/* ── FOOTER ── */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.footer-brand .flower-of-life-logo {
    width: 48px;
    height: 48px;
    color: var(--teal-light);
    margin-bottom: 1rem;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-light);
    margin-bottom: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--teal-light); }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.6rem;
}

.footer-contact svg {
    width: 14px;
    height: 14px;
    color: var(--teal-light);
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-family: 'Jost', sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.footer-credit strong { color: var(--teal-light); }

/* ── SCROLL ANIMATIONS ── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-text { padding: 7rem 3rem 4rem 4rem; }
    .about-grid { gap: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .therapy-block { gap: 3rem; }
    .contact-grid { gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(15,35,24,0.97);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 99;
    }
    .nav-links.open a { font-size: 1.4rem; color: var(--white); }
    .mobile-menu-toggle { display: flex; z-index: 101; }

    .hero-content { grid-template-columns: 1fr; }
    .hero-text { padding: 7rem 2rem 3rem; }
    .hero-image { height: 50vh; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image img { height: 380px; }

    .services-grid { grid-template-columns: 1fr; }

    .therapy-block,
    .therapy-block.reverse { grid-template-columns: 1fr; direction: ltr; }
    .therapy-image img,
    .info-medicine-visual { height: 280px; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .dai-ko-myo-symbol { width: 50px; height: 75px; bottom: 1.5rem; right: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .about-features { flex-direction: column; }
    .contact-form { padding: 1.5rem; }
}