/* 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,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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  background: #F8F7F2;
  color: #2B2D42;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
}
img {
  max-width: 100%;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.15s; }
ul, ol { padding-left: 1.5em; }

/* FONT FACES */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #2B2D42;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-top: 12px; }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.1rem; }
p, li, span, label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2B2D42;
  font-size: 1rem;
}
p { margin-bottom: 16px; }
ul, ol { margin-bottom: 20px; }
li { margin-bottom: 8px; }
strong, b { font-weight: 700; }

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}
.text-section {
  max-width: 750px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(43, 45, 66, 0.05);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(43,45,66,0.09);
  transform: translateY(-5px);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(43, 45, 66, 0.07);
  border: 1px solid #ececec;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(43,45,66,0.12);
  border-color: #D7263D33;
}
.testimonial-card p {
  font-size: 1.07rem;
  font-style: italic;
  color: #2B2D42;
}
.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-weight: 500;
  color: #2B2D42;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 26px 20px 22px 20px;
  border-radius: 12px;
  min-width: 210px;
  box-shadow: 0 1px 8px 0 rgba(43, 45, 66, 0.03);
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-item:hover {
  box-shadow: 0 6px 24px 0 rgba(43,45,66,0.08);
  transform: translateY(-3px);
}

/* HERO SECTION */
section:first-of-type {
  background: #F8F7F2;
  text-align: left;
  border-bottom: 1px solid #E0DFDF;
}
section:first-of-type h1 {
  color: #2B2D42;
  font-size: 2.5rem;
}
section:first-of-type p {
  color: #2B2D42;
  font-size: 1.14rem;
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #E0DFDF;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 20;
  box-shadow: 0 2px 7px 0 rgba(43, 45, 66, 0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #2B2D42;
  font-size: 1rem;
  position: relative;
  border-radius: 7px;
  padding: 7px 12px;
  transition: background 0.15s, color 0.15s;
}
header nav a:not(.cta-primary):hover,
footer nav a:hover {
  background: #F8F7F2;
  color: #D7263D;
}
.cta-primary {
  background: #D7263D;
  color: #fff !important;
  border-radius: 18px;
  padding: 8px 28px 8px 28px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  border: none;
  display: inline-block;
  cursor: pointer;
  margin-left: 14px;
  box-shadow: 0 2px 10px 0 rgba(215, 38, 61, 0.14);
  transition: background 0.16s, box-shadow 0.18s, transform 0.12s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #B51E2F;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  outline: none;
  box-shadow: 0 6px 18px rgba(215,38,61,0.16);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #2B2D42;
  display: none;
  cursor: pointer;
  padding: 8px 10px;
  margin-left: 20px;
  border-radius: 9px;
  transition: background 0.14s;
  z-index: 50;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F8F7F2;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: #fff;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #2B2D42;
  margin: 20px 24px 0 0;
  padding: 7px 13px;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.14s;
  z-index: 1200;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F8F7F2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2B2D42;
  font-size: 1.2rem;
  padding: 12px 0 12px 0;
  border-radius: 8px;
  transition: background 0.14s, color 0.12s;
  width: 100%;
  display: block;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8F7F2;
  color: #D7263D;
}
@media (max-width: 1050px) {
  header nav { gap: 11px; }
  .cta-primary { padding: 8px 18px; margin-left: 6px; font-size: 0.97rem; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  header nav { gap: 7px; }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; }
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .mobile-menu { display: flex; }
  .section { padding: 32px 8px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.19rem; }
  main .container { padding: 0 9px; }
  .content-wrapper { gap: 14px; }
  .feature-item { min-width: 90%; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 0.98rem; }
  .section { padding: 20px 0; }
  .card, .testimonial-card, .feature-item { padding: 18px 10px; }
}

/* FLEX RESPONSIVENESS */
.feature-grid,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(43, 45, 66, 0.06);
  padding: 28px 18px 22px 18px;
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 260px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.service-item:hover {
  box-shadow: 0 6px 24px 0 rgba(43,45,66,0.10);
  transform: translateY(-3px);
}
@media (max-width: 900px) {
  .feature-grid, .service-grid { gap: 12px; }
  .feature-item, .service-item { min-width: 98%; }
}

/* TIMELINE, MAP, MISC */
.timeline {
  background: #fff;
  padding: 22px 18px;
  border-radius: 10px;
  margin-top: 18px;
  box-shadow: 0 2px 9px 0 rgba(43, 45, 66, 0.035);
}
.map-embed {
  margin-top: 16px;
}

/* BUTTONS */
button, .cta-primary, .cookie-banner button, .cookie-modal button {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, transform 0.13s, box-shadow 0.13s;
}

/* FOOTER */
footer {
  padding: 36px 0 24px 0;
  background: #fff;
  border-top: 1px solid #ECECED;
  box-shadow: 0 -2px 8px 0 rgba(43,45,66,0.02);
  font-size: .97rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}
footer nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
footer nav a {
  color: #2B2D42;
  background: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  padding: 4px 11px;
  transition: background 0.12s, color 0.12s;
}
footer .contact-details {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .98rem;
  color: #2B2D42;
  flex-wrap: wrap;
  margin-top: 8px;
}
footer .contact-details img {
  width: 18px; height: 18px; vertical-align: middle;
  margin-right: 3px;
}
@media (max-width: 768px) {
  footer .container { flex-direction: column; gap: 12px; align-items: flex-start; }
  footer nav { gap: 7px;}  
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #2B2D42;
  box-shadow: 0 -4px 20px 0 rgba(43, 45, 66, 0.08);
  padding: 24px 20px 18px 20px;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  font-size: 0.97rem;
  animation: cookieSlideIn 0.7s cubic-bezier(.75,.44,.29,1.11);
}
@keyframes cookieSlideIn {
  from { transform: translateY(80px); opacity:0; }
  to   { transform: translateY(0);   opacity:1; }
}
.cookie-banner p {
  margin: 0 2px 0 0;
  color: #2B2D42;
}
.cookie-banner .cookie-btn {
  margin-left: 5px;
  margin-right: 5px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #F8F7F2;
  color: #2B2D42;
  border: 1px solid #E0DFDF;
  font-size: 0.97rem;
  transition: background 0.15s, color 0.13s, border 0.13s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #EDEDF1;
  color: #D7263D;
  border: 1px solid #D7263D88;
}
.cookie-banner .cookie-btn.accept {
  background: #D7263D;
  color: #fff;
  border: none;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #92152A;
  color: #fff;
  border: none;
}
.cookie-banner .cookie-btn.reject {
  background: #F8F7F2;
  color: #2B2D42;
  border: 1px solid #D7263D33;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #F9E7EA;
  color: #D7263D;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(43,45,66,0.19);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie 0.35s;
}
.cookie-modal-overlay.open { display: flex; }
@keyframes fadeInCookie {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #2B2D42;
  border-radius: 16px;
  box-shadow: 0 10px 40px 0 rgba(43,45,66,0.15);
  padding: 32px 20px 22px 30px;
  min-width: 320px;
  max-width: 94vw;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: cookieModalPop .36s cubic-bezier(.25,1.15,.33,1.12);
}
@keyframes cookieModalPop {
  0% {transform: scale(.8) translateY(32px); opacity:0;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.29rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 14px 0 11px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  margin-right: 7px;
  accent-color: #D7263D;
}
.cookie-category.essential label {
  opacity:.7;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 17px;
}
.cookie-modal .cookie-btn {
  min-width: 90px;
  padding: 8px 16px;
}
.cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 11px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #2B2D42;
  padding: 3px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F8F7F2;
}

/* GENERAL STATES */
:focus-visible {
  outline: 2px solid #D7263D88;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #777; }
::-moz-placeholder { color: #777; }
:-ms-input-placeholder { color: #777; }
::placeholder { color: #777; }

/* SPACING AND UTILITY */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* RESPONSIVE FLEX-LAYOUTS */
.text-image-section { flex-direction: row; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap:18px; }
  .feature-grid, .service-grid { flex-direction: column; }
}

/* MICRO-INTERACTIONS */
a, button, .cta-primary, .cookie-btn {
  transition: color .13s, background .18s, transform .13s, box-shadow .13s, border .12s;
}
a:active, button:active, .cta-primary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* Hide visually but keep accessible (for future use) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Blog, Gallery, Callouts */
@media (max-width:600px){
  .content-wrapper, .text-section, .card, .testimonial-card, .feature-item, .service-item { padding-left:6px !important; padding-right:6px !important;}
}

/* Hide outline for mouse users, show for keyboard users */
[data-whatintent='mouse'] :focus { outline: none !important; }
