/* 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,
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;
}
body {
  min-height: 100vh;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: #F7F5EC;
  color: #23292C;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #BFB78F;
  outline-offset: 3px;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
  color: #244B4E;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 15px;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-size: 1rem;
  color: #23292C;
  margin-bottom: 16px;
}
p.subtitle {
  font-size: 1.07rem;
  color: #244B4E;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 16px;
}
.brand-tagline {
  color: #BFB78F;
  font-family: 'Montserrat', serif;
  font-style: italic;
}
strong, b {
  font-weight: bold;
  color: #244B4E;
}
em {
  font-style: italic;
}

/* LUXURY COLOR PALETTE */
:root {
  --brand-primary: #244B4E;
  --brand-secondary: #BFB78F;
  --brand-accent: #F7F5EC;
  --brand-dark: #23292C;
  --brand-gold: #BFA345;
  --brand-gold-light: #E7D188;
  --brand-offwhite: #FAF9F5;
  --brand-shadow: rgba(36, 75, 78, 0.07);
  --brand-hover: #e8e2c9;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-offwhite);
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--brand-shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* FLEX CONTENT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 18px var(--brand-shadow);
  padding: 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 #BFB78F33, 0 2px 7px var(--brand-shadow);
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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, .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #23292C;
  border-left: 5px solid var(--brand-secondary);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--brand-shadow);
  margin-bottom: 20px;
  margin-top: 12px;
}
.testimonial-card p {
  color: #23292C;
  font-size: 1.09rem;
  line-height: 1.55;
  margin: 0;
}
.testimonial-card span {
  color: var(--brand-primary);
  font-weight: 600;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* FEATURE/ICON GRIDS (home/services) */
.feature-grid, .feature-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid li, .feature-list li, .service-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--brand-shadow);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #244B4E;
  min-width: 220px;
  max-width: 340px;
}
.feature-grid img, .feature-list img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
@media (max-width: 850px) {
  .feature-grid, .feature-list, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .feature-list li, .service-list li {
    min-width: unset;
    max-width: 100%;
  }
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 12px -7px var(--brand-shadow);
  border-bottom: 1px solid var(--brand-secondary);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 15px 20px;
  gap: 18px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  gap: 24px;
}
@media (max-width: 900px) {
  header nav {
    gap: 12px;
  }
}
header nav a {
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 1.08em;
  position: relative;
  padding: 3px 2px;
  transition: color .18s;
  border-radius: 4px;
}
header nav a:hover, header nav a:focus {
  color: var(--brand-gold);
  background: var(--brand-hover);
}
.cta-primary,
.cta-secondary {
  font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 24px 4px 20px 4px;
  padding: 12px 30px;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 12px var(--brand-shadow);
  transition: background .24s, color .22s, box-shadow .2s, transform .18s;
  outline: none;
  border: none;
  margin-left: 18px;
  display: inline-block;
  cursor: pointer;
}
.cta-primary {
  background: linear-gradient(90deg, var(--brand-secondary) 0%, var(--brand-gold) 100%);
  color: #23292C;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-secondary) 100%);
  color: var(--brand-primary);
  box-shadow: 0 4px 18px 0 #BFA34540;
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  background: #244B4E;
  color: #fff;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #fff;
  color: #244B4E;
  box-shadow: 0 4px 18px 0 #244B4E33;
  border: 1.5px solid var(--brand-secondary);
  transform: translateY(-2px) scale(1.04);
}
.cta-link {
  color: #BFA345;
  font-weight: 600;
  border-bottom: 1.7px dashed #BFA345;
  font-family: 'Montserrat', serif;
  transition: color .2s, border-color .2s;
}
.cta-link:hover, .cta-link:focus {
  color: #244B4E;
  border-color: #244B4E;
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 10px 10px 10px;
  }
  header nav, .cta-primary {
    display: none;
  }
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1.5px solid #BFB78F;
  font-size: 0.95em;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0px 20px;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 0 22px 0;
  flex-wrap: wrap;
  flex: 1 1 100%;
}
footer a img {
  height: 36px;
  width: auto;
}
.footer-contact {
  color: #244B4E;
  margin-bottom: 10px;
  font-size: 1em;
}
.footer-contact img {
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a img {
  height: 28px;
  filter: grayscale(60%) contrast(110%);
  transition: filter .22s, transform .18s;
}
.footer-social a:hover img {
  filter: grayscale(0%) contrast(125%) drop-shadow(0 2px 8px #BFA34544);
  transform: translateY(-2px) scale(1.12);
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'Montserrat', serif;
}
footer nav a {
  color: #244B4E;
  font-weight: 600;
  font-size: 1.03em;
  opacity: 0.88;
  transition: color .16s, opacity .18s;
}
footer nav a:hover, footer nav a:focus {
  color: #BFA345;
  opacity: 1;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer nav {
    gap: 12px;
    margin-bottom: 10px;
  }
}


/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1102;
  background: #fff;
  color: #244B4E;
  border: 1px solid #BFB78F;
  box-shadow: 0 2px 12px #BFA34522;
  font-size: 2.25rem;
  border-radius: 12px;
  width: 54px;
  height: 54px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: box-shadow .16s, background .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #BFB78F;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(36,75,78,0.94);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity .33s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #244B4E;
  border: 1.2px solid #BFB78F;
  box-shadow: 0 2px 14px #BFB78F11;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  margin: 24px 14px 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .16s, background .16s;
}
.mobile-menu-close:focus {
  outline: 2px solid #BFB78F;
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: 16vh;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 18px 0;
  width: 80vw;
  max-width: 420px;
  text-align: center;
  border-radius: 10px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: linear-gradient(90deg, #BFB78F22 0%, #BFA34522 100%);
  color: #BFB78F;
}

/* MODAL OVERLAYS (COOKIE, MENU) */
@media (max-width: 768px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
}

/* COOKIE CONSENT BANNER */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2001;
  background: #fff;
  border-top: 3px solid #BFB78F;
  box-shadow: 0 -2px 18px #BFB78F11;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 8vw 20px 8vw;
  font-size: 1em;
  transition: transform .35s cubic-bezier(.35,1,.36,.97), opacity .25s;
  opacity: 1;
  pointer-events: all;
}
#cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
#cookie-consent-banner p {
  color: #23292C;
  font-size: 1em;
  margin: 0 0 0 0;
  flex: 1 1 250px;
}
.cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btns button {
  font-family: 'Montserrat', sans-serif;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 22px;
  border: none;
  cursor: pointer;
  background: #BFB78F;
  color: #244B4E;
  transition: background .2s, box-shadow .16s, color .16s;
  margin: 0;
}
.cookie-btns button:hover, .cookie-btns button:focus {
  background: #BFA345;
  color: #fff;
  box-shadow: 0 3px 10px #BFA34522;
}
.cookie-btns .cookie-settings-btn {
  background: #fff;
  color: #244B4E;
  border: 1.2px solid #BFB78F;
}
.cookie-btns .cookie-settings-btn:hover, .cookie-btns .cookie-settings-btn:focus {
  background: #F7F5EC;
  color: #244B4E;
}

/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2100;
  background: rgba(36,75,78,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .33s;
}
#cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 98vw;
  min-width: 300px;
  width: 410px;
  box-shadow: 0 10px 38px #244B4E18;
  padding: 38px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.08em;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.25em;
  margin-bottom: 6px;
  color: #244B4E;
}
.cookie-modal-content ul {
  margin-bottom: 10px;
  padding-left: 18px;
  flex-direction: column;
  gap: 8px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.cookie-modal-content input[type='checkbox'],
.cookie-modal-content input[type='radio'] {
  accent-color: #BFB78F;
  margin-right: 8px;
}
.cookie-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
#cookie-modal .close-modal {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  font-size: 1.4em;
  color: #244B4E;
  cursor: pointer;
}
#cookie-modal .close-modal:hover {
  color: #BFB78F;
}

/* CARDS, CASE STUDIES, ETC. */
.case-study {
  background: #fff;
  box-shadow: 0 2px 14px var(--brand-shadow);
  border-radius: 10px;
  padding: 22px 18px;
  margin-bottom: 18px;
  border-left: 5px solid #BFB78F;
}

/* TIMELINES & OL */
ol {
  padding-left: 30px;
  margin-bottom: 16px;
  color: #244B4E;
}
.timeline {
  background: #fff;
  box-shadow: 0 2px 14px var(--brand-shadow);
  border-radius: 9px;
  padding: 18px 16px 16px 20px;
  margin-bottom: 16px;
}

/* VARIOUS LIST STYLES */
ul, ol {
  margin-bottom: 20px;
}
.text-section ul, .content-wrapper ul {
  padding-left: 26px;
  color: #244B4E;
  font-size: 1em;
}
.text-section li, .content-wrapper li {
  margin-bottom: 9px;
}

/* THANK YOU BOXES */
.text-section {
  margin-bottom: 18px;
}
.text-section h2 {
  margin-bottom: 10px;
}

/* SPACING ENFORCEMENT */
main section + section {
  margin-top: 48px;
}


/********** RESPONSIVE TYPOGRAPHY & LAYOUT **********/
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 4px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; margin-bottom: 16px; }
  h2 { font-size: 1.07rem; margin-bottom: 12px; }
  h3 { font-size: .99rem; }
  .card { padding: 14px 10px; }
  .content-wrapper { gap: 9px; }
  .container { padding: 0 2vw; }
  .testimonial-card { padding: 11px; gap: 10px; }
  .case-study { padding: 12px 6px; }
  .footer-contact span, .footer-contact {
    font-size: .93em;
  }
}

/********** ANIMATIONS & MICRO-INTERACTIONS *********/
.card, .case-study, .testimonial-card, .feature-list li, .feature-grid li, .service-list li {
  transition: box-shadow .2s, transform .22s;
}
.card:hover, .case-study:hover, .feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 12px 30px 0 #BFA34511, 0 2px 7px var(--brand-shadow);
  transform: translateY(-3px) scale(1.025);
}
.cta-primary:active, .cta-secondary:active, .cookie-btns button:active {
  transform: scale(0.97);
}

/********** FORMS **********/
input, textarea, select {
  padding: 10px 12px;
  background: #F7F5EC;
  border: 1.3px solid #BFB78F;
  border-radius: 7px;
  margin-bottom: 14px;
  font-size: 1em;
}
input:focus, textarea:focus, select:focus {
  border-color: #BFA345;
  outline: 2px solid #BFB78F33;
  background: #fff7e2;
}

/********** ACCESSIBILITY & CONTRAST **********/
.testimonial-card,
.case-study {
  background: #fff;
  color: #23292C;
  border-left: 5px solid #BFB78F;
}

/********** Z-INDEX MANAGEMENT **********/
header { z-index: 1100; position: relative; }
.mobile-menu { z-index: 1200; }
#cookie-consent-banner { z-index: 2001; }
#cookie-modal { z-index: 2100; }

/********** UTILITY **********/
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-24 { margin-top: 24px!important; }
.mb-32 { margin-bottom: 32px!important; }
.text-center { text-align: center!important; }
.text-right { text-align: right!important; }

/********** PRINT **********/
@media print {
  header, footer, #cookie-consent-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/**************************************************************
 CUSTOM CLASSES SPECIFIC TO PAGES (for spacing & appearance)
**************************************************************/

/* Home icon stripe (index) */
ul.feature-grid { margin-bottom: 22px; }

/* Gallery - embedded images/case studies */
.case-study h3 { color: #244B4E; margin-bottom: 9px; }


/*******************************************************************************
 * END OF LUXURY-PREMIUM STYLES FOR FIORE SOSTA *
 * Created by CSS/UX Designer for flexbox-only responsive layouts (2024)
*******************************************************************************/