/* ── Reset & Base ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --terra: #c4622d;
    /* terracotta primary */
    --terra2: #e07a4a;
    /* lighter terracotta hover */
    --sand: #f5ede0;
    /* warm sand background */
    --cream: #fdf8f2;
    /* warm cream surface */
    --linen: #ede2d0;
    /* linen card background */
    --sage: #6b8f71;
    /* sage green accent */
    --sage2: #85aa8b;
    /* lighter sage hover */
    --espresso: #2c1a0e;
    /* deep espresso text */
    --bark: #5c3d1e;
    /* warm bark brown mid */
    --muted: #9a7f66;
    /* muted warm taupe */
    --white: #fffcf8;
    /* off-white */
    --rust: #a0421a;
    /* deep rust contrast */
    --radius: 12px;
    --shadow: 0 12px 48px rgba(44, 26, 14, .18);
    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--sand);
    color: var(--espresso);
    line-height: 1.75;
}

a {
    color: var(--terra);
    text-decoration: none;
}

a:hover {
    color: var(--rust);
}

img {
    display: block;
    max-width: 100%;
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(253, 248, 242, .97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(196, 98, 45, .18);
    box-shadow: 0 2px 20px rgba(44, 26, 14, .08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;

    transition: transform 0.3s ease;
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--terra);
    letter-spacing: .2px;
    white-space: nowrap;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--bark);
    font-size: .82rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 600;
    transition: color .2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--terra);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--terra);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(150deg, #2c1a0e 0%, #4a2a12 40%, #6b3a18 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 20% 70%, rgba(196, 98, 45, .22) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 80% 20%, rgba(107, 143, 113, .12) 0%, transparent 55%),
        radial-gradient(ellipse 35% 40% at 50% 95%, rgba(196, 98, 45, .12) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(245, 237, 224, .025) 0px, rgba(245, 237, 224, .025) 1px, transparent 1px, transparent 16px),
        repeating-linear-gradient(-45deg, rgba(245, 237, 224, .025) 0px, rgba(245, 237, 224, .025) 1px, transparent 1px, transparent 16px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
}

.hero-logo {
    max-height: 100px;
    width: auto;
    margin: 0 auto 28px;
    filter: drop-shadow(0 0 30px rgba(196, 98, 45, .6));
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    color: var(--sand);
    text-shadow: 0 0 60px rgba(196, 98, 45, .5);
    margin-bottom: 16px;
    line-height: 1.06;
    font-weight: 800;
}

.hero-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 24px;
}

.hero-ornament::before,
.hero-ornament::after {
    content: '';
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terra2));
}

.hero-ornament::after {
    background: linear-gradient(90deg, var(--terra2), transparent);
}

.hero-ornament span {
    color: var(--terra2);
    font-size: 1.2rem;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(245, 237, 224, .75);
    margin-bottom: 44px;
    letter-spacing: .3px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, var(--terra), var(--terra2));
    background-size: 200% 100%;
    background-position: left;
    color: var(--white);
    font-weight: 700;
    font-size: .88rem;
    font-family: var(--font-body);
    border-radius: 6px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s, background-position .3s;
    box-shadow: 0 4px 24px rgba(196, 98, 45, .4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(196, 98, 45, .58);
    background-position: right;
    color: var(--white);
}

/* ── Section titles ────────────────────────────────────────── */
.section-title {
    text-align: center;
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 3vw, 3.2rem);
    color: var(--espresso);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--terra), var(--sage));
    margin: 14px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: .94rem;
    letter-spacing: .4px;
    margin-bottom: 54px;
}

/* ── Features ──────────────────────────────────────────────── */
.features {
    padding: 100px 24px;
    background: var(--cream);
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border: 1px solid rgba(196, 98, 45, .14);
    border-radius: var(--radius);
    padding: 38px 28px;
    text-align: center;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    box-shadow: 0 2px 16px rgba(44, 26, 14, .06);
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(196, 98, 45, .42);
    box-shadow: 0 16px 40px rgba(196, 98, 45, .14);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-family: var(--font-head);
    color: var(--terra);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.72;
}

/* ── Products grid ─────────────────────────────────────────── */
.products {
    padding: 100px 24px;
    background: var(--sand);
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(196, 98, 45, .1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    box-shadow: 0 2px 12px rgba(44, 26, 14, .07);
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(196, 98, 45, .38);
}

.product-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--linen);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .45s;
}

.product-card:hover .product-image img {
    transform: scale(1.07);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--espresso);
    margin-bottom: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--terra);
    transform: translateX(4px);
}

.btn {
    display: inline-block;
    padding: 9px 24px;
    background: linear-gradient(135deg, var(--terra), var(--terra2));
    color: var(--white);
    font-size: .83rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 98, 45, .38);
    color: var(--white);
}

/* ── About section ─────────────────────────────────────────── */
.about {
    padding: 100px 24px;
    background: var(--linen);
}

.about-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: var(--bark);
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-content p+p {
    margin-top: 20px;
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
    padding: 100px 24px;
    background: var(--cream);
}

.testimonials-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(196, 98, 45, .12);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    box-shadow: 0 2px 16px rgba(44, 26, 14, .06);
}

.testimonial-card::before {
    font-family: var(--font-head);
    font-size: 6rem;
    color: rgba(196, 98, 45, .1);
    position: absolute;
    top: 4px;
    left: 18px;
    line-height: 1;
}

.testimonial-text {
    color: var(--bark);
    font-style: italic;
    margin-bottom: 18px;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--terra);
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 1.08rem;
}

/* ── CTA ───────────────────────────────────────────────────── */
.cta {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--espresso) 0%, var(--bark) 100%);
    border-top: 1px solid rgba(196, 98, 45, .2);
    border-bottom: 1px solid rgba(196, 98, 45, .2);
}

.cta h2 {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 3vw, 3rem);
    color: var(--sand);
    margin-bottom: 16px;
}

.cta p {
    color: rgba(245, 237, 224, .7);
    margin-bottom: 32px;
}

/* ── Contact page ──────────────────────────────────────────── */
.contact-section {
    padding: 120px 24px 100px;
    background: var(--cream);
    min-height: 80vh;
}

.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
}

.contact-info h3 {
    font-family: var(--font-head);
    color: var(--terra);
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.contact-info p {
    color: var(--bark);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid rgba(196, 98, 45, .22);
    border-radius: 8px;
    color: var(--espresso);
    font-family: var(--font-body);
    font-size: .95rem;
    margin-bottom: 14px;
    outline: none;
    transition: border-color .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--terra);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form button {
    padding: 13px 40px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--terra), var(--terra2));
    color: var(--white);
    font-weight: 700;
    font-size: .95rem;
    font-family: var(--font-body);
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 98, 45, .4);
}

/* ── About page ────────────────────────────────────────────── */
.about-page {
    padding: 120px 24px 100px;
    background: var(--cream);
    min-height: 80vh;
}

.about-page .about-content {
    max-width: 860px;
    margin: 0 auto;
}

.about-page p {
    margin-bottom: 20px;
}

/* ── Categories page ───────────────────────────────────────── */
.categories-section {
    padding: 120px 24px 100px;
    background: var(--sand);
}

.cat-group {
    margin-bottom: 72px;
}

.cat-group h2 {
    font-family: var(--font-head);
    color: var(--terra);
    font-size: 1.95rem;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(196, 98, 45, .2);
    font-weight: 700;
}

/* ── Product detail page ───────────────────────────────────── */
.product-detail {
    padding: 110px 24px 80px;
    background: var(--sand);
    min-height: 80vh;
}

.product-detail-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: start;
}

.product-main-img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(196, 98, 45, .2);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--linen);
    box-shadow: 0 8px 32px rgba(44, 26, 14, .12);
}

.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.gallery-thumbs img {
    width: 76px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid rgba(196, 98, 45, .18);
    transition: border-color .2s, transform .2s;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    border-color: var(--terra);
    transform: scale(1.06);
}

.product-meta h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    background: linear-gradient(135deg, var(--espresso) 0%, var(--terra) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.product-meta h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--terra), transparent);
    margin-top: 15px;
    border-radius: 2px;
}

.product-price {
    font-size: 1.85rem;
    color: var(--terra);
    font-weight: 700;
    font-family: var(--font-head);
    margin-bottom: 22px;
}

.product-description {
    color: var(--bark);
    font-size: .97rem;
    line-height: 1.85;
    margin-bottom: 26px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.features-list li {
    padding: 9px 0 9px 28px;
    position: relative;
    color: var(--espresso);
    font-size: .95rem;
    border-bottom: 1px solid rgba(196, 98, 45, .1);
}

.features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-size: .65rem;
    top: 13px;
}

/* ── CTA Buttons on product page ───────────────────────────── */
.product-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--terra), var(--terra2));
    color: var(--white);
    font-weight: 700;
    font-size: .92rem;
    font-family: var(--font-body);
    border-radius: 6px;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(196, 98, 45, .3);
    text-decoration: none;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196, 98, 45, .52);
    color: var(--white);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    font-family: var(--font-body);
    border-radius: 6px;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(37, 211, 102, .25);
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
    color: #fff;
    background: #1ebe5d;
}

.btn-call svg,
.btn-whatsapp svg {
    flex-shrink: 0;
}

.back-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 11px 30px;
    background: transparent;
    border: 1.5px solid var(--terra);
    color: var(--terra);
    border-radius: 6px;
    font-size: .88rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}

.back-btn:hover {
    background: var(--terra);
    color: var(--white);
    border-color: var(--terra);
}

/* ── Catalogue page ────────────────────────────────────────── */
.catalogue-section {
    padding: 120px 24px 100px;
    background: var(--sand);
}

.catalogue-header {
    max-width: 1200px;
    margin: 0 auto 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.catalogue-header h1 {
    font-family: var(--font-head);
    color: var(--espresso);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 700;
}

.search-bar input {
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(196, 98, 45, .22);
    color: var(--espresso);
    font-size: .92rem;
    outline: none;
    width: 250px;
    font-family: var(--font-body);
}

.search-bar input:focus {
    border-color: var(--terra);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: var(--espresso);
    border-top: 1px solid rgba(196, 98, 45, .25);
    padding: 64px 24px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
    opacity: .85;
}

.footer-section h3 {
    font-family: var(--font-head);
    color: var(--terra2);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(245, 237, 224, .65);
    font-size: .9rem;
    line-height: 1.75;
}

.footer-section a {
    display: block;
    color: rgba(245, 237, 224, .55);
    font-size: .9rem;
    margin-bottom: 8px;
    transition: color .2s;
}

.footer-section a:hover {
    color: var(--terra2);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: rgba(245, 237, 224, .4);
    font-size: .85rem;
    border-top: 1px solid rgba(196, 98, 45, .15);
    margin-top: 44px;
}

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
    padding: 148px 24px 84px;
    text-align: center;
    background: linear-gradient(150deg, var(--espresso) 0%, var(--bark) 60%, #7a4a22 100%);
    border-bottom: 1px solid rgba(196, 98, 45, .2);
}

.page-hero h1 {
    font-family: var(--font-head);
    color: var(--sand);
    font-size: clamp(1.9rem, 4vw, 3.4rem);
    margin-bottom: 12px;
    font-weight: 800;
}

.page-hero p {
    color: rgba(245, 237, 224, .7);
    font-size: 1.05rem;
    letter-spacing: .3px;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
    max-width: 1100px;
    margin: 0 auto 32px;
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.breadcrumb a {
    color: var(--terra);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 4px;
    color: #ccc;
    font-size: 0.7rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .product-detail-inner {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(253, 248, 242, .99);
        padding: 20px 24px 28px;
        gap: 18px;
        border-bottom: 1px solid rgba(196, 98, 45, .18);
    }

    .nav-menu.open {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .catalogue-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-bar input {
        width: 100%;
    }

    .product-cta-btns {
        flex-direction: column;
    }

    .btn-call,
    .btn-whatsapp {
        justify-content: center;
    }
}

.logo:hover .logo-img {
    transform: scale(1.05);
}