/* ===================================================
   CSS RESET & BASE STYLES (Normalize & Reset)
   =================================================== */
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, 
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #f7f5e6;
  color: #3b2a1a;
}
html {
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s;
}
a:focus {
  outline: 2px dotted #06518F;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 24px;
}
/* Selection styling */
::selection {
  background: #F5D469;
  color: #06518F;
}

/* ===================================================
   VINTAGE RETRO BRAND FONTS & COLOR VARIABLES
   =================================================== */
:root {
  --primary: #06518F;
  --secondary: #F5D469;
  --accent: #F8F8F3;
  --cream: #F8F8F3;
  --brown: #755D47;
  --terracotta: #C17B5B;
  --teal: #3A7E7E;
  --vintage-blue: #4A6472;
  --vintage-green: #81986F;
  --border-radius-lg: 18px;
  --border-radius: 12px;
  --border-radius-sm: 7px;
  --shadow-card: 0 2px 16px rgba(68, 57, 39, 0.08);
  --shadow-strong: 0 5px 24px rgba(132, 120, 101, 0.19);
  --transition: 0.34s cubic-bezier(.51,.04,.5,1.07);
}

body {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  background: var(--cream);
  color: #3b2a1a;
  font-size: 16px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Nunito', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  line-height: 1.12;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p, ul, ol, li, span {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #594633;
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.05rem; }
}

strong, b {
  font-weight: 700;
}

/* Retro font accents for CTA, logo, etc. */
.cta-btn, .cta-link {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* Retro stroke text for logo possible */
header nav img[alt*='Dimora Napoletana'] {
  filter: sepia(0.56) saturate(0.7) contrast(1.2);
  /* color filter to appear retro */
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
header {
  background: var(--secondary);
  box-shadow: 0 2px 10px rgba(120,95,35,0.08);
  padding: 0 0 0 0;
}
header > nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  height: 72px;
  position: relative;
  z-index: 22;
}
header > nav a {
  font-family: 'Montserrat', 'Nunito', Arial, Helvetica, sans-serif;
  color: #523D29;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 8px;
  padding: 7px 11px;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition), color var(--transition);
}
header > nav a:hover, header > nav a.active {
  background: var(--primary);
  color: var(--secondary);
}
header .cta-btn {
  margin-left: auto;
}

/* CTA Button Style (retro inspired badge) */
.cta-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 1.09rem;
  text-shadow: 1px 1px 0 #f8f3cf;
  border: 2px solid var(--secondary);
  box-shadow: 0 3px 10px rgba(130,100,55,0.11);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-left: 18px;
  margin-top: 0;
  transition: background var(--transition), color var(--transition), box-shadow .23s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 7px 24px rgba(120,80,30, 0.18);
  border-color: var(--primary);
}

.cta-link {
  color: var(--brown);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: underline dotted;
  transition: color .18s;
  font-size: 1rem;
}
.cta-link:hover {
  color: var(--terracotta);
}

header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  padding: 3px 10px;
  color: var(--primary);
  cursor: pointer;
  z-index: 51;
  line-height: 1;
}
@media (max-width: 1000px) {
  header > nav, header .cta-btn {
    font-size: 0.97rem;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  header > nav a { font-size: 0.94rem; padding: 7px 5px; }
  header > nav img { max-width: 110px; }
}
/* MOBILE NAV - Hamburger/Burger */
@media (max-width: 820px) {
  header > nav a:not(:first-child) {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}
/* ===================================================
   MOBILE MENU
   =================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--secondary);
  box-shadow: 0 1px 34px rgba(68,57,39, 0.21);
  z-index: 99;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  transition: transform 0.38s cubic-bezier(.57,.28,.42,1.12);
  padding-top: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 22px;
  background: var(--primary);
  color: var(--secondary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(85,63,41,0.21);
  transition: background .14s, color .14s;
  z-index: 101;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-top: 90px;
  padding: 40px 36px 30px 36px;
}
.mobile-nav a {
  font-size: 1.16rem;
  color: var(--brown);
  font-family: 'Montserrat', 'Nunito', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius-sm);
  padding: 11px 0 11px 6px;
  width: 100%;
  transition: background .12s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--primary);
}

@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
}

/* ===================================================
   LAYOUT BLOCKS & CONTAINERS
   =================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
  justify-content: flex-start;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section { padding: 26px 8px; margin-bottom: 32px; }
  .container { padding: 0 8px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--cream);
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px rgba(120, 90, 48, 0.17);
  transform: translateY(-3px) 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-wrapper, .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
.section:last-child { margin-bottom: 0; }

.text-section {
  background: var(--accent);
  padding: 32px 24px 22px 24px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 0.5px 2px rgba(150, 130, 80, 0.04);
  margin-bottom: 16px;
}
.text-section h1, .text-section h2, .text-section h3 { margin-bottom: 7px; }
.text-section ul, .text-section ol { margin-bottom: 10px; }
.privacy-note {
  font-size: .96rem;
  color: #6a5a35;
  background: #faf5e1;
  padding: 7px 13px;
  border-radius: var(--border-radius-sm);
  margin-top: 16px;
  display: inline-block;
}

/* Utility spacing */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-5 { margin-top: 5px !important; }
.pt-0 { padding-top: 0 !important; }

/* ===================================================
   FEATURE GRID (Servizi etc)
   =================================================== */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.feature, .service {
  background: #fcf9ef;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 20px 20px;
  min-width: 230px;
  flex: 1 1 230px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
  border: 2.5px dashed #f4c76b;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.feature img, .service img {
  width: 36px; height: 36px;
  filter: sepia(0.35) saturate(0.9) brightness(1.2);
  margin-bottom: 5px;
}
.feature:hover, .service:hover {
  box-shadow: 0 7px 34px rgba(200, 170, 80, 0.16), var(--shadow-card);
  border-color: var(--terracotta);
  transform: translateY(-4px) scale(1.02);
}
.service-price {
  margin-top: auto;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: #faf0c6;
  border-radius: var(--border-radius-sm);
  padding: 7px 13px;
  margin-bottom: -8px;
}
@media (max-width: 900px) {
  .feature, .service {
    min-width: 170px;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .feature-grid, .service-list { gap: 13px; }
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fffef5;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 1.5px 12px rgba(126,100,54,0.07);
  padding: 20px 28px;
  margin-bottom: 20px;
  border: 1.75px dashed #f5d469;
  max-width: 520px;
  transition: box-shadow .15s, border-color .18s;
  position: relative;
}
.testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  left: 14px;
  top: 14px;
  width: 32px; height: 32px;
  background: url('../assets/icons/quote.svg') center/contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.testimonial-card p {
  color: #3b2a1a;
  font-size: 1.06rem;
  font-style: italic;
}
.testimonial-card span {
  color: var(--brown);
  font-size: .97rem;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 10px 33px rgba(245,212,105,0.31);
}

/* Testimonials in Flex Group */
.content-wrapper .testimonial-card {
  margin-bottom: 0;
}
.content-wrapper {
  gap: 24px;
}
@media (max-width: 660px) {
  .testimonial-card {
    padding: 17px 12px;
    max-width: 100%;
  }
}

/* ===================================================
   PROPERTY TEASER & SEARCH
   =================================================== */
.property-teaser {
  background: #fbeaab;
  border: 2px solid #f4c76d;
  border-radius: var(--border-radius);
  padding: 22px 22px 17px 22px;
  box-shadow: 0 0.5px 6px rgba(185,149,64,0.10);
  margin-bottom: 20px;
  font-size: 1.02rem;
  position: relative;
  transition: border-color .18s, box-shadow .18s;
  flex: 1 1 250px;
  min-width: 210px;
  max-width: 470px;
}
.property-teaser h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  color: #4A6472;
  font-family: 'Montserrat', sans-serif;
}
.property-teaser ul {
  margin-left: 13px;
}
.property-teaser:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 14px rgba(60,110,194,0.14) !important;
}
/* Search Form */
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: #fcf9ef;
  border-radius: var(--border-radius);
  padding: 15px 13px 13px 13px;
  box-shadow: 0 1px 5px rgba(134, 117, 68, 0.06);
  align-items: center;
  margin-bottom: 16px;
}
.search-form label {
  font-weight: 600;
  margin-right: 5px;
}
.search-form select, .search-form input[type="text"] {
  padding: 6px 13px;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid #d9bc79;
  font-size: .98rem;
  background: var(--accent);
  color: #432c13;
  font-family: inherit;
  margin-right: 10px;
}
.search-form button[type=submit] {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: var(--border-radius-sm);
  padding: 8px 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background .18s, color .15s, border-color .16s;
  cursor: pointer;
}
.search-form button[type=submit]:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}
@media (max-width: 660px) {
  .search-form { flex-direction: column; gap: 10px; align-items: stretch; }
}

/* ===================================================
   FAQ ACCORDIONS (Servizi page)
   =================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fffbe8;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--primary);
  padding: 18px 21px 13px 21px;
  box-shadow: 0 0.7px 6px rgba(132,100,41,0.08);
  margin-bottom: 0;
}
.faq-item h3 {
  color: var(--terracotta);
  margin-bottom: 5px;
  font-size: 1rem;
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  background: var(--primary);
  color: var(--secondary);
  border-radius: var(--border-radius-lg);
  padding: 38px 28px 30px 28px;
  box-shadow: 0 7px 32px rgba(68,81,143, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  justify-content: center;
  text-align: center;
}
.cta-banner h2 {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.22rem;
  margin-bottom: 2px;
}
.cta-banner p {
  color: #f8f8f3;
  font-size: 1.04rem;
}
@media (max-width: 480px) {
  .cta-banner { padding: 18px 5px 18px 5px; }
  .cta-banner h2 { font-size: 1.06rem; }
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
  background: #e5dfca;
  padding: 27px 0 12px 0;
  font-size: 1rem;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  border-top: 2.7px solid #d8b16b;
  letter-spacing: 0.02em;
  box-shadow: 0 -2px 8px rgba(90,70,40,0.04);
}
footer .container {
  max-width: 1100px;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #6a542a;
  font-weight: 600;
  font-size: .99rem;
  transition: color .16s;
  padding: 3px 2px;
  border-radius: var(--border-radius-sm);
}
footer nav a:hover { color: var(--primary); background: #F5D469; }
footer .footer-info {
  color: #855c15;
  font-size: .98rem;
}
footer .footer-info span {
  margin-right: 4px;
  font-weight: 500;
}
footer img { max-width: 74px; border-radius: 11px; box-shadow: 0 1px 3px rgba(90,70,40,.07); }
@media (max-width: 720px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer nav { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}

/* ===================================================
   COOKIE CONSENT BANNER & MODAL
   =================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #F5D469;
  border-top: 2.5px solid var(--primary);
  box-shadow: 0 -4px 32px rgba(90,70,30,0.14);
  z-index: 300;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  transition: transform .35s cubic-bezier(.73,.15,.3,1.23);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  color: #3b2a1a;
  font-size: 1rem;
}
.cookie-banner-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-sm);
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background .16s, color .11s, border-color .13s;
  margin-right: 2px;
  cursor: pointer;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--brown);
}
@media (max-width: 540px) {
  .cookie-banner {
    font-size: .95rem;
    padding: 14px 8px;
    gap: 13px;
  }
  .cookie-banner-btns { gap: 10px; }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 56px;
  transform: translate(-50%, 80vh);
  z-index: 330;
  background: #fffdeb;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 44px rgba(110,80,30,0.17);
  width: 96vw;
  max-width: 420px;
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s, transform .36s;
}
.cookie-modal.open {
  transform: translate(-50%,0);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h3 {
  font-size: 1.16rem;
  color: var(--primary);
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--primary);
  width: 20px; height: 20px;
  margin-right: 3px;
}
.cookie-modal .cookie-category {
  font-weight: 700;
  color: var(--brown);
}
.cookie-modal .essential-label {
  color: #8e7507;
  font-style: italic;
  font-size: .98rem;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-btn {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-sm);
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s, color .11s, border-color .13s;
}
.cookie-modal-btn:hover, .cookie-modal-btn:focus {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--brown);
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 320;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(70,50,10, 0.28);
  pointer-events: none;
  opacity: 0;
  transition: opacity .23s;
}
.cookie-modal.open ~ .cookie-modal-backdrop {
  opacity: 1;
  pointer-events: all;
}

/* ===================================================
   UTILS: Patterns, Nostalgic Corners, Accents
   =================================================== */
.section, .card, .feature, .service, .text-section, .testimonial-card, .property-teaser, .faq-item {
  position: relative;
  z-index: 1;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -21px;
  height: 11px;
  background: repeating-linear-gradient(90deg, #feeaa1 0 10px, #f8f8ee 10px 18px);
  opacity: 0.13;
  width: 100%;
  border-radius: 40px;
  z-index: -1;
}
@media (max-width: 540px) {
  .section:after { height: 7px; bottom: -9px; }
}
.card:before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: var(--border-radius);
  border: 2.2px dotted #f5d469;
  z-index: 0;
  opacity: 0.09;
  pointer-events: none;
}

/* Retro horizontal divider */
.hr-vintage {
  width: 68px; height: 5px;
  background: var(--terracotta);
  border-radius: 7px;
  margin: 24px 0;
  opacity: 0.31;
}

/* ===================================================
   INPUTS & FORM ELEMENTS (Appearance only)
   =================================================== */
input, select, textarea {
  background: var(--accent);
  color: #32220f;
  font-family: inherit;
  border-radius: var(--border-radius-sm);
  border: 1.6px solid #debe7b;
  padding: 9px 16px;
  font-size: 1rem;
  transition: border-color .13s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===================================================
   TABLES (IF ANY)
   =================================================== */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fffbe3;
  margin-bottom: 24px;
  border-radius: var(--border-radius);
  font-size: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
th, td {
  padding: 13px 12px;
  border-bottom: 1.5px solid #efe4b8;
}
th {
  background: #fbe481;
  color: var(--primary);
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
}

/* ===================================================
   RESPONSIVENESS and MOBILE
   =================================================== */
@media (max-width: 920px) {
  .container {
    max-width: 98vw;
    padding: 0 4vw;
  }
}
@media (max-width: 860px) {
  .feature, .service, .property-teaser {
    flex: 1 1 90%;
    min-width: 85vw;
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .property-teaser, .feature, .service {
    padding: 13px 5vw 13px 7vw;
  }
  .cta-banner { padding: 14px 0 17px 0; }
}

/* ===================================================
   ANIMATIONS, TRANSITIONS & MICRO-INTERACTIONS
   =================================================== */
.card, .feature, .service, .property-teaser, .testimonial-card, .faq-item, .cta-btn, .cta-link, .cookie-btn, .cookie-modal-btn {
  transition: box-shadow .19s, border-color .16s, transform .22s, color .13s, background .16s;
}
.animated-in {
  animation: fadeInUp .85s cubic-bezier(.37,1.24,.22,.93);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(34px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===================================================
   ACCORDION (for FAQ if JS enhances)
   =================================================== */
.faq-item[open] {
  background: #ffe6a1;
  border-color: var(--terracotta);
  box-shadow: 0 2px 16px rgba(195,153,40,0.08);
}

/* ===================================================
   PRINT STYLES
   =================================================== */
@media print {
  header, footer, .cta-banner, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop {
    display: none !important;
  }
}
section {
  padding: 20px 0;
}
/*
 * END OF STYLE.CSS – Dimora Napoletana – Unmistakably Vintage Retro!
 */