/* Design system built using HSL color space - Eco-Professional Green & Stone Theme */
:root {
    --primary: hsl(162, 85%, 32%);
    --primary-light: hsla(162, 85%, 32%, 0.08);
    --secondary: hsl(215, 80%, 45%);
    --dark: #1c1917;
    --light: #f7f7f5;
    --white: #ffffff;
    --gray-light: #e6e4e0;
    --gray-dark: #736f6a;
    --text: #3c3835;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 4px 12px rgba(28, 25, 23, 0.04);
    --shadow-card: 0 10px 30px rgba(28, 25, 23, 0.06);
    --shadow-hover: 0 20px 40px rgba(28, 25, 23, 0.12);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: hsl(162, 85%, 28%);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 1.5px solid var(--gray-light);
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

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

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-light);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.by-partner {
    font-size: 9px;
    color: var(--gray-dark);
    font-weight: 700;
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-nav-whatsapp {
    background-color: #25d366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-nav-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 110px;
    background-color: #f2f2ef;
    color: var(--dark);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(5, 150, 105, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.hero-content {
    flex: 1 1 500px;
}

.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-light);
    border: 1px solid hsla(162, 85%, 32%, 0.15);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(32px, 5.5vw, 52px);
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -1.2px;
}

.hero p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 28px;
    font-weight: 400;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid var(--gray-light);
}

.trust-badge i {
    color: var(--primary);
}

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

.hero-image-wrap {
    flex: 1 1 350px;
    display: flex;
    justify-content: center;
}

.hero-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-light);
    background: var(--white);
    transition: var(--transition);
    max-width: 420px;
}

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

.hero-image-card img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 380px;
}

.floating-badge-top {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
}

.text-gold {
    color: #f59e0b;
}

/* Interactive Calculator / Form Section */
.calculator-section {
    padding: 90px 0;
    background-color: var(--white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -12px 30px rgba(0,0,0,0.02);
    border-top: 1px solid var(--gray-light);
}

.calculator-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-card);
    max-width: 800px;
    margin: 0 auto;
}

.calc-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 36px;
    border-bottom: 1.5px solid var(--gray-light);
    padding-bottom: 14px;
}

.step-indicator {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gray-dark);
    position: relative;
    padding-bottom: 14px;
}

.step-indicator.active {
    color: var(--primary);
}

.step-indicator.active::after {
    content: '';
    position: absolute;
    bottom: -15.5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 1.5px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h4 {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--dark);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.option-box {
    border: 1.5px solid var(--gray-light);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
}

.option-box:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.option-box.selected {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.margin-top-20 {
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark);
}

.form-group textarea, .form-group input {
    padding: 14px;
    border-radius: 8px;
    border: 1.5px solid var(--gray-light);
    font-family: var(--font-body);
    font-size: 14.5px;
    outline: none;
    transition: var(--transition);
    background-color: var(--light);
}

.form-group textarea:focus, .form-group input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    gap: 14px;
}

.btn-next, .btn-submit {
    margin-left: auto;
}

.calculator-card .btn-secondary {
    background-color: var(--light);
    color: var(--text);
    border: 1.5px solid var(--gray-light);
}

.calculator-card .btn-secondary:hover {
    background-color: var(--gray-light);
    color: var(--dark);
}

/* Shop Section Styling */
.shop-section {
    padding: 90px 0;
    background-color: var(--light);
    border-top: 1.5px solid var(--gray-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1.5px solid var(--gray-light);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.product-img-placeholder {
    height: 170px;
    border-radius: 8px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 40px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-card p {
    color: var(--gray-dark);
    font-size: 13.5px;
    margin-bottom: 18px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-size: 19px;
    font-weight: 750;
    color: var(--primary);
}

.btn-order {
    padding: 8px 16px;
    font-size: 12.5px;
    border-radius: 6px;
}

/* Services Section */
.services {
    padding: 90px 0;
    background-color: var(--white);
    border-top: 1.5px solid var(--gray-light);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 14px;
    color: var(--dark);
}

.section-description {
    color: var(--gray-dark);
    font-size: 14.5px;
}

.section-title-line {
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    margin: 16px auto 0 auto;
    border-radius: 1.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background-color: var(--light);
    border-radius: 12px;
    padding: 36px;
    border: 1.5px solid var(--gray-light);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    background-color: var(--white);
    border-color: var(--primary);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 14px;
    color: var(--dark);
}

.service-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: #a8a29e;
    padding: 48px 0;
    text-align: center;
    border-top: 1.5px solid #292524;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 13.5px;
}

.footer-sub a {
    color: var(--white);
    font-weight: 600;
}

.footer-sub a:hover {
    color: var(--primary);
}

/* Floating elements */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.06);
}

.whatsapp-badge {
    position: absolute;
    right: 70px;
    background-color: var(--white);
    color: var(--dark);
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    white-space: nowrap;
    border: 1px solid var(--gray-light);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.floating-whatsapp:hover .whatsapp-badge {
    opacity: 1;
    visibility: visible;
}

/* Success state actions */
.success-actions {
    margin-top: 20px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(28, 25, 23, 0.4);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 36px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    border: 1.5px solid var(--gray-light);
    box-shadow: 0 20px 40px rgba(28, 25, 23, 0.15);
    position: relative;
    animation: modalFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from { transform: translateY(15px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-card {
        padding: 20px;
    }
    .calc-steps-indicator {
        font-size: 11px;
    }
    .modal-content {
        padding: 20px;
    }
}
