/* ==========================================================================
   Sutika Care - Mobile-First Luxury Stylesheet
   ========================================================================== */

/* Custom CSS Global Variable Registry */
:root {
    --bg-cream: #FDFBF7;
    --dark-teal: #1A3636;
    --muted-bronze: #A85A38;
    --soft-gold: #C5A880;
    --white: #FFFFFF;
    --light-gray: #F4F1EA;
    --serif-font: 'Cormorant Garamond', Georgia, serif;
    --sans-font: 'Montserrat', Arial, sans-serif;
}

/* 1. Global Baseline Reset & Mobile Protection Engine */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%; /* Fixes automatic font scaling bugs on iOS Safari */
}

body {
    background-color: var(--bg-cream);
    color: var(--dark-teal);
    font-family: var(--sans-font);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal container shifting on touch screens */
    width: 100%;
}

/* Fluid Mobile Container Logic */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px; /* Safe gutters for tight screens */
}

.small-container {
    width: 100%;
    margin: 0 auto;
}

/* 2. BASE MOBILE STYLES (Default Viewport Layout) */

/* Header Mobile System */
.main-header {
    text-align: center;
    padding: 40px 15px 30px 15px;
    background-color: var(--bg-cream);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container .logo-icon {
    width: 320px; /* Proportional footprint for mobile */
    height: 320px;
    object-fit: contain;
    margin-bottom: 15px;
    /*border-radius: 50%;*/ /* Uniform circle rendering */
}

.logo-container h1 {
    font-family: var(--serif-font);
    font-size: 2rem;
    letter-spacing: 4px;
    font-weight: 400;
    line-height: 1.2;
}

.logo-container .tagline {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--muted-bronze);
    margin-top: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Hero Section Mobile System */
.hero-section {
    padding: 30px 0 50px 0;
    background: linear-gradient(180deg, var(--bg-cream) 0%, #F6F2E9 100%);
}

.hero-grid {
    display: flex;
    flex-direction: column; /* Stack image vertically above text blocks */
    gap: 35px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image-placeholder {
    width: 100%;
    height: 380px;
    background-color: #E2DCD0;
    background-image: url('../images/hero-mother.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 30px rgba(26,54,54,0.05);
}

.badge-overlay {
    position: absolute;
    top: -15px;
    right: 10px; /* Locked completely within container widths */
    background-color: var(--white);
    border: 1px solid var(--soft-gold);
    /*border-radius: 50%;*/
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    z-index: 2;
}

.badge-overlay p {
    font-size: 0.55rem;
    letter-spacing: 1px;
    line-height: 1.3;
    color: var(--muted-bronze);
}

.hero-text {
    text-align: center;
}

.editorial-title {
    font-family: var(--serif-font);
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 15px;
}

.editorial-title .italic {
    font-style: italic;
    color: var(--muted-bronze);
}

.sub-headline {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--muted-bronze);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-paragraph {
    font-size: 0.95rem;
    color: #4A5E5A;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: block; /* Complete thumb-tap activation target */
    width: 100%;
    padding: 18px 20px;
    background-color: var(--dark-teal);
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid var(--dark-teal);
    text-align: center;
    transition: all 0.3s ease;
}

/* Services Sections Mobile System */
.services-section {
    padding: 60px 0;
}

.section-divider-title {
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: var(--muted-bronze);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Optimized Service Tab Structure */
.service-card {
    background-color: var(--white);
    padding: 30px 24px;
    margin-bottom: 25px;
    border-left: 4px solid var(--soft-gold); /* Solid architectural accent line */
    box-shadow: 0 4px 15px rgba(26,54,54,0.02);
    position: relative;
}

.service-card.popular {
    border-left-color: var(--muted-bronze);
    background-color: #FFFDF9;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--muted-bronze);
    color: var(--white);
    font-size: 0.55rem;
    padding: 3px 10px;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Keeps Title & Price split like a clean tab row on all screens */
.card-header {
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    margin-bottom: 8px;
}

.card-header h4 {
    font-family: var(--serif-font);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark-teal);
}

.card-header .price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--muted-bronze);
    white-space: nowrap; /* Prevents currency symbols from breaking apart */
}

.session-count {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #7A8B88;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.card-desc {
    font-size: 0.9rem;
    color: #4A5E5A;
    font-weight: 300;
}

/* Component Boxes Mobile System */
.component-box {
    background-color: #F4F1EA;
    padding: 25px 20px;
    margin-bottom: 20px;
}

.component-box h5 {
    font-family: var(--serif-font);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.component-pricing {
    font-weight: 600;
    color: var(--muted-bronze);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.component-desc {
    font-size: 0.85rem;
    color: #5C6E6A;
    font-weight: 300;
}

.editorial-quote-box {
    text-align: center;
    padding: 30px 10px;
    margin-top: 20px;
    border-top: 1px solid var(--soft-gold);
    border-bottom: 1px solid var(--soft-gold);
}

.quote-text {
    font-family: var(--serif-font);
    font-size: 1.4rem;
    color: var(--dark-teal);
    line-height: 1.4;
}

/* Inquiry Registration Section Mobile System */
.inquiry-section {
    background-color: #F4F1EA;
    padding: 60px 0;
}

.form-title {
    text-align: center;
    font-family: var(--serif-font);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.form-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #5C6E6A;
    margin-bottom: 35px;
    padding: 0 10px;
    font-weight: 300;
}

.secure-form {
    background-color: var(--white);
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.form-row {
    display: flex;
    flex-direction: column; /* Vertical stream stack optimized for thumb scrolling */
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-teal);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 14px;
    border: 1px solid #D6D1C4;
    font-family: var(--sans-font);
    font-size: 16px; /* LOCK at 16px min: Forces iOS Safari to drop auto-zoom forms execution */
    color: var(--dark-teal);
    background-color: #FFFDF9;
    border-radius: 0;
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--muted-bronze);
}

.submit-button {
    width: 100%;
    padding: 18px;
    background-color: var(--muted-bronze);
    color: var(--white);
    border: none;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

/* Institutional Footer Mobile System */
.main-footer {
    background-color: #31231E;
    color: #E2DCD0;
    padding: 50px 20px;
    font-size: 1rem;
    text-align: center;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-location {
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-contact {
    color: #E2DCD0;
    line-height: 1.6;
}

.footer-url {
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: #A89D8C;
    line-height: 1.4;
}

/* Custom Flexbox Engine for Parallel Link Alignment */
.footer-links-row {
    display: flex;
    align-items: center;         /* Forces perfect vertical mid-line leveling */
    justify-content: center;    /* Keeps links perfectly centered on mobile touchscreens */
    flex-wrap: wrap;            /* Permits graceful wrapping on legacy narrow phones */
    gap: 12px;                  /* Generates uniform spacing between modules */
    margin-bottom: 10px;
    width: 100%;
}

.footer-url-link {
    color: #E2DCD0;             /* Maintains your premium light cream footer color */
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-visual-divider {
    color: #A89D8C;             /* Muted tone to keep the visual hierarchy clean */
    user-select: none;          /* Prevents accidental text selection highlights */
}

/* The Core Parallel Alignment Engine */
.footer-instagram-anchor {
    display: inline-flex;       /* Sets up sub-flex behavior for the icon and text */
    align-items: center;        /* Locks icon vector and hashtag text on the same baseline */
    gap: 6px;                   /* Exact spatial buffer between icon and font */
    color: #E2DCD0;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

/* SVG Dimensional Constraints */
.instagram-vector {
    width: 16px;                /* Matches standard line text height perfectly */
    height: 16px;
    display: block;             /* Clears baseline whitespace rendering bugs */
}

/* Interactive Feedback Loop */
.footer-url-link:hover,
.footer-instagram-anchor:hover {
    color: var(--soft-gold);    /* Elegant signature gold highlight transition on desktop hover */
}

/* Progressive Layout Shift for Large Screens */
@media (min-width: 1024px) {
    .footer-links-row {
        justify-content: flex-end; /* Snaps layout safely to the right to match desktop branding standards */
    }
}

/* ==========================================================================
   PROGRESSIVE ENHANCEMENT BREAKPOINTS (Desktop Enhancements)
   ========================================================================== */

/* 3. Tablet Display Adjustments */
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .logo-container .logo-icon {
        width: 320px;
        height: 320px;
    }

    .logo-container h1 {
        font-size: 2.4rem;
    }

    .cta-button {
        display: inline-block;
        width: auto;
        padding: 16px 35px;
    }

    .hero-text {
        text-align: left;
    }

    .card-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .secure-form {
        padding: 40px;
    }
}

/* 4. Large Desktop Viewport Layout */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }

    .logo-container .logo-icon {
        width: 350px; /* Fully integrated master branding presence */
        height: 350px;
    }

    /* Transition stacks into premium side-by-side structures */
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .hero-image-wrapper {
        order: 2; /* Naturally shifts images smoothly to the right column */
    }

    .hero-image-placeholder {
        height: 500px;
    }

    .badge-overlay {
        width: 130px;
        height: 130px;
        top: -20px;
        right: -20px;
    }

    .editorial-title {
        font-size: 3.6rem;
    }

    .services-grid {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 50px;
        align-items: start;
    }

    .service-card {
        padding: 30px;
    }

    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-branding {
        text-align: right;
    }
}

/*5. Mobile Display */

/* Comprehensive Mobile Responsive Architecture */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header Scaling */
    .logo-container .logo-icon {
        width: 80%;
        /*height: 95px;*/
    }
    
    .logo-container h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    /* Service Section Adjustments */
    .services-section {
        padding: 60px 0;
    }
    
    .section-divider-title {
        margin-bottom: 35px;
    }
    
    .service-card {
        padding: 24px 20px; /* Elegant breathing room inside the tab */
        margin-bottom: 20px;
    }

    .card-header h4 {
        font-size: 1.25rem; /* Proportional text size for mobile viewports */
    }

    .card-header .price {
        font-size: 1.25rem;
    }
    
    /* Component Boxes (Right Column Assets) */
    .component-box {
        padding: 24px 20px;
        margin-bottom: 20px;
    }

    /* --------------------------------------------------
       STRICT 100% WIDTH FORM INFRASTRUCTURE 
       -------------------------------------------------- */
    .secure-form {
        padding: 30px 20px;
    }

    .form-row {
        display: block; /* Shatters multi-column layouts into individual blocks */
        width: 100%;
    }

    .form-group {
        width: 100% !important; /* Strict override constraint */
        margin-bottom: 22px;   /* Consistent gutter spacing between fields */
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        width: 100% !important; /* Forces complete edge-to-edge container scaling */
        display: block;
        box-sizing: border-box;
    }
    
    .submit-button {
        padding: 18px;
        font-size: 0.85rem;
    }
}