/*
Theme Name: Store In Salmon
Theme URI:
Author:
Author URI:
Description: Custom theme for Store In Salmon (storeinsalmon.com), Salmon, ID
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: store-in-salmon
*/

/* =========================================================
   CSS VARIABLES
   ========================================================= */
:root {
    /* Brand palette */
    --color-primary:     #314139;   /* dark forest green — headings, text */
    --color-secondary:   #75726D;   /* warm brown-gray — body text */
    --color-tertiary:    #958F85;   /* lighter warm gray — muted text */
    --color-teal:        #6CA199;   /* muted teal — links, buttons, icons */
    --color-teal-hover:  #4d8a82;   /* teal darker — hover state */
    --color-gold:        #E4A464;   /* warm amber — Make a Payment, accents */
    --color-gold-hover:  #cc9256;   /* amber darker — hover state */
    --color-dark:        #314139;   /* same as primary — used for dark bg cards */
    --color-footer:      #1a231d;   /* near-black green — footer background */
    --color-green:       #25ba3b;   /* functional green — units available badge */

    /* Backgrounds */
    --color-bg:          #ffffff;
    --color-bg-cream:    #F2E3D3;   /* warm cream — alternating section backgrounds */
    --color-bg-card:     #ffffff;   /* card backgrounds (white) */

    /* Legacy aliases so existing selectors keep working */
    --color-blue:        #6CA199;
    --color-blue-hover:  #4d8a82;
    --color-bg-gray:     #F2E3D3;

    /* Borders & shadows (warm-tinted) */
    --color-border:      rgba(49, 65, 57, 0.10);
    --color-border-md:   rgba(49, 65, 57, 0.16);
    --shadow-sm:         0 1px 4px rgba(49, 65, 57, 0.10);
    --shadow-md:         0 4px 16px rgba(49, 65, 57, 0.12);
    --shadow-lg:         0 8px 32px rgba(49, 65, 57, 0.16);

    /* Shape */
    --radius-sm:         6px;
    --radius-md:         10px;
    --radius-lg:         16px;

    /* Typography */
    --font-heading:      'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:         'Lora', Georgia, 'Times New Roman', serif;

    /* Layout */
    --container-max:     1280px;
    --container-pad:     24px;
    --section-pad:       80px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-secondary);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section--gray  { background-color: var(--color-bg-cream); }
.section--dark  { background-color: var(--color-dark); color: rgba(255,255,255,0.85); }

.section-heading { text-align: center; margin-bottom: 3rem; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease,
                border-color 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Solid dark green */
.btn-dark { background-color: var(--color-dark); color: #ffffff; border-color: var(--color-dark); }
.btn-dark:hover { background-color: var(--color-teal); border-color: var(--color-teal); color: #ffffff; }

/* Solid teal */
.btn-blue,
.btn-teal { background-color: var(--color-teal); color: #ffffff; border-color: var(--color-teal); }
.btn-blue:hover,
.btn-teal:hover { background-color: var(--color-teal-hover); border-color: var(--color-teal-hover); color: #ffffff; }

/* Outlined / ghost teal — used in hero and footer */
.btn-outline {
    background-color: transparent;
    border-color: var(--color-teal);
    color: var(--color-teal);
}
.btn-outline:hover {
    background-color: var(--color-teal);
    color: #ffffff;
}

/* Outlined white — for use on dark backgrounds */
.btn-outline-white {
    background-color: transparent;
    border-color: rgba(255,255,255,0.75);
    color: #ffffff;
}
.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: #ffffff;
}

/* Amber — Make a Payment */
.btn-gold { background-color: var(--color-gold); color: #ffffff; border-color: var(--color-gold); }
.btn-gold:hover { background-color: var(--color-gold-hover); border-color: var(--color-gold-hover); color: #ffffff; }

/* Modifiers */
.btn-lg   { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-bg-cream);   /* cream header */
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo { flex-shrink: 0; }

.site-logo img,
.site-logo .custom-logo { height: 60px; width: auto; display: block; }

.site-logo .custom-logo-link { display: block; line-height: 0; }

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }

.site-nav a {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.current-menu-item { color: var(--color-teal); text-decoration: none; }

/* Make a Payment — amber pill */
.site-nav .btn-payment {
    background-color: var(--color-gold);
    color: #ffffff;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    border: none;
}

.site-nav .btn-payment:hover {
    background-color: var(--color-gold-hover);
    color: #ffffff;
    text-decoration: none;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* =========================================================
   INNER PAGE HERO  (solid dark green — used in page.php)
   ========================================================= */
.page-hero {
    background-color: var(--color-dark);
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}

.page-hero h1 {
    color: #ffffff;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.75rem;
}

/* =========================================================
   BLOCK EDITOR LAYOUT (classic theme support)
   ========================================================= */
.site-main { overflow-x: clip; }

/* Shortcode blocks: don't clip full-width section output */
.site-main > .wp-block-shortcode { max-width: 100%; padding: 0; }

/* Generic page / post content */
.entry-content h2 { margin-bottom: 1rem; margin-top: 2rem; }
.entry-content h3 { margin-bottom: 0.75rem; margin-top: 1.5rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content blockquote {
    border-left: 4px solid var(--color-teal);
    padding-left: 1.5rem;
    color: var(--color-secondary);
    font-style: italic;
    margin: 1.5rem 0;
}

/* =========================================================
   PRICING GUIDE SHORTCODE  [sis_pricing_guide]
   Cards are dark green with white text.
   ========================================================= */
.pricing-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    background-color: var(--color-bg-cream);
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.pricing-section .pricing-subtitle {
    text-align: center;
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    max-width: 820px;
    margin: 0 auto;
}

/* Dark green card */
.pricing-card {
    background-color: var(--color-dark);
    border: none;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    line-height: 1;
    margin: 0.25rem 0;
}

.pricing-price .dollar {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.5rem;
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.pricing-price .period {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    align-self: flex-end;
    margin-bottom: 0.4rem;
}

.pricing-dimensions {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.03em;
}

.pricing-sqft { font-weight: 400; }

.pricing-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Teal "SEE UNITS" button inside dark card */
.pricing-card .btn {
    margin-top: auto;
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    color: #ffffff;
}

.pricing-card .btn:hover {
    background-color: var(--color-teal-hover);
    border-color: var(--color-teal-hover);
}

.pricing-notice {
    text-align: center;
    margin-top: 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.pricing-notice a {
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 700;
}

.pricing-notice a:hover { text-decoration: underline; }

/* =========================================================
   UNIT SIZES SHORTCODE  [sis_unit_sizes]
   White cards with teal price text.
   ========================================================= */
.unit-sizes-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    background-color: var(--color-bg-cream);
}

.unit-sizes-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.unit-sizes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    max-width: 820px;
    margin: 0 auto;
}

/* White card */
.unit-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.unit-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.unit-price-display {
    display: flex;
    align-items: flex-start;
    gap: 1px;
    line-height: 1;
}

/* Teal price text on unit cards */
.unit-price-display .dollar {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-teal);
    margin-top: 0.35rem;
}

.unit-price-display .amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-teal);
    line-height: 1;
}

.unit-price-display .period {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-teal);
    align-self: flex-end;
    margin-bottom: 0.2rem;
}

.unit-dimensions {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.unit-sqft { font-weight: 400; }

.unit-desc {
    font-size: 0.875rem;
    color: var(--color-secondary);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Teal availability badge */
.unit-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-teal);
    letter-spacing: 0.03em;
}

.unit-availability::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-green);
    border-radius: 50%;
}

/* =========================================================
   FEATURES SECTION
   Solid teal icon circles, white icons.
   ========================================================= */
.features-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    background-color: var(--color-bg);
}

.features-section h2 { text-align: center; margin-bottom: 3rem; }

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

.feature-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background-color: var(--color-teal);   /* solid teal */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #ffffff;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--color-primary); }
.feature-card p  { font-size: 0.875rem; color: var(--color-secondary); margin-bottom: 0; line-height: 1.65; }

/* =========================================================
   PROMISE / OUR PROMISE SECTION
   Larger solid teal circles, cream background.
   ========================================================= */
.promise-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    background-color: var(--color-bg-cream);
}

.promise-section h2 { text-align: center; margin-bottom: 3rem; }

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

.promise-card { text-align: center; padding: 1rem; }

.promise-icon {
    width: 72px;
    height: 72px;
    background-color: var(--color-teal);   /* solid teal, larger */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
}

.promise-icon svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promise-card h3 { font-size: 1.25rem; margin-bottom: 0.85rem; color: var(--color-primary); }
.promise-card p  { font-size: 0.9rem; color: var(--color-secondary); line-height: 1.75; margin-bottom: 0; }

/* =========================================================
   PROCESS STEPS
   Teal numbered circles.
   ========================================================= */
.process-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    background-color: var(--color-bg);
}

.process-section h2 { text-align: center; margin-bottom: 3rem; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.process-step { text-align: center; padding: 1.5rem 1rem; }

.process-number {
    width: 52px;
    height: 52px;
    background-color: var(--color-teal);   /* teal, not dark */
    color: #ffffff;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.process-step h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--color-primary); }
.process-step p  { font-size: 0.875rem; color: var(--color-secondary); margin-bottom: 0; }

/* =========================================================
   BENEFITS / WHY CHOOSE US
   ========================================================= */
.benefits-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    background-color: var(--color-bg-cream);
}

.benefits-section h2 { text-align: center; margin-bottom: 3rem; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.benefit-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--color-primary); }
.benefit-card p  { font-size: 0.875rem; color: var(--color-secondary); margin-bottom: 0; line-height: 1.65; }

.benefit-icon {
    width: 52px;
    height: 52px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #ffffff;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    background-color: var(--color-bg);
    text-align: center;
}

.cta-section h2 {
    color: var(--color-primary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.cta-section p { color: var(--color-secondary); font-size: 1rem; margin-bottom: 2rem; }

/* =========================================================
   CONTACT DETAIL ICONS
   ========================================================= */
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-top: 2px;
}

.contact-detail-icon svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail-text { color: var(--color-secondary); line-height: 1.7; }

.contact-detail-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.contact-detail-text a { color: var(--color-secondary); text-decoration: none; }
.contact-detail-text a:hover { color: var(--color-teal); text-decoration: underline; }

/* =========================================================
   MAP PLACEHOLDER
   ========================================================= */
.map-placeholder {
    width: 100%;
    height: 240px;
    background-color: var(--color-bg-cream);
    border: 1px solid var(--color-border-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

.unit-map-placeholder {
    background-color: var(--color-bg-cream);
    border: 2px dashed var(--color-border-md);
    border-radius: var(--radius-lg);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-tertiary);
    font-size: 0.9rem;
}

/* =========================================================
   GENERIC PAGE CONTENT
   ========================================================= */
.page-content {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

/* =========================================================
   FOOTER
   Dark near-black footer with 3-column widget areas.
   ========================================================= */
.site-footer {
    background-color: var(--color-footer);
    color: rgba(255, 255, 255, 0.75);
}

.footer-widgets { padding: 4rem 0 3rem; }

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
}

/* Widget typography */
.footer-widget-col .widget-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.footer-widget-col .widget { font-size: 0.9rem; line-height: 1.8; }

.footer-widget-col .widget p,
.footer-widget-col .widget address {
    color: rgba(255, 255, 255, 0.65);
    font-style: normal;
    margin-bottom: 0.4rem;
}

.footer-widget-col .widget a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-widget-col .widget a:hover { color: #ffffff; text-decoration: underline; }

.footer-widget-col .widget ul { list-style: none; padding: 0; }
.footer-widget-col .widget ul li {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
}
.footer-widget-col .widget ul li:last-child { border-bottom: none; }

.footer-widget-col .widget h3,
.footer-widget-col .widget h4 { color: #ffffff; font-size: 1rem; margin-bottom: 0.5rem; }

/* Footer bottom bar */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; }

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

/* =========================================================
   GRAVITY FORMS
   ========================================================= */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea,
.gform_wrapper select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border-md);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-primary);
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(108, 161, 153, 0.15);
}

.gform_wrapper .gform_submit_button,
.gform_wrapper input[type="submit"] {
    background-color: var(--color-dark);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gform_wrapper .gform_submit_button:hover,
.gform_wrapper input[type="submit"]:hover { background-color: var(--color-teal); }

/* =========================================================
   RESPONSIVE — TABLET (≤960px)
   ========================================================= */
@media (max-width: 960px) {
    :root {
        --section-pad:   60px;
        --container-pad: 20px;
    }

    .features-grid,
    .promise-grid,
    .process-grid,
    .benefits-grid { grid-template-columns: 1fr 1fr; }

    .footer-widgets-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤640px)
   ========================================================= */
@media (max-width: 640px) {
    :root {
        --section-pad:   48px;
        --container-pad: 16px;
    }

    /* Mobile nav */
    .site-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-cream);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1rem 1.5rem;
        border-bottom: 1px solid var(--color-border-md);
        box-shadow: var(--shadow-md);
        gap: 0.25rem;
        z-index: 99;
    }

    .site-nav.is-open { display: flex; }

    .site-nav a {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--color-border);
        font-size: 1rem;
    }

    .site-nav .btn-payment {
        margin-top: 0.5rem;
        text-align: center;
        border-radius: var(--radius-sm);
        padding: 0.75rem;
    }

    .nav-toggle { display: flex; }

    /* Grids → single column */
    .pricing-grid,
    .unit-sizes-grid,
    .features-grid,
    .promise-grid,
    .process-grid,
    .benefits-grid { grid-template-columns: 1fr; }

    .footer-widgets-grid { grid-template-columns: 1fr; gap: 2rem; }
}
