/* Lavancolla Diseño Interior - style.css */

/* === CSS RESET and NORMALIZATION === */
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, menu, 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, menu, 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;
}
html {
  scroll-behavior: smooth;
  background: #F5F3EF;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F3EF;
  color: #33424D;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
a {
  color: #33424D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #D9B98A;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: bold;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #33424D;
  font-weight: 900;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1.18;
  text-shadow: 0 2px 6px #d9b98a40;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 1.25px;
  line-height: 1.2;
  text-shadow: 0 1px 4px #d9b98a30;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.75px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.subheadline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #D9B98A;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

p, li {
  color: #33424D;
  font-size: 1rem;
}

/* === CONTAINERS & SECTIONS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 30px 30px 16px 16px;
  box-shadow: 0 4px 32px #d9b98a10;
  position: relative;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features-grid, .team-grid, .project-list, .process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div, .team-grid > div, .project-list > div, .process-steps > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #F5F3EF;
  border-radius: 18px;
  padding: 30px 18px 22px 18px;
  box-shadow: 0 6px 26px #33424d1e;
  margin-bottom: 20px;
  border: 2px solid #D9B98A;
  transition: transform 0.18s, box-shadow 0.18s;
}
.features-grid > div:hover, .team-grid > div:hover, .project-list > div:hover, .process-steps > div:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 10px 38px #33424d20;
  border-color: #33424D;
}

ul, ol {
  margin-left: 1.2em;
  margin-bottom: 18px;
  color: #33424D;
}

ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 32px;
  font-size: 1.05rem;
}
ul li img {
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

.mission-statement {
  font-style: italic;
  background: #fffde9;
  color: #b5935b;
  border-left: 5px solid #D9B98A;
  padding: 14px 22px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.process-steps > div img {
  margin-bottom: 15px;
  width: 38px;
  height: 38px;
}

/* === FLEX PATTERNS (MANDATORY) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 16px #33424d10;
  padding: 26px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  box-shadow: 0 6px 30px #33424d14;
  border-radius: 18px;
  margin-bottom: 20px;
  border-left: 5px solid #D9B98A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TESTIMONIALS === */
.testimonial-card blockquote {
  color: #33424D;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px #D9B98A22;
}
.testimonial-card p {
  font-size: 1rem;
  color: #6f5732;
  margin-left: 12px;
}

/* === BUTTONS & CALLS TO ACTION === */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D9B98A;
  color: #33424D;
  border: none;
  border-radius: 25px 6px 22px 6px;
  padding: 14px 36px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 22px #d9b98a66;
  cursor: pointer;
  margin-top: 12px;
  position: relative;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.15s;
  outline: none;
  z-index: 1;
}
.cta-button:hover, .cta-button:focus {
  background: #33424D;
  color: #F5F3EF;
  box-shadow: 0 8px 34px #33424d38;
  transform: translateY(-2px) scale(1.04);
}

button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: inherit;
  font-size: 1.3rem;
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  color: #33424D;
  transition: color 0.15s, background 0.18s;
}
button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #D9B98A;
}

/* === HEADER & NAVIGATION === */
header {
  background: #FFF;
  box-shadow: 0 3px 20px #33424d10;
  position: relative;
  padding: 0 0 0 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #33424D;
  padding: 9px 19px;
  border-radius: 20px 6px 17px 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a.current, header nav a:focus {
  background: #D9B98A;
  color: #33424D;
}
header nav a:hover {
  background: #33424D;
  color: #F5F3EF;
}
header img {
  width: 120px;
  min-width: 90px;
  height: auto;
  margin-right: 20px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: #D9B98A;
  color: #33424D;
  border-radius: 50%;
  padding: 8px 14px;
  margin-right: 20px;
  position: relative;
  z-index: 30;
  box-shadow: 0 2px 8px #d9b98a35;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  color: #33424D;
  background: #b5935b;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #33424DCF;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(0.57,0.21,0.69,0.98), opacity 0.38s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  font-weight: bold;
  color: #F5F3EF;
  background: #D9B98A;
  margin: 28px 23px 18px 0;
  border-radius: 50%;
  padding: 10px 17px;
  opacity: 0.93;
  box-shadow: 0 1px 6px #d9b98a50;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding: 0 32px;
  width: 100%;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #D9B98A;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 17px 0;
  width: 100%;
  transition: color 0.18s, background 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #FFF;
  background: #D9B98A33;
}

/* === RESPONSIVE HEADER === */
@media (max-width: 980px) {
  header nav a {
    font-size: 0.98rem;
    padding: 8px 14px;
  }
  header img {
    width: 90px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    height: 70px;
    min-height: 70px;
  }
  header nav {
    display: none;
  }
  .cta-button {
    margin-right: 15px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .cta-button {
    width: 100%;
    margin-right: 0;
  }
}

/* === MAIN CONTENT SECTIONS === */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 768px) {
  .container, .content-wrapper {
    padding: 0 8px;
    gap: 16px;
  }
  section {
    padding: 32px 0 32px 0;
  }
  .features-grid, .team-grid, .project-list, .process-steps {
    flex-direction: column;
    gap: 18px;
    justify-content: stretch;
  }
  .features-grid > div, .team-grid > div, .project-list > div, .process-steps > div {
    margin-bottom: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 22px 0 22px 0;
  }
  h1 {
    font-size: 1.45rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1.02rem;
  }
  .features-grid > div, .team-grid > div, .project-list > div, .process-steps > div {
    padding: 16px 7px 12px 7px;
    font-size: 0.97rem;
  }
}

/* === FOOTER === */
footer {
  background: #33424D;
  color: #F5F3EF;
  padding: 40px 0 22px 0;
  margin-top: 70px;
  position: relative;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
footer nav a {
  color: #D9B98A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  margin-right: 0;
  font-weight: 600;
  padding: 7px 0;
  border-radius: 8px;
  transition: color 0.18s, text-decoration 0.16s;
}
footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
footer .contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: #F5F3EF;
  margin-bottom: 12px;
}
footer .contact-details p{
	  color: #F5F3EF;
}

footer .contact-details img {
  width: 18px;
  vertical-align: middle;
  margin-right: 5px;
}
footer .brand-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .95rem;
}
footer .brand-signature img {
  width: 46px;
  height: 46px;
  filter: grayscale(90%) brightness(1.13);
}

@media (max-width: 980px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/* === CARDS & BLOCKS (SHARED) === */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 10px 0;
}

/* === GALLERY & VISUAL SECTIONS === */
.galeria-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.galeria-image-grid img {
  border-radius: 20px;
  box-shadow: 0 3px 25px #d9b98a44;
}

/* === CONTACT SECTION === */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.1rem;
}
.contact-info img {
  margin-right: 7px;
  width: 20px;
  vertical-align: middle;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .features-grid > div, .testimonial-card, .cta-button, .card {
  animation: fadeInUp 0.7s cubic-bezier(0.65,0.04,0.33,1) both;
}
.card {
  animation-delay: 0.15s;
}

/* === MICRO-INTERACTIONS === */
.card:hover, .features-grid > div:hover, .process-steps > div:hover {
  box-shadow: 0 12px 40px #D9B98A55;
  transform: scale(1.04) translateY(-6px);
}
ul li:hover {
  color: #b5935b;
  background: #f5f3ef;
  transition: background 0.11s, color 0.11s;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe9;
  color: #33424D;
  border-top: 3px solid #D9B98A;
  box-shadow: 0 -6px 34px #d9b98a22;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px 18px 30px;
  gap: 20px;
  font-size: 1rem;
  z-index: 3000;
  animation: fadeInUp 0.51s cubic-bezier(.54,1.61,.42,.95) both;
}
.cookie-consent-banner p {
  flex: 1 1 300px;
  color: #33424D;
  font-size: 1.07rem;
}
.cookie-consent-banner .cookie-btn {
  background: #D9B98A;
  color: #33424D;
  border: none;
  border-radius: 22px 6px 22px 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 27px;
  margin-left: 12px;
  box-shadow: 0 2px 14px #d9b98a27;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: #33424D;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #33424D;
  color: #fff;
  border: 1px solid #D9B98A;
  margin-left: 4px;
}
.cookie-consent-banner .cookie-btn.settings:hover {
  background: #D9B98A;
  color: #33424D;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #33424Ddd;
  z-index: 4010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #33424D;
  border-radius: 28px;
  padding: 42px 32px 30px 32px;
  box-shadow: 0 16px 90px #33424d48;
  max-width: 400px;
  min-width: 260px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.6s cubic-bezier(.55,1.61,.36,.94) both;
}
.cookie-modal h3 {
  color: #b5935b;
  font-size: 1.35rem;
}
.cookie-modal label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  margin-right: 9px;
}
.cookie-modal .cookie-choices {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 10px 20px;
  font-size: 1rem;
  min-width: 110px;
}
.cookie-modal .cookie-btn.settings {
  background: #D9B98A;
  color: #33424D;
  border: none;
}
.cookie-modal .cookie-btn.accept {
  background: #33424D;
  color: #fff;
}
.cookie-modal .cookie-btn.reject {
  background: #fff;
  color: #33424D;
  border: 1px solid #D9B98A;
}
.cookie-modal .cookie-btn.reject:hover {
  background: #D9B98A;
  color: #33424D;
}
.cookie-modal .cookie-btn.accept:hover {
  background: #b5935b;
}

.cookie-modal .close-modal-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.6rem;
  color: #b5935b;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
.cookie-modal .close-modal-btn:focus {
  outline: 2px dashed #D9B98A;
}

/* --- Cookie Modal Switches --- */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-left: 12px;
  vertical-align: middle;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #EEE7DA;
  border-radius: 20px;
  transition: background 0.18s;
}
.cookie-switch .slider:before {
  content: '';
  position: absolute;
  left: 3px;
  bottom: 2px;
  width: 18px;
  height: 18px;
  background-color: #D9B98A;
  border-radius: 100%;
  transition: transform 0.18s;
}
.cookie-switch input:checked + .slider {
  background-color: #D9B98A;
}
.cookie-switch input:checked + .slider:before {
  background: #33424D;
  transform: translateX(18px);
}
.cookie-switch input:disabled + .slider {
  background-color: #bdbdbd;
}
.cookie-switch input:disabled + .slider:before {
  background: #bbb;
}

/* === VISUAL ACCENTS (CREATIVE ARTISTIC) === */
.features-grid > div, .team-grid > div {
  position: relative;
  overflow: hidden;
}
.features-grid > div:before, .team-grid > div:before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  width: 48px; height: 48px;
  background: #D9B98A44;
  border-radius: 60% 40% 40% 60% / 65% 30% 70% 35%;
  z-index: 0;
  pointer-events: none;
}
.features-grid > div:after, .team-grid > div:after {
  content: '';
  position: absolute;
  bottom: -16px; right: -14px;
  width: 40px; height: 40px;
  background: #33424d15;
  border-radius: 52% 48% 38% 62% / 68% 42% 58% 32%;
  z-index: 0;
  pointer-events: none;
}
.process-steps > div {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fffefb;
}
.process-steps > div:before {
  content: '';
  position: absolute;
  top: -8px; right: -8px;
  width: 37px; height: 37px;
  background: #D9B98A33;
  border-radius: 64%;
  z-index: 0;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 13px;
  background: #F5F3EF;
}
::-webkit-scrollbar-thumb {
  background: #D9B98A;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b5935b;
}

/* === TABLES (for legal pages) === */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  margin-bottom: 22px;
}
thead tr {
  background: #D9B98A;
  color: #33424D;
}
td, th {
  border: 1.5px solid #D9B98A;
  padding: 10px 14px;
}

/* === FORMS (for contact) === */
input, textarea, select {
  border-radius: 9px;
  border: 1.5px solid #D9B98A;
  font-size: 1rem;
  padding: 10px 14px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 18px;
  width: 100%;
  max-width: 370px;
  box-shadow: 0 2px 8px #d9b98a16;
  transition: box-shadow 0.16s, border 0.14s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #33424D;
  box-shadow: 0 2px 12px #33424d39;
}
label {
  font-weight: 600;
  color: #33424D;
  margin-bottom: 7px;
  font-size: 1.07rem;
  letter-spacing: 0.006em;
  display: block;
}

/* === PAGE SPACING UTILITY CLASSES === */
.mt-3 { margin-top: 24px; }
.mt-2 { margin-top: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-2 { margin-bottom: 16px; }
.pb-2 { padding-bottom: 16px; }
.pt-2 { padding-top: 16px; }

/* === MEDIA QUERIES for LAYOUT BREAKPOINTS === */
@media (max-width: 640px) {
  .footer .container, .brand-signature, footer .contact-details {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .section {
    padding: 22px 4vw;
    margin-bottom: 32px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 16px 7vw 12px 7vw;
    gap: 9px;
  }
  .galeria-image-grid {
    gap: 12px;
  }
}

/* === HIDE BANNER ON PRINT === */
@media print {
  .cookie-consent-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
}
