/* ============================================
   Purified Ice and Water — Style Sheet
   Classic & Elegant · Teal + Slate Palette
   ============================================ */

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

:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', 'Segoe UI', system-ui, sans-serif;

    --shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md:  0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg:  0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-xl:  0 24px 60px rgba(15, 23, 42, 0.16);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--teal-700);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--teal-600); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-800);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 16px;
    color: #fff;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slate-900);
}
.logo:hover { color: var(--slate-900); }

.logo-icon {
    color: var(--teal-600);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--slate-900);
}
.logo-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-500);
}

/* Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-menu a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}
.nav-cta {
    background: var(--teal-700) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 8px;
}
.nav-cta:hover {
    background: var(--teal-800) !important;
    color: #fff !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    align-items: center;
    justify-content: center;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger {
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--teal-50) 50%, var(--slate-100) 100%);
    padding-top: 76px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 540px; }

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-bottom: 24px;
}
.hero-headline br { display: none; }

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--teal-700);
    color: #fff;
    border-color: var(--teal-700);
}
.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--slate-800);
    border-color: var(--slate-300);
}
.btn-secondary:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
    transform: translateY(-2px);
}
.btn-dark {
    background: var(--slate-800);
    color: #fff;
    border-color: var(--slate-800);
}
.btn-dark:hover {
    background: var(--slate-900);
    border-color: var(--slate-900);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-full { width: 100%; }

/* Trust badges */
.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-600);
}
.trust-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* Hero image */
.hero-image {
    position: relative;
    flex-shrink: 0;
}
.hero-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}
.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--teal-200);
    border-radius: 50%;
    opacity: 0.4;
    z-index: -1;
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    color: var(--slate-50);
}
.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ---------- SECTION COMMON ---------- */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-bottom: 18px;
}
.section-title.light { color: #fff; }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 600px;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0;
    background: var(--slate-50);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    margin-bottom: 22px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--teal-700);
    color: #fff;
}
.service-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 10px;
}
.service-desc {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: #fff;
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    bottom: -24px;
    left: 32px;
    background: var(--teal-700);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
}
.about-badge-number {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}
.about-badge-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
}
.about-content { max-width: 480px; }
.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: 20px;
}
.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 36px 0;
    padding: 28px 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.stat { text-align: center; flex: 1; }
.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--slate-500);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

/* ---------- QUALITY BANNER ---------- */
.quality-banner {
    position: relative;
    padding: 100px 0;
    background: var(--slate-900);
    overflow: hidden;
}
.quality-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal-950) 0%, var(--slate-900) 60%, var(--teal-900) 100%);
}
.quality-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--teal-400) 1px, transparent 0);
    background-size: 32px 32px;
}
.quality-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.quality-desc {
    font-size: 1.05rem;
    color: var(--slate-400);
    line-height: 1.8;
    margin-top: 20px;
    max-width: 440px;
}
.quality-feature {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.quality-feature:first-child { padding-top: 0; }
.quality-feature:last-child { border-bottom: none; }
.qf-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-sm);
    color: var(--teal-400);
}
.quality-feature h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.quality-feature p {
    font-size: 0.88rem;
    color: var(--slate-400);
    line-height: 1.7;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 100px 0;
    background: var(--slate-50);
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-desc {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 40px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.ci-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
}
.ci-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}
.ci-value {
    display: block;
    font-size: 0.95rem;
    color: var(--slate-700);
    line-height: 1.6;
}
.ci-link {
    font-size: 0.95rem;
    color: var(--teal-700);
    font-weight: 500;
}
.ci-link:hover { color: var(--teal-600); }

/* Form */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
}
.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-600);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-sm);
    color: var(--teal-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}
.form-success.visible {
    display: flex;
}
.form-success svg {
    flex-shrink: 0;
    color: var(--teal-600);
}

/* ---------- MAP ---------- */
.map-section {
    border-top: 1px solid var(--slate-200);
}
.map-container {
    filter: grayscale(30%) contrast(1.05);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 72px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.logo-footer { margin-bottom: 18px; }
.logo-footer .logo-name { color: #fff; }
.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--slate-400);
    max-width: 300px;
}
.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
}
.footer-contact p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 4px;
}
.footer-contact a {
    color: var(--teal-400);
}
.footer-contact a:hover { color: var(--teal-300); }
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 0.88rem;
    color: var(--slate-400);
}
.footer-links a:hover { color: var(--teal-400); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--slate-500);
}
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--teal-400); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-700);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    z-index: 50;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
}

/* ---------- MOBILE NAV OVERLAY ---------- */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu a {
        padding: 14px 16px;
        font-size: 1.05rem;
        border-radius: var(--radius-sm);
    }
    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 12px;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content { max-width: 100%; }
    .hero-description { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image { max-width: 480px; margin: 0 auto; }
    .hero-image img { height: 400px; }
    .hero-headline br { display: block; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; gap: 48px; }
    .about-image-wrap img { height: 400px; }
    .about-content { max-width: 100%; }
    .quality-content { grid-template-columns: 1fr; gap: 48px; }
    .contact-container { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .about-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }
    .contact-form-wrap { padding: 20px; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: no-preference) {
    .service-card { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
