@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --paper: #f5f2ec;
  --surface: #ebe6dc;
  --ink: #292a27;
  --muted: #77766e;
  --line: #d8d2c7;
  --accent: #b85c3b;
  --accent-dark: #8f4029;
  --white: #fffdf9;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.5; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 96px), var(--max-width)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid rgba(216, 210, 199, .7); }
.navbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { position: relative; display: inline-flex; align-items: center; gap: 11px; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; line-height: 1.05; letter-spacing: -.3px; }
.brand-logo { width: 190px; height: auto; object-fit: contain; opacity: 0; }
.brand::before { content: ''; position: absolute; inset: 0; z-index: 1; background: url('../assets/images/logo.png') center / contain no-repeat; mix-blend-mode: multiply; pointer-events: none; }
.brand-wordmark { fill: #245986; font-family: Georgia, serif; font-size: 118px; font-weight: 700; letter-spacing: 3px; }
.brand-subtitle { fill: #555; font-family: Georgia, serif; font-size: 34px; font-weight: 700; letter-spacing: 1px; }
.brand-diagram { color: #111; }
.brand small { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 12px; letter-spacing: -1px; }
.nav-links { display: flex; align-items: center; gap: 31px; margin-left: auto; margin-right: 20px; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--muted); transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.nav-whatsapp { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.whatsapp-icon, .floating-whatsapp { background: #2b9b63; color: white; }
.whatsapp-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; font-size: 18px; transform: rotate(-30deg); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 23px; }

.hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 76px; min-height: 670px; padding-block: 68px 92px; }
.hero-copy { padding-left: 6%; }
.eyebrow { margin: 0 0 15px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
h1, h2, h3 { font-family: Manrope, sans-serif; letter-spacing: -1.9px; line-height: 1.02; }
h1 { max-width: 530px; margin: 0; font-size: clamp(52px, 6vw, 84px); }
h1 em { color: var(--accent); font-style: normal; }
.hero-text { max-width: 390px; margin: 28px 0 34px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 17px; padding: 0 21px; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-dark { background: var(--ink); color: white; }
.text-link, .card-link { font-size: 13px; font-weight: 700; }
.text-link span, .card-link span { color: var(--accent); margin-left: 7px; }
.hero-image-wrap { position: relative; }
.hero-image { height: 544px; object-fit: cover; }
.hero-label { position: absolute; right: -20px; bottom: -22px; z-index: 1; display: flex; flex-direction: column; gap: 3px; min-width: 174px; padding: 18px 20px; background: var(--accent); color: white; font-size: 11px; text-transform: uppercase; letter-spacing: .7px; }
.hero-label strong { font-family: Manrope, sans-serif; font-size: 14px; letter-spacing: 0; text-transform: none; }

section { margin-bottom: 132px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 33px; }
h2 { margin: 0; font-size: clamp(30px, 3.2vw, 45px); }
.category-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: 238px 238px; gap: 14px; }
.category-card { position: relative; overflow: hidden; }
.category-card-wide { grid-row: span 2; }
.category-card img { height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(.82); }
.category-card:hover img, .product-image:hover img { transform: scale(1.045); }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 21, 18, .68), transparent 55%); }
.category-card span { position: absolute; z-index: 1; bottom: 18px; left: 20px; color: white; font-family: Manrope, sans-serif; font-size: 19px; font-weight: 700; }
.category-card b { margin-left: 8px; color: #eaa185; font-size: 15px; }
.category-grid.category-grid-sparse { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); grid-template-rows: auto; }
.category-grid-sparse .category-card, .category-grid-sparse .category-card-wide { grid-column: auto; grid-row: auto; min-height: 260px; }
.category-grid-empty { display: none; }
.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding: 78px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-heading h2 { max-width: 410px; font-size: clamp(32px, 4vw, 51px); }
.about-heading h2 em { color: var(--accent); font-style: normal; }
.about-content { max-width: 660px; color: var(--muted); font-size: 15px; }
.about-content p { margin: 0 0 20px; }
.about-content strong { color: var(--ink); }
.about-values { margin: 36px 0 28px; padding: 24px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-values h3 { margin: 0 0 18px; color: var(--ink); font-size: 19px; letter-spacing: -.5px; }
.about-values ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.about-values li { position: relative; padding-left: 17px; font-size: 13px; }
.about-values li::before { content: ''; position: absolute; top: .65em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.about-signoff { font-size: 14px; }
.services-section { padding: 26px 0 0; }
.services-heading > p { max-width: 260px; margin: 0; color: var(--muted); font-size: 14px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-panel { position: relative; min-height: 390px; padding: 42px 44px; background: var(--surface); }
.service-panel-accent { background: var(--accent); color: white; }
.service-number { display: block; margin-bottom: 76px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.service-panel-accent .service-number { color: #f5c0a8; }
.service-panel h3 { margin: 0 0 13px; font-size: 30px; }
.service-panel > p { max-width: 360px; margin: 0 0 25px; color: var(--muted); font-size: 14px; }
.service-panel-accent > p { color: #f2d5c8; }
.service-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; margin: 0; padding: 0; list-style: none; }
.service-panel li { position: relative; padding-left: 16px; font-size: 13px; }
.service-panel li::before { content: ''; position: absolute; top: .65em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.service-panel-accent li::before { background: #f5c0a8; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-image { position: relative; display: block; overflow: hidden; background: var(--surface); aspect-ratio: 1 / 1.07; }
.product-image img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-tag { position: absolute; z-index: 1; top: 13px; left: 13px; padding: 5px 9px; background: var(--paper); font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.product-info { display: flex; justify-content: space-between; gap: 12px; padding-top: 15px; }
.product-info h3 { margin: 0 0 5px; font-size: 15px; letter-spacing: -.4px; }
.product-info p { margin: 0; color: var(--muted); font-size: 12px; }
.product-info strong { font-size: 13px; white-space: nowrap; }
.card-link { display: inline-block; margin-top: 16px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }

.story-banner { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--surface); }
.story-image img { height: 100%; min-height: 500px; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px clamp(36px, 7vw, 110px); }
.story-copy h2 { max-width: 360px; font-size: clamp(32px, 4vw, 52px); }
.story-copy p:not(.eyebrow) { max-width: 370px; margin: 24px 0 34px; color: var(--muted); }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 68px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-strip h2 { font-size: 38px; }
.contact-strip p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); }

.site-footer { background: var(--ink); color: #eee9df; }
.footer-main { display: grid; grid-template-columns: 1.7fr 1fr 1.5fr 1fr; gap: 40px; padding-block: 70px 76px; }
.footer-brand .brand { color: white; }
.footer-brand > p { margin-top: 25px; color: #9b9a93; font-size: 13px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 13px; }
.footer-column h3 { margin: 0 0 12px; color: #9b9a93; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }
.footer-column p { margin: 0 0 5px; color: #b8b5ad; line-height: 1.7; }
.footer-column a { transition: color .2s ease; }
.footer-column a:hover { color: #eaa185; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 20px; border-top: 1px solid #454640; color: #83847e; font-size: 11px; }
.floating-whatsapp { position: fixed; right: 25px; bottom: 25px; z-index: 9; display: grid; width: 55px; height: 55px; place-items: center; border: 4px solid var(--paper); border-radius: 50%; box-shadow: 0 5px 18px rgba(23, 24, 20, .2); font-size: 26px; transform: rotate(-30deg); }
.fade-in { animation: rise-in .7s ease both; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.page-intro { padding-block: 105px 82px; }
.page-intro h1 { font-size: clamp(48px, 7vw, 82px); }
.page-intro > p:last-child { max-width: 390px; margin: 27px 0 0; color: var(--muted); font-size: 17px; }
.catalog { margin-bottom: 140px; }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.catalog-toolbar h2 { font-size: 27px; letter-spacing: -1px; }
.result-count { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.filter-group { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-button { border: 1px solid var(--line); border-radius: 0; padding: 9px 13px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 12px; }
.filter-button:hover, .filter-button.active { border-color: var(--ink); background: var(--ink); color: white; }
.product-trigger { width: 100%; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; }
.product-image.product-trigger { display: block; }
.empty-state { padding: 52px 0; color: var(--muted); text-align: center; }
.empty-state a { color: var(--accent); font-weight: 700; }
.product-modal[hidden] { display: none; }
.product-modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(25, 26, 22, .65); }
.modal-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; width: min(880px, 100%); max-height: min(680px, 90vh); overflow: auto; background: var(--paper); }
.modal-content > img { height: 100%; min-height: 450px; object-fit: cover; }
.modal-copy { align-self: center; padding: 48px; }
.modal-copy h2 { margin-bottom: 17px; font-size: clamp(30px, 4vw, 48px); }
.modal-price { display: block; margin-bottom: 24px; font-size: 18px; }
.modal-copy > p:not(.eyebrow) { margin: 0 0 30px; color: var(--muted); }
.modal-close { position: absolute; top: 14px; right: 18px; z-index: 2; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 30px; line-height: 1; }
.modal-open { overflow: hidden; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 76px; align-items: stretch; margin-bottom: 140px; }
.contact-details h2 { max-width: 420px; font-size: 43px; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 48px 0 38px; }
.detail-list > div:last-child { grid-column: span 2; }
.detail-label { display: block; margin-bottom: 8px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.detail-list p { margin: 0; color: var(--muted); font-size: 14px; }
.detail-list a { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.map-frame { min-height: 530px; background: var(--surface); }
.map-frame iframe { width: 100%; height: 100%; min-height: 530px; border: 0; filter: grayscale(1) sepia(.18); }

.admin-body { min-height: 100vh; background: var(--surface); }
.admin-shell { width: min(calc(100% - 48px), 1320px); margin: 0 auto; padding: 55px 0 80px; }
.admin-login { width: min(440px, 100%); margin: 8vh auto 0; padding: 48px; background: var(--paper); box-shadow: 0 18px 60px rgba(42, 42, 37, .08); }
.admin-login .brand { margin-bottom: 72px; }
.admin-login h1, .dashboard-header h1 { margin: 0; font-size: 48px; }
.admin-login > p:not(.eyebrow) { margin: 16px 0 30px; color: var(--muted); }
.admin-login form, .admin-panel form { display: flex; flex-direction: column; gap: 9px; }
label { margin-top: 9px; font-size: 12px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 13px; background: var(--white); color: var(--ink); font: inherit; font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(184, 92, 59, .35); border-color: var(--accent); }
.form-message { margin: 7px 0 0; font-size: 13px; }
.form-message.error { color: #a33e36; }
.form-message.success { color: #277447; }
.back-link { display: inline-block; margin-top: 28px; color: var(--muted); font-size: 13px; font-weight: 700; }
.dashboard-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 42px; }
.dashboard-header > div:last-child { display: flex; align-items: center; gap: 24px; }
.button-outline { border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.button-outline:hover { border-color: var(--ink); background: var(--ink); color: white; }
.button-outline.small { min-height: 36px; padding: 0 14px; font-size: 11px; }
.button-outline.danger { border-color: rgba(163, 62, 54, .35); color: #a33e36; }
.button-outline.danger:hover { background: #a33e36; color: white; }
.admin-layout { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.admin-panel { padding: 34px; background: var(--paper); }
.admin-panel h2 { margin: 0 0 24px; font-size: 28px; }
.catalogue-type-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.type-tab { flex: 1; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 10px 12px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.type-tab.active { background: var(--ink); color: white; border-color: var(--ink); }
.category-tabs { display: flex; flex-direction: column; gap: 8px; }
.category-tabs .filter-button { width: 100%; justify-content: flex-start; text-align: left; }
.field-hint { margin-top: -2px; color: var(--muted); font-size: 11px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.form-actions .button { min-height: 44px; }
.count-badge { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--accent); color: white; font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0; vertical-align: middle; }
.admin-list-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.admin-list-heading h2 { margin: 0; font-size: 28px; }
.product-manager-list { display: flex; flex-direction: column; gap: 16px; }
.admin-product-item { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-product-item img { width: 120px; height: 90px; object-fit: cover; }
.admin-product-copy { display: flex; flex-direction: column; gap: 6px; }
.admin-product-copy strong { font-size: 16px; letter-spacing: -.3px; }
.admin-product-copy span { color: var(--muted); font-size: 12px; }
.admin-product-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.empty-state { margin: 22px 0 0; color: var(--muted); }

@media (max-width: 850px) {
  .container { width: min(calc(100% - 40px), var(--max-width)); }
  .navbar { min-height: 72px; }
  .nav-links, .nav-whatsapp { display: none; }
  .menu-toggle { display: block; }
  .nav-links.mobile-open { position: absolute; top: 72px; right: 20px; left: 20px; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px; background: var(--paper); box-shadow: 0 12px 25px rgba(42, 42, 37, .08); }
  .nav-links.mobile-open a { padding: 13px 0; }
  .hero { grid-template-columns: 1fr; gap: 44px; min-height: auto; padding-block: 56px 98px; }
  .hero-copy { padding-left: 0; }
  .hero-image { height: 470px; }
  .hero-label { right: 12px; }
  .category-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px 200px; }
  .category-card-wide { grid-row: span 1; grid-column: span 2; }
  .about-section { grid-template-columns: 1fr; gap: 38px; padding-block: 62px; }
  .services-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .story-banner { grid-template-columns: 1fr; }
  .story-image img { min-height: 380px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .filter-group { justify-content: flex-start; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .map-frame, .map-frame iframe { min-height: 390px; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-logo { width: 155px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  h1 { font-size: 50px; }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-image { height: 355px; }
  .page-intro { padding-block: 70px 58px; }
  section { margin-bottom: 90px; }
  .category-grid { grid-template-rows: 220px 180px 180px; gap: 9px; }
  .category-card span { bottom: 13px; left: 13px; font-size: 16px; }
  .about-values ul { grid-template-columns: 1fr; gap: 11px; }
  .service-panel { min-height: auto; padding: 30px 25px; }
  .service-number { margin-bottom: 48px; }
  .service-panel ul { grid-template-columns: 1fr; }
  .product-grid { gap: 28px 11px; }
  .product-info { display: block; }
  .product-info strong { display: block; margin-top: 9px; }
  .story-copy { padding: 58px 28px; }
  .contact-strip { align-items: flex-start; flex-direction: column; padding-block: 50px; }
  .contact-strip h2 { font-size: 32px; }
  .modal-content { display: block; max-height: 92vh; }
  .modal-content > img { min-height: 260px; height: 260px; }
  .modal-copy { padding: 32px 25px 36px; }
  .modal-copy h2 { font-size: 34px; }
  .contact-details h2 { font-size: 34px; }
  .detail-list { grid-template-columns: 1fr; margin: 35px 0; }
  .detail-list > div:last-child { grid-column: auto; }
  .admin-shell { width: min(calc(100% - 28px), 1320px); padding-top: 28px; }
  .admin-login { padding: 30px 24px; }
  .admin-login .brand { margin-bottom: 55px; }
  .dashboard-header { align-items: flex-start; flex-direction: column; }
  .dashboard-header > div:last-child { flex-wrap: wrap; gap: 14px; }
  .admin-form-panel, .admin-list-panel { padding: 24px 18px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 20px; padding-block: 55px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}
