/* =========================================================================
   FLORIZE FLOWERS - MAIN STYLESHEET
   Professional flower delivery comparison website
   Brand: Florize Green (#4a7c59), Bloom Pink (#e8b4cb), Cream White (#faf8f3)
   ========================================================================= */

/* =========================================================================
   CSS CUSTOM PROPERTIES (CSS VARIABLES)
   ========================================================================= */

:root {
    /* Brand Color Palette */
    --florize-green: #4a7c59;
    --bloom-pink: #e8b4cb;
    --cream-white: #faf8f3;
    --accent-gold: #d4af37;
    --text-charcoal: #2c2c2c;
    --border-gray: #e5e5e5;

    /* Typography Variables */
    --font-heading: "Inter", sans-serif;
    --font-body: "Source Sans Pro", sans-serif;

    /* Spacing System */
    --space-xs: 0.5rem; /* 8px */
    --space-sm: 1rem; /* 16px */
    --space-md: 1.5rem; /* 24px */
    --space-lg: 2rem; /* 32px */
    --space-xl: 3rem; /* 48px */

    /* Text Over Image Standards */
    --overlay-text-color: #ffffff;
    --overlay-background: rgba(0, 0, 0, 0.6);
    --overlay-text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);

    /* Layout Constants */
    --container-max-width: 1200px;
    --content-max-width: 800px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* =========================================================================
   RESET AND BASE STYLES
   ========================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-charcoal);
    background-color: var(--cream-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================================================
   TYPOGRAPHY SYSTEM
   ========================================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-charcoal);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 3rem; /* 48px */
    font-weight: 700;
    color: var(--florize-green);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: 2.5rem; /* 40px */
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 2rem; /* 32px */
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.5rem; /* 24px */
    font-weight: 500;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

h5 {
    font-size: 1.25rem; /* 20px */
    font-weight: 500;
}

h6 {
    font-size: 1rem; /* 16px */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    margin-bottom: var(--space-md);
    max-width: var(--content-max-width);
}

/* Text over image styles for hero sections */
.hero-content h1,
.hero-content h2,
.hero-content p {
    color: var(--overlay-text-color);
    text-shadow: var(--overlay-text-shadow);
}

.text-overlay {
    color: var(--overlay-text-color);
    text-shadow: var(--overlay-text-shadow);
    background: var(--overlay-background);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* =========================================================================
   LAYOUT AND CONTAINERS
   ========================================================================= */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section-padding {
    padding: var(--space-md) 0;
}

.content-section {
    padding: var(--space-xl) 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: var(--cream-white);
}

.content-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--florize-green);
    font-size: 2.5rem;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    line-height: 1.6;
}

.content-wrapper {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.section-padding {
    padding: var(--space-xl) 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

/* =========================================================================
   HEADER AND NAVIGATION
   ========================================================================= */

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--florize-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

.site-header {
    background-color: var(--florize-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.primary-navigation {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-brand h1 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    margin-left: var(--space-sm);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-lg);
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background-color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.nav-menu a:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: "▼";
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    margin: 0;
    padding: var(--space-xs) 0;
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: var(--text-charcoal) !important;
    display: block;
    padding: var(--space-xs) var(--space-md);
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--cream-white) !important;
    color: var(--florize-green) !important;
}

.dropdown-menu .divider {
    height: 1px;
    background-color: var(--border-gray);
    margin: var(--space-xs) 0;
}

.dropdown-menu a strong {
    color: var(--florize-green);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

/* =========================================================================
   HERO SECTIONS
   ========================================================================= */

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--overlay-text-color);
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4),
        rgba(74, 124, 89, 0.3)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-lg);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: var(--overlay-text-shadow);
    margin-bottom: var(--space-md);
    color: var(--overlay-text-color);
}

.hero-content p {
    font-size: 1.25rem;
    text-shadow: var(--overlay-text-shadow);
    margin-bottom: var(--space-lg);
    color: var(--overlay-text-color);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.hero-subtitle {
    font-size: 1.25rem;
    text-shadow: var(--overlay-text-shadow);
    margin-bottom: var(--space-lg);
    color: var(--overlay-text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-primary,
.cta-secondary {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-primary {
    background: var(--florize-green);
    color: white;
    border-color: var(--florize-green);
}

.cta-primary:hover {
    background: transparent;
    color: var(--florize-green);
    border-color: var(--florize-green);
    background: rgba(255, 255, 255, 0.9);
}

.cta-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-secondary:hover {
    background: white;
    color: var(--florize-green);
}

.hero-content .cta-button {
    font-size: 1.1rem;
    padding: var(--space-md) var(--space-xl);
}

/* =========================================================================
   BUTTONS AND CALL-TO-ACTIONS
   ========================================================================= */

.cta-button {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    line-height: 1;
}

.cta-button.primary {
    background-color: var(--florize-green);
    color: white;
    border: 2px solid var(--florize-green);
}

.cta-button.primary:hover,
.cta-button.primary:focus {
    background-color: #3d6147;
    border-color: #3d6147;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    outline: none;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--florize-green);
    border: 2px solid var(--florize-green);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
    background-color: var(--florize-green);
    color: white;
    outline: none;
}

.cta-button.accent {
    background-color: var(--bloom-pink);
    color: var(--text-charcoal);
    border: 2px solid var(--bloom-pink);
}

.cta-button.accent:hover,
.cta-button.accent:focus {
    background-color: #d89bb8;
    border-color: #d89bb8;
    outline: none;
}

.cta-button:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* =========================================================================
   COMPARISON TABLES
   ========================================================================= */

.comparison-table-wrapper {
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: white;
    border: 1px solid var(--border-gray);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    min-width: 800px;
    font-size: 0.95rem;
}

.comparison-table th {
    background-color: var(--florize-green);
    color: white;
    padding: var(--space-md);
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-gray);
    vertical-align: middle;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--cream-white);
}

.comparison-table tr:hover {
    background-color: rgba(232, 180, 203, 0.1);
}

.featured-service {
    background-color: rgba(232, 180, 203, 0.15) !important;
    border-left: 4px solid var(--bloom-pink);
}

.featured-service:hover {
    background-color: rgba(232, 180, 203, 0.2) !important;
}

.service-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.service-info img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.service-info div h4 {
    margin: 0;
    font-size: 1.1rem;
}

.winner-badge {
    background-color: var(--accent-gold);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 2px;
}

.rating-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-right: var(--space-xs);
}

/* =========================================================================
   CARDS AND CONTENT BLOCKS
   ========================================================================= */

.card {
    background-color: white;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header h3 {
    color: var(--text-charcoal);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.card-body {
    color: var(--text-charcoal);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.card-footer {
    text-align: center;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer {
    background-color: var(--text-charcoal);
    color: white;
    margin-top: var(--space-xl);
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-xl) var(--space-sm);
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--bloom-pink);
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: var(--bloom-pink);
    outline: none;
}

.footer-section a:focus {
    outline: 1px dotted var(--bloom-pink);
    outline-offset: 2px;
}

.footer-bottom {
    border-top: 1px solid #444444;
    text-align: center;
    padding: var(--space-sm);
    color: #cccccc;
    font-size: 0.9rem;
}

/* =========================================================================
   BREADCRUMBS
   ========================================================================= */

.breadcrumbs {
    background-color: rgba(74, 124, 89, 0.05);
    padding: var(--space-sm) 0;
    margin-bottom: var(--space-lg);
}

.breadcrumbs nav {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin: 0 var(--space-sm);
    color: var(--border-gray);
    font-weight: bold;
}

.breadcrumbs a {
    color: var(--florize-green);
    text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
    text-decoration: underline;
    outline: none;
}

.breadcrumbs li:last-child {
    color: var(--text-charcoal);
    font-weight: 500;
}

/* =========================================================================
   FORMS
   ========================================================================= */

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--text-charcoal);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--florize-green);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

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

.form-help {
    font-size: 0.9rem;
    color: #666666;
    margin-top: var(--space-xs);
}

/* =========================================================================
   CARDS AND GRID LAYOUTS
   ========================================================================= */

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gray);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    margin-bottom: var(--space-md);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    color: var(--florize-green);
    margin-bottom: var(--space-md);
}

/* Card Images */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.02);
}

/* Trust Section Images */
.trust-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

/* Review Section Images */
.section-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    box-shadow: var(--shadow-md);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.bg-light {
    background: var(--cream-white);
}

/* =========================================================================
   UTILITY CLASSES
   ========================================================================= */

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

.mb-xs {
    margin-bottom: var(--space-xs);
}
.mb-sm {
    margin-bottom: var(--space-sm);
}
.mb-md {
    margin-bottom: var(--space-md);
}
.mb-lg {
    margin-bottom: var(--space-lg);
}
.mb-xl {
    margin-bottom: var(--space-xl);
}

.mt-xs {
    margin-top: var(--space-xs);
}
.mt-sm {
    margin-top: var(--space-sm);
}
.mt-md {
    margin-top: var(--space-md);
}
.mt-lg {
    margin-top: var(--space-lg);
}
.mt-xl {
    margin-top: var(--space-xl);
}

.color-primary {
    color: var(--florize-green);
}
.color-accent {
    color: var(--bloom-pink);
}
.color-gold {
    color: var(--accent-gold);
}

.bg-cream {
    background-color: var(--cream-white);
}
.bg-white {
    background-color: white;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Table CTA Group Styling */
.table-cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 180px;
}

.table-cta-group .cta-button.secondary {
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
    padding: 8px 16px;
}

.table-cta-group .affiliate-cta {
    padding: var(--space-sm);
    margin: 0;
}

.table-cta-group .affiliate-cta .cta-button {
    font-size: 0.9rem;
    padding: 10px 16px;
    margin-top: 0;
}

.table-cta-group .affiliate-note {
    font-size: 0.75rem;
    margin-top: var(--space-xs);
    line-height: 1.3;
}

/* =========================================================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ========================================================================= */

/* Mobile devices (up to 767px) - Base styles above */

/* Tablet styles (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .comparison-table-wrapper {
        overflow-x: visible;
    }

    .grid-2-col {
        grid-template-columns: 2fr 1fr;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
    }
}

/* Desktop styles (1024px and up) */
@media (min-width: 1024px) {
    .container {
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: 0 var(--space-sm);
    }

    .grid-layout {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: var(--space-xl);
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }

    .section-padding {
        padding: 1.5coderem 0;
    }
}

/* Large desktop styles (1440px and up) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-content h1 {
        font-size: 5rem;
    }
}

/* Mobile navigation styles (767px and below) */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--florize-green);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        padding: var(--space-sm);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: var(--space-sm);
        border-radius: var(--radius-sm);
        margin-bottom: var(--space-xs);
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        display: none;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: var(--space-xs) var(--space-lg);
        font-size: 0.9rem;
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-sm);
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .grid-3-col {
        grid-template-columns: 1fr;
    }

    .service-info {
        flex-direction: column;
        text-align: center;
    }

    .service-info img {
        width: 40px;
        height: 40px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cta-button,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    .hero-section {
        background: none;
        color: black;
    }

    .hero-content h1,
    .hero-content p {
        color: black;
        text-shadow: none;
    }
}

/* Review Hero Section Styles */
.review-hero {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
}

.review-hero .hero-content {
    flex: 1;
    max-width: 60%;
}

.review-hero .hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.review-hero .hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.rating-stars {
    font-size: 1.25rem;
}

.rating-text {
    font-weight: 600;
    color: var(--florize-green);
}

.review-hero .hero-image {
    flex: 0 0 40%;
    max-width: 40%;
}

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

/* Mobile responsiveness for review hero */
@media (max-width: 768px) {
    .review-hero {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }

    .review-hero .hero-content {
        max-width: 100%;
    }

    .review-hero .hero-content h1 {
        font-size: 2rem;
    }

    .review-hero .hero-image {
        flex: none;
        max-width: 100%;
        order: -1;
    }

    .review-hero .hero-image img {
        height: 200px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cta-button.primary {
        border-width: 3px;
    }

    .comparison-table th {
        border: 2px solid black;
    }

    .card {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================================
   ENHANCED OCCASIONS PAGE STYLES
   ========================================================================= */

/* Enhanced card system for occasions */
.occasion-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--bloom-pink);
    margin-bottom: 24px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.occasion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.occasion-card.featured {
    border-left-color: var(--florize-green);
    background: linear-gradient(45deg, #faf8f3 0%, #ffffff 100%);
}

.occasion-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.occasion-content h3 {
    color: var(--florize-green);
    margin-bottom: 8px;
}

.occasion-date {
    font-size: 0.9rem;
    color: var(--bloom-pink);
    font-weight: 600;
    margin-bottom: 12px;
}

.occasion-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.highlight {
    background: var(--cream-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--florize-green);
    border: 1px solid var(--border-gray);
}

.occasion-cta {
    display: inline-block;
    background: var(--florize-green);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.occasion-cta:hover {
    background: #3d6147;
}

/* Visual content hierarchy system */
.occasion-overview,
.occasions-overview {
    background: var(--cream-white);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    border-left: 3px solid var(--accent-gold);
}

.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.key-point,
.occasion-insight,
.insight {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.key-point h4,
.occasion-insight h3,
.insight h3 {
    color: var(--florize-green);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Enhanced service recommendation cards */
.service-rec-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    position: relative;
    margin-bottom: 24px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-rec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.service-rec-card.featured {
    border: 2px solid var(--bloom-pink);
    box-shadow: 0 4px 20px rgba(232, 180, 203, 0.2);
}

.service-rec-card .service-rating {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--florize-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.mothersday-badge {
    position: absolute;
    top: 50px;
    right: 16px;
    background: var(--bloom-pink);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-strengths {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.service-strengths h4 {
    color: var(--florize-green);
    margin-bottom: 12px;
}

.pricing-guidance {
    background: var(--cream-white);
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 16px;
    border-left: 3px solid var(--accent-gold);
}

.ideal-for {
    font-style: italic;
    color: #666;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
}

/* Progressive information disclosure */
.expandable-section {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin: 16px 0;
    overflow: hidden;
}

.expandable-header {
    background: var(--cream-white);
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.2s ease;
}

.expandable-header:hover {
    background: #f0f0f0;
}

.expandable-content {
    padding: 16px;
    display: none;
}

.expandable-section.active .expandable-content {
    display: block;
}

.expand-icon {
    transition: transform 0.3s ease;
    color: var(--florize-green);
    font-weight: bold;
}

.expandable-section.active .expand-icon {
    transform: rotate(180deg);
}

/* Timeline layout for complex processes */
.timeline,
.planning-timeline {
    position: relative;
    margin: 32px 0;
}

.timeline::before,
.planning-timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bloom-pink);
}

.timeline-item,
.timeline-period {
    position: relative;
    margin: 24px 0;
    padding-left: 70px;
}

.timeline-marker {
    position: absolute;
    left: 18px;
    width: 24px;
    height: 24px;
    background: var(--florize-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.timeline-content {
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-period.critical {
    border-left: 3px solid #dc3545;
    padding-left: 67px;
}

.timeline-period.critical .timeline-marker {
    background: #dc3545;
}

.timeline-activities {
    margin-top: 16px;
}

.activity-section {
    margin-bottom: 20px;
}

.activity-section h5 {
    color: var(--florize-green);
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Enhanced comparison grids */
.comparison-grid,
.occasions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.comparison-item,
.life-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.life-event {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.life-event:hover {
    border-color: var(--bloom-pink);
}

.life-event h3 {
    color: var(--florize-green);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.life-event img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.event-considerations {
    background: #f0f8f4;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
    border-left: 3px solid #4a7c59;
}

.event-considerations li {
    margin-bottom: 4px;
}

.recommended-services {
    background: var(--cream-white);
    padding: 10px;
    border-radius: 4px;
    margin-top: 12px;
    font-size: 0.9rem;
}

/* Seasonal sections */
.seasonal-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.season {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.season h3 {
    color: var(--florize-green);
    text-align: center;
    margin-bottom: 16px;
}

.seasonal-event {
    background: var(--cream-white);
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
}

.seasonal-event h4 {
    color: var(--text-charcoal);
    margin-bottom: 6px;
}

.timing {
    font-size: 0.85rem;
    color: var(--bloom-pink);
    font-weight: 600;
    display: block;
    margin-top: 8px;
}

/* Finder categories */
.finder-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin: 24px 0;
}

.finder-category {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.relationship-options,
.emotion-options {
    margin-top: 20px;
}

.relationship-option,
.emotion-option {
    background: var(--cream-white);
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    border-left: 3px solid var(--bloom-pink);
}

.occasion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag {
    background: var(--florize-green);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.suitable-occasions {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
}

/* Sympathy sections */
.sympathy-occasions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin: 24px 0;
}

.sympathy-category {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.sympathy-category img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.sympathy-guidance {
    margin-top: 16px;
}

.sympathy-guidance h4 {
    color: var(--florize-green);
    margin: 16px 0 8px 0;
}

/* Mobile responsiveness for occasions */
@media (max-width: 768px) {
    .occasion-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .key-points {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .timeline-item,
    .timeline-period {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 8px;
        width: 20px;
        height: 20px;
    }

    .comparison-grid,
    .occasions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .life-events-grid {
        grid-template-columns: 1fr;
    }

    .seasonal-calendar {
        grid-template-columns: 1fr;
    }

    .finder-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sympathy-occasions {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-rec-card .service-rating {
        position: static;
        display: inline-block;
        margin-bottom: 8px;
    }

    .mothersday-badge {
        position: static;
        display: inline-block;
        margin-left: 8px;
    }
}

/* =========================================================================
   ENHANCED REVIEW QUICK SUMMARY STYLES
   ========================================================================= */

/* Enhanced quick summary section */
.quick-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.quick-summary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--florize-green) 0%,
        var(--accent-gold) 100%
    );
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.summary-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
}

.summary-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.summary-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--florize-green);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.summary-item h3::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 1px;
}

.summary-item p {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Special styling for rating summary item */
.summary-item:last-child p {
    color: var(--florize-green);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Enhanced CTA section */
.affiliate-cta,
.primary-cta {
    background: var(--cream-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--florize-green);
    position: relative;
}

.affiliate-cta::before,
.primary-cta::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--florize-green), var(--bloom-pink));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.affiliate-cta:hover::before,
.primary-cta:hover::before {
    opacity: 1;
}

.affiliate-cta .cta-button,
.primary-cta .cta-button {
    display: inline-block;
    background: var(--florize-green);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.affiliate-cta .cta-button::before,
.primary-cta .cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.affiliate-cta .cta-button:hover::before,
.primary-cta .cta-button:hover::before {
    left: 100%;
}

.affiliate-cta .cta-button:hover,
.primary-cta .cta-button:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.affiliate-note,
.no-affiliate-notice {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

/* Icon enhancements for summary items */
.summary-item:nth-child(1) h3::before {
    content: "👥";
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.summary-item:nth-child(2) h3::before {
    content: "💰";
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.summary-item:nth-child(3) h3::before {
    content: "🚚";
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.summary-item:nth-child(4) h3::before {
    content: "⭐";
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

/* Mobile responsiveness for quick summary */
@media (max-width: 768px) {
    .quick-summary {
        padding: 24px 16px;
        margin: 32px 0;
    }

    .summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .summary-item {
        padding: 20px 16px;
    }

    .summary-item h3 {
        font-size: 0.9rem;
    }

    .summary-item p {
        font-size: 1rem;
    }

    .affiliate-cta,
    .primary-cta {
        padding: 20px 16px;
    }

    .affiliate-cta .cta-button,
    .primary-cta .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Responsive image adjustments */
    .card-image {
        height: 150px;
    }

    .trust-image {
        height: 140px;
    }

    .section-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   ENHANCED RELATED OCCASIONS SECTION STYLES
   ========================================================================= */

/* Related Occasions Section */
.related-occasions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.occasion-link {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.occasion-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--florize-green) 0%,
        var(--bloom-pink) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.occasion-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--bloom-pink);
}

.occasion-link:hover::before {
    opacity: 1;
}

.occasion-link h3 {
    margin-bottom: 12px;
    position: relative;
}

.occasion-link h3 a {
    color: var(--florize-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.occasion-link h3 a:hover {
    color: var(--bloom-pink);
}

.occasion-link h3 a::after {
    content: "→";
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.occasion-link:hover h3 a::after {
    opacity: 1;
    transform: translateX(0);
}

.occasion-link p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Alternative grid layout for some pages */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.related-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--bloom-pink) 0%,
        var(--accent-gold) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.related-item:hover::before {
    opacity: 1;
}

.related-item h3 {
    margin-bottom: 10px;
}

.related-item h3 a {
    color: var(--florize-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-item h3 a:hover {
    color: var(--accent-gold);
}

.related-item h3 a::after {
    content: "→";
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.related-item:hover h3 a::after {
    opacity: 1;
    transform: translateX(0);
}

.related-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Enhanced section headers for related occasions */
.related-occasions-header {
    text-align: center;
    margin-bottom: 40px;
}

.related-occasions-header h2 {
    color: var(--florize-green);
    margin-bottom: 16px;
}

.related-occasions-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Special occasion category icons */
.occasion-link.romantic::before {
    background: linear-gradient(90deg, #ff6b9d 0%, #c44569 100%);
}

.occasion-link.celebration::before {
    background: linear-gradient(90deg, var(--accent-gold) 0%, #f39c12 100%);
}

.occasion-link.support::before {
    background: linear-gradient(90deg, #a8e6cf 0%, #7fb069 100%);
}

.occasion-link.achievement::before {
    background: linear-gradient(90deg, #74b9ff 0%, #0984e3 100%);
}

.occasion-link.family::before {
    background: linear-gradient(90deg, #fd79a8 0%, #e84393 100%);
}

.occasion-link.business::before {
    background: linear-gradient(90deg, #636e72 0%, #2d3436 100%);
}

/* Add occasion type indicators */
.occasion-link h3 a::before {
    font-size: 1.2rem;
    margin-right: 8px;
}

.occasion-link.romantic h3 a::before {
    content: "💕";
}

.occasion-link.celebration h3 a::before {
    content: "🎉";
}

.occasion-link.support h3 a::before {
    content: "🤗";
}

.occasion-link.achievement h3 a::before {
    content: "🏆";
}

.occasion-link.family h3 a::before {
    content: "👨‍👩‍👧‍👦";
}

.occasion-link.business h3 a::before {
    content: "💼";
}

/* Mobile responsiveness for related occasions */
@media (max-width: 768px) {
    .related-occasions {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 24px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 24px 0;
    }

    .occasion-link {
        padding: 20px;
    }

    .related-item {
        padding: 16px;
    }

    .occasion-link h3 a {
        font-size: 1.1rem;
    }

    .related-item h3 a {
        font-size: 1rem;
    }

    .related-occasions-header {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .occasion-link {
        padding: 16px;
    }

    .related-item {
        padding: 14px;
    }
}

/* Service recommendation card heading links */
.service-rec-card h3 a {
    color: var(--florize-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-rec-card h3 a:hover {
    color: #3d6147;
}

/* Service card heading links (services.html) */
.service-card h3 a,
.featured-services-grid h3 a,
.services-grid h3 a {
    color: var(--florize-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card h3 a:hover,
.featured-services-grid h3 a:hover,
.services-grid h3 a:hover {
    color: #3d6147;
}

/* Services Directory Redesign */
.services-directory {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-row {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.service-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--bloom-pink);
}

.service-row .service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-row .service-info h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-row .service-info h3 a {
    color: var(--florize-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-row .service-info h3 a:hover {
    color: #3d6147;
}

.service-row .service-info p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.service-meta .rating {
    color: var(--accent-gold);
    font-weight: 600;
}

.service-meta .price-range {
    background: var(--cream-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--florize-green);
}

.service-meta .speciality {
    background: var(--bloom-pink);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

.service-row .service-link {
    background: var(--florize-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-row .service-link:hover {
    background: #3d6147;
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .service-row .service-link {
        text-align: center;
    }

    .service-meta {
        justify-content: center;
    }
}

/* Top-Rated Services Hero Design */
.featured-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--florize-green) 0%, #3d6147 100%);
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(74, 124, 89, 0.3);
    transition: all 0.4s ease;
    border: none;
}

.service-card.featured::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    transition: transform 0.4s ease;
    transform: scale(0);
}

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

.service-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(74, 124, 89, 0.4);
}

.service-card.featured .service-rating {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.service-card.featured h3 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.service-card.featured h3 a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card.featured h3 a:hover {
    color: var(--cream-white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.service-card.featured .service-tagline {
    color: var(--cream-white);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.service-card.featured > p:not(.service-tagline) {
    color: white;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    font-size: 1rem;
    opacity: 0.95;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.service-highlights .highlight {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.service-highlights .highlight:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.service-card.featured .service-cta {
    background: white;
    color: var(--florize-green);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card.featured .service-cta::after {
    content: "→";
    transition: transform 0.3s ease;
}

.service-card.featured .service-cta:hover {
    background: var(--cream-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card.featured .service-cta:hover::after {
    transform: translateX(4px);
}

/* Different accent colors for variety */
.service-card.featured:nth-child(2) {
    background: linear-gradient(135deg, var(--bloom-pink) 0%, #d89bb8 100%);
    box-shadow: 0 8px 32px rgba(232, 180, 203, 0.3);
}

.service-card.featured:nth-child(2):hover {
    box-shadow: 0 16px 48px rgba(232, 180, 203, 0.4);
}

.service-card.featured:nth-child(3) {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
}

.service-card.featured:nth-child(3):hover {
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.4);
}

@media (max-width: 1200px) {
    .featured-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .featured-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .service-card.featured {
        padding: 2rem;
    }

    .service-card.featured h3 {
        font-size: 1.6rem;
    }

    .service-card.featured .service-rating {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

/* Professional Services Overview Redesign */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-category {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid rgba(74, 124, 89, 0.1);
}

.service-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--florize-green),
        var(--bloom-pink),
        var(--accent-gold)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-category:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--florize-green);
}

.service-category img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-category:hover img {
    transform: scale(1.05);
}

.service-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 1.5rem 1rem 1.5rem;
    color: var(--florize-green);
    position: relative;
}

.service-category h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--bloom-pink);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-category:hover h3::after {
    width: 80px;
}

.service-category > p {
    padding: 0 1.5rem;
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0 1.5rem 2rem 1.5rem;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2.5rem;
    color: var(--text-charcoal);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--florize-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.service-category:hover .feature-list li {
    padding-left: 3rem;
    background: rgba(74, 124, 89, 0.03);
}

.service-category:hover .feature-list li::before {
    background: var(--bloom-pink);
    transform: translateY(-50%) scale(1.1);
}

/* Progressive enhancement with icons */
.service-category:nth-child(1) h3::before {
    content: "👑";
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.service-category:nth-child(2) h3::before {
    content: "💰";
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.service-category:nth-child(3) h3::before {
    content: "✨";
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Different accent colors for variety */
.service-category:nth-child(1) h3::after {
    background: var(--accent-gold);
}

.service-category:nth-child(2) h3::after {
    background: var(--florize-green);
}

.service-category:nth-child(3) h3::after {
    background: var(--bloom-pink);
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .service-category {
        margin: 0 auto;
        max-width: 400px;
    }

    .service-category img {
        height: 180px;
    }
}

/* Service Comparison Guide - Interactive Dashboard Design */
.comparison-categories {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-category {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.comparison-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--florize-green) 0%,
        var(--bloom-pink) 50%,
        var(--accent-gold) 100%
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.comparison-category:hover::before {
    transform: scaleX(1);
}

.comparison-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(74, 124, 89, 0.15);
    border-color: var(--florize-green);
}

.comparison-category h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--florize-green);
    margin: 0 0 1rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comparison-category h3::before {
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bloom-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.comparison-category:nth-child(1) h3::before {
    content: "£";
    background: var(--accent-gold);
}

.comparison-category:nth-child(2) h3::before {
    content: "🚚";
    background: var(--florize-green);
}

.comparison-category:nth-child(3) h3::before {
    content: "⭐";
    background: var(--bloom-pink);
}

.comparison-category > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
}

.price-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.price-tier {
    background: linear-gradient(
        135deg,
        rgba(74, 124, 89, 0.05),
        rgba(232, 180, 203, 0.05)
    );
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(74, 124, 89, 0.1);
    position: relative;
}

.price-tier:hover {
    transform: scale(1.05);
    border-color: var(--florize-green);
    background: linear-gradient(
        135deg,
        rgba(74, 124, 89, 0.1),
        rgba(232, 180, 203, 0.1)
    );
}

.price-tier h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--florize-green);
    margin: 0 0 0.5rem 0;
}

.price-tier p {
    margin: 0;
    color: var(--text-secondary);
    font-weight: 500;
}

.delivery-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delivery-options li {
    background: rgba(74, 124, 89, 0.05);
    margin: 1rem 0;
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 4px solid var(--florize-green);
    transition: all 0.3s ease;
    position: relative;
}

.delivery-options li:hover {
    background: rgba(74, 124, 89, 0.08);
    transform: translateX(8px);
    border-left-width: 6px;
}

.delivery-options li strong {
    color: var(--florize-green);
    font-weight: 700;
}

.quality-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.quality-metric {
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.quality-metric:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.quality-metric h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.quality-metric p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Choosing Your Perfect Service - Modern Selector Design */
.selection-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.selection-scenario {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid rgba(232, 180, 203, 0.2);
    overflow: hidden;
}

.selection-scenario::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--bloom-pink) 30%, transparent 70%);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.selection-scenario:hover::after {
    width: 120px;
    height: 120px;
    opacity: 0.2;
}

.selection-scenario:hover {
    transform: translateY(-12px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(232, 180, 203, 0.2);
    border-color: var(--bloom-pink);
}

.selection-scenario h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--florize-green);
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 2;
}

.selection-scenario > p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
}

.recommended-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-badge {
    background: linear-gradient(135deg, var(--florize-green), #3d6147);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(74, 124, 89, 0.3);
    position: relative;
    overflow: hidden;
}

.service-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.service-badge:hover::before {
    left: 100%;
}

.service-badge:hover {
    background: linear-gradient(135deg, var(--bloom-pink), #d89bb8);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(232, 180, 203, 0.4);
}

/* Different scenario colors for variety */
.selection-scenario:nth-child(1) .service-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.selection-scenario:nth-child(1) .service-badge:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.selection-scenario:nth-child(2) .service-badge {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
}

.selection-scenario:nth-child(2) .service-badge:hover {
    background: linear-gradient(135deg, #f59e0b, var(--accent-gold));
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.selection-scenario:nth-child(4) .service-badge {
    background: linear-gradient(135deg, #059669, #047857);
}

.selection-scenario:nth-child(4) .service-badge:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .comparison-categories {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .comparison-category {
        padding: 2rem;
    }

    .price-tiers {
        grid-template-columns: 1fr;
    }

    .selection-guide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .selection-scenario:hover {
        transform: translateY(-8px) rotate(0deg);
    }
}

/* Reduce white space above comparison table */
#comparison-table {
    padding-top: var(--space-sm);
}

/* Reduce section padding for expert introduction section */
section[aria-labelledby="expert-intro-heading"] {
    padding: 2rem 0;
}

/* =========================================================================
   AFFILIATE BANNER STYLES
   ========================================================================= */

.affiliate-banner-section {
    padding: var(--space-xl) 0;
    background: var(--cream-white);
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.affiliate-banner-inline {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gray);
}

.affiliate-banner-link {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.affiliate-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.affiliate-banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .affiliate-banner-section {
        padding: var(--space-lg) 0;
    }
    
    .affiliate-banner-inline {
        margin-top: var(--space-md);
        padding: var(--space-sm);
    }
}
