/* Casa Forma - style.css */
/* CSS RESET + NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F5F3EF;
  color: #22313F;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background-color: #F5F3EF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #BA924D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b3823c;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1.5em;
  padding-left: 0.8em;
}
li {
  margin-bottom: 0.6em;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1em;
}

/* --- Brand Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22313F;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.23rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, .subheadline {
  font-size: 1.06rem;
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.09rem; }
}

/* ---- Layout Containers ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 690px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .container { padding: 0 6px; }
  .content-wrapper { gap: 18px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(34,49,63,0.08);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 18px rgba(212, 180, 131, 0.15), 0 1.5px 3px rgba(34,49,63,0.05);
  transform: translateY(-4px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid { flex-direction: column; gap: 16px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- Feature/Services List ---- */
.features-list, .services-preview-list, .products-preview-list, .product-categories, .faq-list, .company-timeline ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.features-list li, .services-preview-list li, .products-preview-list li, .product-categories li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(34,49,63,0.10);
  padding: 22px 18px;
  flex: 1 1 210px;
  min-width: 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.features-list li:hover, .services-preview-list li:hover, .products-preview-list li:hover {
  box-shadow: 0 8px 26px rgba(212,180,131,0.10);
  transform: translateY(-4px) scale(1.02);
}
.features-list img, .services-preview-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
@media (max-width: 690px) {
  .features-list, .services-preview-list, .products-preview-list {
    flex-direction: column;
    gap: 16px;
  }
  .features-list li, .services-preview-list li, .products-preview-list li {
    min-width: 0;
  }
}

/* --- CTA Button --- */
.cta-btn {
  display: inline-block;
  background: #D4B483;
  color: #22313F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  padding: 14px 34px;
  margin-top: 2px;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(115,95,43,0.08);
  cursor: pointer;
}
.cta-btn.primary, .main-nav .cta-btn {
  background: #22313F;
  color: #fff;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #D4B483;
  color: #22313F;
}
.cta-btn:hover, .cta-btn:focus {
  background: #BA924D;
  color: #fff;
  box-shadow: 0 3px 16px rgba(212, 180, 131, 0.17);
}

/* --- Header & Navigation --- */
header {
  width: 100%;
  background: #fff;
  padding: 0;
  box-shadow: 0 2px 8px rgba(34,49,63,0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 30;
}
header .container {
  padding: 0 18px;
}
.logo-link {
  display: inline-block;
  margin: 16px 0 10px 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: #22313F;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 18px;
  transition: background 0.15s, color 0.15s;
  font-size: 1rem;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F3EF;
  color: #BA924D;
}
.main-nav .cta-btn {
  margin-left: 8px;
}
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 970px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 820px) {
  .main-nav { gap: 2px; }
}
@media (max-width: 700px) {
  header {
    flex-direction: row;
    padding: 0 4px;
    align-items: center;
    min-height: 60px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #22313F;
    padding: 6px 16px;
    margin-left: auto;
    border-radius: 14px;
    transition: background 0.16s;
    z-index: 101;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #F5F3EF;
  }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(34,49,63,0.98);
  transition: transform 0.32s cubic-bezier(.87,-0.41,.19,1.34);
  transform: translateX(-110vw);
  display: flex;
  flex-direction: column;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 18px;
  margin-right: 28px;
  font-size: 2.3rem;
  background: none;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.12s;
  z-index: 10;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D4B483;
  color: #22313F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 13px 0;
  border-radius: 20px;
  width: 100%;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D4B483;
  color: #22313F;
}
@media (min-width: 701px) {
  .mobile-menu, .mobile-menu-close, .mobile-nav { display: none!important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(120deg, #F5F3EF 82%, #d4b48312 100%);
  padding: 56px 0 32px 0;
  margin-bottom: 38px;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  box-shadow: 0 7px 28px rgba(212,180,131,0.07);
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero-section h1 {
  font-size: 2.2rem;
  color: #22313f;
}
.hero-section .subheadline {
  color: #7f6945;
  font-size: 1.18rem;
  margin-bottom: 13px;
  font-weight: 500;
}
@media (max-width: 690px) {
  .hero-section { padding: 32px 0 18px 0; margin-bottom: 16px; }
  .hero-section h1 { font-size: 1.25rem; }
}

/* --- Product/Service/Feature Preview --- */
.products-preview-list, .services-preview-list {
  gap: 24px;
}
.products-preview-list li, .services-preview-list li {
  border-radius: 14px;
}
.products-preview-list h3, .services-preview-list h3 {
  font-size: 1.11rem;
  font-weight: 700;
}
.products-preview-list a, .services-preview-list a {
  margin-top: 8px;
  display: inline-block;
  color: #BA924D;
  transition: color 0.18s;
  font-weight: 600;
  border-bottom: 1.5px dotted #d4b48356;
}
.products-preview-list a:hover, .services-preview-list a:hover {
  color: #22313F;
  border-bottom: 1.5px solid #D4B483;
}

/* --- Testimonials --- */
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 9px rgba(215,185,121,0.14);
  color: #22313F;
  padding: 26px 28px 14px 28px;
  min-width: 260px;
  max-width: 375px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 30px rgba(212,180,131,0.20);
  transform: scale(1.03) translateY(-3px);
}
.testimonial-card p {
  font-size: 1.1rem;
  margin-bottom: 7px;
  color: #3a2712;
  font-style: italic;
}
.testimonial-card strong {
  font-weight: 700;
  color: #BA924D;
}
.stars {
  color: #FFD700;
  font-size: 1.12rem;
  letter-spacing: 2px;
}
@media (max-width: 690px) {
  .testimonials-list {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 99%;
    padding: 18px 13px 11px 13px;
  }
}

/* --- Footer --- */
footer {
  background: #22313F;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 8px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #D4B48355;
  padding-bottom: 18px;
  margin-bottom: 13px;
}
.footer-top img {
  height: 32px;
  margin-bottom: 5px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.footer-nav a {
  color: #D4B483;
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 1rem;
}
.footer-bottom address {
  font-style: normal;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.7;
}
.footer-bottom img {
  vertical-align: middle;
  margin-right: 4px;
  width: 16px;
  height: 16px;
}
.footer-bottom a {
  color: #D4B483;
  font-size: 0.98rem;
  transition: color 0.13s;
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-copy {
  margin-top: 8px;
  color: #D4B483;
  font-size: 0.92rem;
}
@media (max-width: 690px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    font-size: 0.98rem;
  }
}

/* --- Various Cards, Timeline, etc --- */
.company-timeline {
  background: #f7f2ea;
  border-radius: 16px;
  padding: 18px 17px;
  margin-top: 16px;
  box-shadow: 0 1px 7px rgba(212,180,131,0.05);
}
.company-timeline h3 { font-size: 1.11rem; margin-bottom: 7px; }
.company-timeline ul { flex-direction: column; gap: 0; }
.company-timeline li { margin-bottom: 7px; font-size: 1rem; }

.text-section {
  margin-bottom: 18px;
}
@media (max-width: 690px) {
  .company-timeline { padding: 10px 8px; }
  .text-section { margin-bottom: 9px; }
}

.filters-section {
  margin-bottom: 18px;
}
.product-categories {
  flex-wrap: wrap;
  gap: 13px;
}
.product-categories li a {
  display: inline-block;
  background: #FFF;
  border: 1.5px solid #D4B483B3;
  color: #22313F;
  border-radius: 16px;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  transition: background 0.12s, color 0.12s, border-color 0.14s;
}
.product-categories li a:hover, .product-categories li a:focus {
  background: #D4B483;
  color: #fff;
  border-color: #D4B483;
}

.products-summary-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.products-summary-cards .text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px rgba(215,185,121,0.10);
  padding: 16px 12px 10px 18px;
  min-width: 220px;
  flex: 1 1 210px;
  margin-bottom: 13px;
}
@media (max-width: 690px) {
  .products-summary-cards { flex-direction: column; gap: 9px; }
  .products-summary-cards .text-section { min-width: 0; padding: 10px 6px 8px 9px; }
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.service-list .text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(212,180,131,0.07);
  padding: 14px 15px 7px 17px;
  min-width: 220px;
  flex: 1 1 210px;
  margin-bottom: 13px;
}
.service-price {
  color: #D4B483;
  background: #F7EBDD;
  border-radius: 14px;
  padding: 3px 9px;
  font-size: 0.96rem;
  margin-left: 7px;
  font-weight: 600;
}
@media (max-width: 690px) {
  .service-list { flex-direction: column; gap: 10px; }
  .service-list .text-section { min-width: 0; }
}
.pricing-overview ul {
  flex-direction: column;
  gap: 0;
  margin-bottom: 8px;
}
.pricing-overview h3 {
  font-size: 1rem;
  color: #7f6945;
}

.faq-list {
  flex-direction: column;
  gap: 11px;
  margin-bottom: 12px;
}
.faq-list li strong {
  color: #22313F;
  font-weight: bold;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #FFF8ED;
  color: #523900;
  box-shadow: 0 -2px 18px rgba(150,123,45,0.10);
  z-index: 1200;
  padding: 22px 14px 20px 14px;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.32s, transform 0.31s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  color: #523900;
  margin-bottom: 3px;
  font-size: 1.08rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 22px;
  margin-top: 0;
  background: #D4B483;
  color: #22313F;
  box-shadow: 0 0.5px 4px rgba(150,123,45,0.05);
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.accept {
  background: #22313F;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #b3823c;
  border: 1.5px solid #D4B483CC;
}
.cookie-btn.settings {
  background: #F5F3EF;
  color: #BA924D;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #BA924D;
  color: #fff;
}
@media (max-width: 680px) {
  .cookie-banner {
    font-size: 0.95rem;
    padding: 16px 2vw 16px 2vw;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  z-index: 1300;
  background: rgba(34,49,63,0.33);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #22313F;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -4px 32px rgba(34,49,63,0.11);
  width: 97vw;
  max-width: 420px;
  margin-bottom: 0;
  padding: 30px 22px 21px 22px;
  animation: cookieModalSlideIn 0.5s cubic-bezier(.73,-0.05,.6,1.48);
}
@keyframes cookieModalSlideIn {
  from { transform: translateY(60%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 13px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 0;
}
.cookie-modal-category label { font-size: 1.03rem; color: #774f1d; }
.cookie-modal-category input[type="checkbox"] {
  width: 24px; height: 24px;
  accent-color: #D4B483;
}
.cookie-modal-category .always {
  color: #BA924D;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 2px 7px;
  border-radius: 9px;
  background: #F8EFD7;
}
.cookie-modal-buttons {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-modal .cookie-btn.save {
  background: #22313F;
  color: #fff;
}
.cookie-modal .cookie-btn.cancel {
  background: #F5F3EF;
  color: #22313F;
}
.cookie-modal .cookie-btn.save:hover, .cookie-modal .cookie-btn.save:focus {
  background: #BA924D;
}

/* ---- Micro-interactions: transitions and hovers ---- */
.card, .features-list li, .services-preview-list li, .products-preview-list li, .cta-btn,
.product-categories li a, .testimonial-card, .footer-nav a, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.16s, background 0.18s, color 0.18s, transform 0.16s;
}

/* ---- Accessibility ---- */
:focus {
  outline: 2px solid #D4B483;
  outline-offset: 2px;
}

/* ---- Utility Classes ---- */
.hide, .hidden {
  display: none !important;
}

/* --- Extra General Spacing --- */
section + section {
  margin-top: 18px;
}
.content-wrapper > * + * {
  margin-top: 17px;
}

/* Custom scroll for overlay menu/modal */
.mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: #D4B483 #F5F3EF;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px;
  background: #F5F3EF;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: #D4B483;
  border-radius: 7px;
}

@media (max-width:420px) {
  .cookie-modal { padding: 19px 3vw 17px 3vw; }
}

/* ---- Custom Font Faces ---- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
