/* === RESET & BASIC NORMALIZATION === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    line-height: 1.6;
    background: #F8F8FF;
    color: #384248;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* === SOFT PASTEL COLOR VARIABLES === */
:root {
  --primary: #006266;
  --secondary: #26C485;
  --accent: #F8F8FF;
  --pastel-blue: #CAF0F8;
  --pastel-mint: #B6F0DC;
  --pastel-peach: #FFE5EC;
  --pastel-yellow: #FFF6CF;
  --pastel-lilac: #ECD9FB;
  --pastel-rose: #FDE6E6;
  --heading: #252D3A;
  --text: #384248;
  --bg-dark: #D2E8EA;
  --link-hover: #17A589;
  --shadow: 0 4px 14px 0 rgba(70, 130, 180, 0.09);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: all 0.24s cubic-bezier(.49,.16,.34,1.06);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: 'Montserrat', Verdana, Arial, sans-serif;
    color: var(--heading);
    font-weight: 700;
    letter-spacing: 0.01em;
}
h1 {
    font-size: 2.3rem;
    margin-bottom: 26px;
    line-height: 1.18;
}
h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.23;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.28;
}
h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}
p, ul, ol, li {
    color: var(--text);
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
}
a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.15s;
}
a:hover, a:focus {
    color: var(--link-hover);
    text-decoration: none;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* === CONTAINER/LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}
.content-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

/* ---- CRITICAL FLEXBOX SPACING ---- */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background-color: var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    position: relative;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    min-width: 260px;
    flex: 1 1 260px;
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--pastel-mint);
    color: #27313A;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(129,184,192,0.12);
    min-width: 220px;
    max-width: 540px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border-radius: var(--radius-sm);
}

/* === HEADER & NAVIGATION === */
header {
    width: 100%;
    background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-mint) 100%);
    box-shadow: 0 2px 24px -7px rgba(0,98,102,0.09);
    padding: 0;
    z-index: 10;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 15px 18px 15px;
}
header nav {
    display: flex;
    gap: 22px;
    align-items: center;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    padding: 7px 11px;
    border-radius: 8px;
    transition: var(--transition);
}
header nav a:hover, header nav a:focus {
    background: var(--pastel-mint);
    color: #219679;
}
header img {
    max-height: 45px;
    width: auto;
    margin-right: 20px;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary) 40%, var(--pastel-blue) 100%);
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 32px;
    border-radius: var(--radius);
    border: none;
    box-shadow: 0 4px 24px -6px rgba(38,196,133,0.10);
    cursor: pointer;
    text-decoration: none;
    margin-left: 14px;
    transition: var(--transition);
    display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(90deg, #27ae60 20%, #CAF0F8 100%);
    color: var(--primary);
    box-shadow: 0 8px 32px -6px rgba(38,196,133,0.18);
}

/* ---- HAMBURGER MENU BUTTON ---- */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    padding: 6px 12px;
    margin-left: 12px;
    border-radius: 8px;
    transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: rgba(202, 240, 248, 0.70);
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--pastel-blue) 20%, var(--pastel-peach) 100%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(.47,1.64,.41,.8), opacity 0.22s;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    align-self: flex-end;
    margin: 24px 24px 0 0;
    cursor: pointer;
    padding: 8px;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    align-items: flex-start;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 9px;
    transition: background 0.14s, color 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
    background: var(--pastel-mint);
    color: #219679;
}

/* === MAIN CONTENT SECTIONS === */
main {
    width: 100%;
    margin: 0 auto;
    min-height: 60vh;
    padding-top: 38px;
}
section {
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: transparent;
}
/* For .section see above mandatory spacing */

ul, ol {
    margin-left: 22px;
    margin-bottom: 16px;
    padding-left: 4px;
}
ul li, ol li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* --- GRID-LIKE FLEX WRAPPERS (NO GRID) --- */
.services-grid,
.values-grid, .tips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 25px;
    margin-bottom: 10px;
}
.services-grid > div,
.values-grid > ul,
.tips-grid > div {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 18px;
    min-width: 220px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.price {
    background: var(--pastel-lilac);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 10px;
    align-self: flex-start;
    font-weight: 600;
    font-size: 1.07rem;
    margin-top: 6px;
}

.text-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 5px;
}

.contact-info {
    background: var(--pastel-mint);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(38, 196, 133, 0.08);
    margin-bottom: 22px;
    font-size: 1.03rem;
}

/* === FOOTER === */
footer {
    width: 100%;
    background: linear-gradient(90deg, var(--pastel-lilac) 0%, var(--pastel-rose) 100%);
    margin-top: 60px;
    padding: 0;
}
footer section {
    margin-bottom: 0;
    padding: 38px 0 18px 0;
    border-radius: 0;
    background: none;
}
footer .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
footer .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: center;
}
footer nav {
    display: flex;
    gap: 18px;
}
footer nav a {
    color: var(--primary);
    font-size: 1rem;
    border-radius: 8px;
    padding: 8px 10px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
    background: var(--pastel-mint);
    color: #27ae60;
}
footer .social-links {
    display: flex;
    gap: 15px;
}
footer .social-links a {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(70, 130, 180, 0.11);
    transition: background 0.16s, transform 0.16s;
}
footer .social-links a:hover {
    background: var(--pastel-blue);
    transform: translateY(-2px) scale(1.03);
}
footer .newsletter-signup {
    background: linear-gradient(90deg, var(--pastel-mint), var(--pastel-lilac));
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 230px;
}
footer .newsletter-signup h4 {
    font-size: 1.1rem;
    margin-bottom: 7px;
}

/* === TESTIMONIALS === */
.testimonial-card p {
    font-size: 1.08rem;
    color: #1a3c3d;
    font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
    font-size: 0.97rem;
    color: #39796b;
    margin-left: 8px;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
}

/* === BUTTONS & INTERACTIVE === */
button,
input[type="submit"],
input[type="button"] {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: var(--secondary);
    color: #fff;
    padding: 10px 22px;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 2px 7px rgba(38,196,133,0.13);
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
    background: #17A589;
    color: #fff;
}

/* === RESPONSIVE DESIGN (MOBILE-FIRST) === */
@media (max-width: 1024px) {
    .container {
        max-width: 98vw;
    }
    .services-grid, .values-grid, .tips-grid, .content-grid {
        gap: 16px;
    }
}
@media (max-width: 900px) {
    .footer .content-wrapper {
        flex-direction: column;
        gap: 25px;
    }
    header .container {
        flex-wrap: wrap;
        gap: 13px;
    }
}
@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.08rem; }
    .section {
        margin-bottom: 40px;
        padding: 28px 7px;
    }
    .services-grid > div, .tips-grid > div, .values-grid > ul, .card {
        min-width: 100%;
        width: 100%;
        padding: 15px 12px;
        font-size: 0.98rem;
        margin-right: 0;
    }
    .card-container, .services-grid, .values-grid, .tips-grid, .content-grid {
        flex-direction: column;
    }
    header .container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 11px;
    }
    nav {
        display: none;
    }
    .btn-primary {
        margin: 0;
        margin-top: 8px;
        padding: 11px 22px;
        font-size: 0.98rem;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .contact-info {
        font-size: 0.97rem;
        padding: 10px 10px;
    }
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .text-image-section {
        flex-direction: column;
        gap: 18px;
    }
    .newsletter-signup { padding: 9px 8px; }
}
@media (max-width: 480px) {
    .container { padding-left: 5px; padding-right: 5px; }
    .section { padding: 16px 3px; margin-bottom: 30px; }
    .card, .services-grid > div, .tips-grid > div { padding: 10px 5px; min-width: 0; }
    nav { display: none; }
    .btn-primary { width: 100%; padding: 13px 4px; font-size: 0.98rem; }
    .mobile-nav a { padding: 14px 10px; font-size: 1.04rem; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    z-index: 2000;
    background: linear-gradient(90deg, #fff6cf 60%, #b6f0dc 100%);
    box-shadow: 0 -2px 18px -6px rgba(38,98,102,0.12);
    padding: 28px 15px 16px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    animation: fadeInUp .6s cubic-bezier(.47,.64,.41,.8) 0.3s both;
    font-size: 1rem;
}
.cookie-consent-banner * {
    font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-consent-banner button {
    margin-left: 12px;
    padding: 10px 19px;
    font-size: 1rem;
    border-radius: 13px;
    border: none;
    transition: var(--transition);
}
.cookie-consent-banner .accept-btn {
    background: var(--primary);
    color: #fff;
}
.cookie-consent-banner .accept-btn:hover {
    background: #27ae60;
}
.cookie-consent-banner .reject-btn {
    background: #e4e9ea;
    color: var(--primary);
}
.cookie-consent-banner .reject-btn:hover {
    background: #fff6cf;
}
.cookie-consent-banner .settings-btn {
    background: var(--pastel-mint);
    color: var(--primary);
}
.cookie-consent-banner .settings-btn:hover {
    background: var(--pastel-peach);
}
@media (max-width: 768px) {
    .cookie-consent-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        padding: 15px 6px 12px 6px;
    }
    .cookie-consent-banner button {
        margin: 0 4px 0 0;
        width: 98%;
    }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
    display: none;
    position: fixed;
    z-index: 2100;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(44,67,105,0.25);
    justify-content: center;
    align-items: center;
    transition: opacity 0.18s;
}
.cookie-modal-overlay.open {
    display: flex;
    animation: fadeIn .32s cubic-bezier(.49,.16,.34,1.06);
}
.cookie-modal {
    background: linear-gradient(88deg,#f8f8ff 70%, #b6f0dc 100%);
    border-radius: var(--radius);
    padding: 30px 26px 22px 22px;
    min-width: 320px;
    max-width: 98vw;
    box-shadow: 0 6px 32px rgba(146,167,232,0.15);
    color: var(--heading);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 19px;
}
.cookie-modal h2 {
    font-size: 1.25rem;
    margin-bottom: 9px;
}
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 11px;
}
.cookie-category input[type=checkbox] {
    accent-color: var(--secondary);
    width: 20px; height: 20px;
}
.cookie-category label {
    font-size: 1rem;
    font-weight: 500;
}
.cookie-modal .close-cookie-modal {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    position: absolute;
    right: 16px;
    top: 10px;
    cursor: pointer;
    padding: 4px;
}
.cookie-modal-actions {
    display: flex;
    gap: 17px;
    margin-top: 6px;
    justify-content: flex-end;
}
.cookie-modal-actions button {
    padding: 9px 18px;
    border-radius: 11px;
    font-size: 1rem;
    font-weight: 600;
}
@media (max-width:460px) {
    .cookie-modal {
        padding: 12px 3vw 8px 3vw;
        min-width: 0;
        width: 99vw;
    }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === MICRO-INTERACTIONS === */
.services-grid > div:hover, .tips-grid > div:hover, .card:hover {
    box-shadow: 0 8px 26px -7px rgba(38,196,133,0.19);
    transform: translateY(-2px) scale(1.012);
    transition: var(--transition);
}

/* === MISCELLANEOUS === */
::-webkit-scrollbar {
    width: 9px;
    background: var(--pastel-rose);
}
::-webkit-scrollbar-thumb {
    background: var(--pastel-mint);
    border-radius: 6px;
}
::selection {
    background: var(--pastel-blue);
    color: var(--primary);
}

/* High contrast for testimonials and review cards for accessibility */
.testimonial-card p,
.testimonial-card span {
    color: #183031;
    text-shadow: 0 1px 0 #fff9;
}

/* Disable outline only on mouse use, not for keyboard nav */
a, button, .btn-primary {
    outline: none;
}
a:focus-visible, button:focus-visible, .btn-primary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
