/* ============================================
   Mondul Coffee Estates — style.css
   Premium Tanzanian Arabica since 1931
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-bg: #FAF8F4;
    --color-bg-alt: #F0EAE0;
    --color-dark: #1C1108;
    --color-dark-overlay: rgba(28, 17, 8, 0.7);
    --color-primary: #3D2B1F;
    --color-accent: #8B6F47;
    --color-accent-hover: #725A38;
    --color-gold: #C4A265;
    --color-text: #1A1612;
    --color-text-secondary: #6B5E57;
    --color-text-light: #F5EFE6;
    --color-border: #D9D0C4;
    --color-white: #FFFFFF;
    --color-footer: #1A1209;
    --color-whatsapp: #25D366;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --nav-height: 80px;
    --container-max: 1200px;
    --container-narrow: 800px;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(28, 17, 8, 0.08);
    --shadow-md: 0 4px 20px rgba(28, 17, 8, 0.12);
    --shadow-lg: 0 8px 40px rgba(28, 17, 8, 0.16);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

ul, ol {
    list-style: none;
}

section {
    scroll-margin-top: var(--nav-height);
}

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

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-padding--lg {
    padding: 6rem 0;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn--outline-dark {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
}

.btn--whatsapp:hover {
    background-color: #1ebe5d;
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition);
    display: flex;
    align-items: center;
}

.nav--transparent {
    background: transparent;
}

.nav--solid {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav--solid .nav__logo {
    color: var(--color-primary);
}

.nav__logo-est {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition);
}

.nav--solid .nav__links a {
    color: var(--color-text-secondary);
}

.nav__links a:hover,
.nav__links a.active {
    color: var(--color-white);
}

.nav--solid .nav__links a:hover,
.nav--solid .nav__links a.active {
    color: var(--color-primary);
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius);
    background: var(--color-accent);
    color: var(--color-white) !important;
    text-decoration: none;
    transition: all var(--transition);
}

.nav__cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.nav__cta::after {
    display: none !important;
}

/* Hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
    border-radius: 2px;
}

.nav--solid .nav__hamburger span {
    background: var(--color-primary);
}

.nav__hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(28, 17, 8, 0.35) 0%,
        rgba(28, 17, 8, 0.55) 50%,
        rgba(28, 17, 8, 0.75) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 800px;
}

.hero__est {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page hero (shorter, for inner pages) */
.hero--page {
    min-height: 50vh;
}

.hero--page .hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(28, 17, 8, 0.4) 0%,
        rgba(28, 17, 8, 0.7) 100%
    );
}

/* ---------- Trust Strip ---------- */
.trust-strip {
    background: var(--color-dark);
    padding: 1.75rem 0;
}

.trust-strip__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.trust-strip__number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.trust-strip__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Intro Section ---------- */
.intro {
    padding: 5rem 0;
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ---------- Cards Grid ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.card__image {
    height: 220px;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__body {
    padding: 1.5rem;
}

.card__body h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.card__body p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Certifications / Badges ---------- */
.badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.75rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
    background: var(--color-white);
    min-width: 140px;
}

.badge:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-sm);
}

.badge__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.badge__icon svg {
    width: 32px;
    height: 32px;
}

.badge__name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}

.badge__detail {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
}

/* ---------- Testimonial ---------- */
.testimonial {
    background: var(--color-dark);
    padding: 5rem 0;
}

.testimonial__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial__quote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial__quote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--color-gold);
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    line-height: 1;
    opacity: 0.5;
}

.testimonial__author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold);
}

.testimonial__role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--color-bg-alt);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-section .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline__item {
    padding-left: 2.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid var(--color-bg);
}

.timeline__year {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.timeline__text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ---------- Values Grid ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-item__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-accent);
}

.value-item__icon svg {
    width: 28px;
    height: 28px;
}

/* ---------- Coffee Process ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: process;
}

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

.process-step__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-bg-alt);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.process-step__number::before {
    content: counter(process, decimal-leading-zero);
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
}

/* ---------- Coffee Grades Table ---------- */
.grades-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.grades-table th,
.grades-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.grades-table th {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    background: var(--color-bg-alt);
}

.grades-table td {
    font-size: 0.95rem;
    color: var(--color-text);
}

.grades-table tr:hover td {
    background: var(--color-bg-alt);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info__item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-accent);
}

.contact-info__icon svg {
    width: 20px;
    height: 20px;
}

.contact-info__text h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.contact-info__text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-info__text a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-info__text a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-accent);
}

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

.form-group .error-msg {
    font-size: 0.8rem;
    color: #c0392b;
    margin-top: 0.25rem;
    display: none;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #c0392b;
}

.form-success {
    display: none;
    padding: 1.5rem;
    background: #e8f5e9;
    border-radius: var(--radius);
    text-align: center;
    color: #2e7d32;
    font-weight: 500;
}

.form-success.show {
    display: block;
}

/* Map */
.map-container {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-footer);
    padding: 4rem 0 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.footer__brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.footer__links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--color-gold);
}

.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer__social a:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: all var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ---------- Mobile Enquiry Bar ---------- */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
    z-index: 950;
    gap: 0.75rem;
}

.mobile-bar a {
    flex: 1;
    text-align: center;
    padding: 0.7rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.mobile-bar a svg {
    width: 18px;
    height: 18px;
}

.mobile-bar__whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
}

.mobile-bar__enquire {
    background: var(--color-accent);
    color: var(--color-white);
}

/* ---------- Alt Section Backgrounds ---------- */
.bg-alt {
    background: var(--color-bg-alt);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav__links.open {
        right: 0;
    }

    .nav__links a {
        color: var(--color-text) !important;
        font-size: 1.1rem;
    }

    .nav__cta {
        margin-top: 0.5rem;
    }

    .nav__hamburger {
        display: flex;
    }

    .hero {
        min-height: 90vh;
    }

    .hero--page {
        min-height: 40vh;
    }

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

    .cards {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .badges {
        gap: 1rem;
    }

    .badge {
        min-width: 120px;
        padding: 1rem 1.25rem;
    }

    .trust-strip__inner {
        gap: 1.5rem;
    }

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

    .section-padding {
        padding: 3.5rem 0;
    }

    .section-padding--lg {
        padding: 4rem 0;
    }

    .mobile-bar {
        display: flex;
    }

    .whatsapp-float {
        bottom: 5rem;
    }

    .back-to-top {
        bottom: 5rem;
    }

    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .trust-strip__inner {
        gap: 1rem;
    }

    .trust-strip__number {
        font-size: 1.3rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

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

    .grades-table th,
    .grades-table td {
        padding: 0.75rem;
    }
}
