/* ========================================================================
   Crimson Range Palermo "Soft Pastel" Responsive CSS
   Brand: Vibrant, welcoming, soft-pastel, gentle gradients, modern UI
   Fonts: 'Lora' display, 'Open Sans' body (Google Fonts)
   Colors (with pastel tints):
     --crp-primary:     #8C1C13 (brand crimson, softened in accents)
     --crp-secondary:   #FFD700 (brand gold, lighten for backgrounds)
     --crp-accent:      #F4F6F8 (light pastel gray, base background)
     --crp-pink:        #FFE3E3 (soft pink accent)
     --crp-mint:        #D0F1EA (soft mint for sections)
     --crp-peach:       #FFF3E0 (pale peach, cards/bg highlights)
     --crp-blue:        #E3EDFB (dreamy blue pastel for depth)
     --crp-shadow:      rgba(50,60,90,0.08)
   ======================================================================== */

/* ================= RESET & NORMALIZE ==================== */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: var(--crp-accent, #F4F6F8);
  font-family: 'Open Sans', Arial, sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--crp-primary, #8C1C13);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #d95d39;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder          { color: #aaa; }
:-ms-input-placeholder      { color: #aaa; }
::placeholder              { color: #aaa; }

body, input, button, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

/* ================= ROOT & BRAND VARIABLES ==================== */
:root {
  --crp-primary:   #8C1C13;
  --crp-primary-light: #E7B1B1;
  --crp-secondary: #FFD700;
  --crp-secondary-light: #FFF7C1;
  --crp-accent:    #F4F6F8;
  --crp-pink:      #FFE3E3;
  --crp-mint:      #D0F1EA;
  --crp-blue:      #E3EDFB;
  --crp-peach:     #FFF3E0;
  --crp-shadow:    0 3px 16px rgba(50,60,90,0.08), 0 1.5px 4px rgba(230,100,100,0.06);
  --crp-radius:    20px;
  --crp-radius-small: 12px;
  --crp-spacing-1: 8px;
  --crp-spacing-2: 16px;
  --crp-spacing-3: 24px;
  --crp-spacing-4: 32px;
  --crp-spacing-5: 48px;
  --crp-max-width: 1160px;
  --crp-transition: all 0.2s cubic-bezier(.9,.36,.24,1);
  --crp-font-display: 'Lora', serif;
  --crp-font-body:    'Open Sans', Arial, sans-serif;
}

/* ================== LAYOUT HELPERS ==================== */
.container {
  width: 100%;
  max-width: var(--crp-max-width);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--crp-spacing-3);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--crp-radius);
  background: var(--crp-accent);
}
.section:not(:last-child) {
  margin-bottom: 60px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  background: var(--crp-peach);
  border-radius: var(--crp-radius);
  box-shadow: var(--crp-shadow);
  padding: 28px 24px;
  transition: box-shadow .18s, transform .18s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(140,28,19,0.12);
  transform: translateY(-3px) 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;
}

/* ================== HERO SECTION ==================== */
.hero {
  background: linear-gradient(120deg, var(--crp-secondary-light) 0%, var(--crp-pink) 100%);
  padding: 56px 0 44px 0;
  margin-bottom: 40px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-family: var(--crp-font-display);
  font-size: 2.5rem;
  color: var(--crp-primary);
  margin-bottom: var(--crp-spacing-3);
}
.hero p {
  color: #62463c;
  font-size: 1.22rem;
  margin-bottom: var(--crp-spacing-3);
}

/* ================== MAIN NAVIGATION ==================== */
header {
  background: linear-gradient(90deg, var(--crp-blue) 70%, var(--crp-mint) 100%);
  box-shadow: 0 2px 8px rgba(140,28,19,0.04);
  position: sticky;
  top: 0; z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 0;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--crp-font-body);
  font-weight: 600;
  color: var(--crp-primary, #8C1C13);
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--crp-pink);
  color: #e35637;
}
.cta-btn {
  background: var(--crp-primary, #8C1C13);
  color: #fff;
  font-weight: 700;
  font-family: var(--crp-font-body);
  padding: 11px 28px;
  border-radius: 30px;
  font-size: 1rem;
  margin-left: 18px;
  box-shadow: 0 2px 10px rgba(140,28,19,0.10);
  border: none;
  transition: background .2s, color .18s, transform .20s;
  cursor: pointer;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b23f30;
  color: #fff8e6;
  transform: translateY(-2px) scale(1.03);
}

/* ========= MOBILE NAVIGATION & BURGER ========== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--crp-primary, #8C1C13);
  padding: 10px 14px;
  border-radius: 50%;
  transition: background 0.18s;
  margin-left: 14px;
  cursor: pointer;
  z-index: 301;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--crp-pink);
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(244,246,248,0.90);
  box-shadow: 0 10px 80px rgba(70,40,20,0.14);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.72,.2,.33,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #b85449;
  border: none;
  margin: 18px 22px 12px 0;
  cursor: pointer;
  border-radius: 45%;
  transition: background 0.20s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--crp-peach);
  outline: none;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 42px 28px 40px;
}
.mobile-nav a {
  padding: 14px 0;
  font-size: 1.18rem;
  font-family: var(--crp-font-body);
  font-weight: 600;
  color: var(--crp-primary);
  width: 100%;
  border-radius: 8px;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--crp-pink);
  color: #e35637;
}

@media (max-width: 1024px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* ========= GLOBAL TYPOGRAPHY ========== */
h1, .display-1 {
  font-family: var(--crp-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--crp-primary, #8C1C13);
  margin-bottom: 12px;
  line-height: 1.14;
}
h2 {
  font-family: var(--crp-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--crp-primary);
  margin-bottom: 10px;
}
h3 {
  font-family: var(--crp-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #954231;
  margin-bottom: 8px;
}
small {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.6;
}
p {
  margin-bottom: 10px;
  font-size: 1.06rem;
  color: #444;
}
strong {
  color: var(--crp-primary, #8C1C13);
  font-weight: 700;
}

@media (max-width: 480px) {
  h1, .display-1 { font-size: 1.7rem; }
  h2        { font-size: 1.12rem; }
  h3        { font-size: 1rem;   }
  main, .container { padding-left: 5px; padding-right: 5px; }
}

/* ========= FEATURES, SERVICES, GRID CARDS ========== */
.features, .feature-grid {
  display: flex;
  flex-direction: column;
  gap: var(--crp-spacing-3);
}
.feature-grid {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--crp-blue);
  border-radius: var(--crp-radius-small);
  padding: 28px 20px 24px 20px;
  box-shadow: 0 2px 8px rgba(97,131,150,0.06);
  min-width: 230px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: transform .17s, box-shadow .14s;
  border-left: 4px solid var(--crp-primary-light);
}
.feature-item img {
  height: 38px;
  width: 38px;
  filter: drop-shadow(0 1px 2px #ffdccf44);
}
.feature-item:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 6px 20px rgba(125,170,230,0.13);
  background: var(--crp-peach);
  border-left-color: var(--crp-primary);
}

.services {
  background: var(--crp-mint);
  border-radius: var(--crp-radius);
  box-shadow: 0 2px 8px rgba(23,144,115,0.05);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.services h2 {
  color: #6d2353;
}
.services ul, .services ol {
  margin-bottom: var(--crp-spacing-2);
  margin-left: 1.1em;
  color: #5E5958;
  padding-left: 1.15em;
}
.services li {
  margin-bottom: 12px;
}
.services a.cta-btn {
  margin-top: var(--crp-spacing-2);
}

/* ========== TESTIMONIALS / CARDS ========== */
.testimonial, .testimonials {
  background: var(--crp-peach);
  border-radius: var(--crp-radius);
  padding: 44px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 8px rgba(140,28,19,0.06);
}
.testimonial .content-wrapper, .testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--crp-radius-small);
  box-shadow: 0 2px 10px rgba(93, 45, 30, 0.08);
  margin-bottom: 20px;
  flex: 1 1 280px;
  border-left: 5px solid var(--crp-primary-light);
  transition: box-shadow .17s, transform .16s;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #2C2221;
  margin: 0;
}
.testimonial-card small {
  font-style: italic;
  color: #785343;
  margin-left: 18px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px #ffe3e344;
  transform: translateY(-2px) scale(1.016);
  border-left-color: var(--crp-primary);
}

/* ========== ABOUT, LEGAL, THANKS ========== */
.about, .legal, .thankyou {
  background: var(--crp-blue);
  border-radius: var(--crp-radius);
  padding: 44px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 8px rgba(98,144,200,0.05);
}
.about h2, .legal h1, .thankyou h1 {
  color: #8c1c13;
}

.contact ul {
  padding: 0 0 0 14px;
  margin: 14px 0 14px 0;
}
.contact li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #48504c;
  font-size: 1rem;
}
.contact img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px #e0e0da22);
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(90deg, var(--crp-blue) 60%, var(--crp-mint) 100%);
  padding: 42px 0 20px 0;
}
footer .container {
  flex-direction: column;
  gap: 22px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--crp-primary, #8C1C13);
  font-size: 1rem;
  font-family: var(--crp-font-body);
  opacity: .88;
  padding: 4px 0;
  border-radius: 6px;
  transition: color .17s, background .14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--crp-pink);
  color: #e35637;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #5e5958;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8c1c13;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.80;
}
.brand-footer img {
  width: 36px; height: 36px;
  object-fit: contain;
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-consent-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 700;
  background: #fff;
  box-shadow: 0 4px 24px rgba(90,68,36,0.17);
  border-radius: var(--crp-radius);
  padding: 22px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid var(--crp-pink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: all 0.34s cubic-bezier(.78,.18,.33,1);
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-consent-banner p {
  color: #4a2222;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  appearance: none;
  border: none;
  font-family: var(--crp-font-body);
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--crp-mint);
  color: var(--crp-primary);
  font-weight: 600;
  box-shadow: 0 1px 4px #dde9e5cc;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
}
.cookie-accept-btn { background: var(--crp-primary); color: #fff; }
.cookie-reject-btn { background: var(--crp-peach);  color: #be140b; }
.cookie-settings-btn {
  background: var(--crp-pink);
  color: #704333;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #ad3b29; color: #fff8e6;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #ffd8a092; color: #a14e1e;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--crp-mint);  color: #156e57;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 780;
  background: rgba(220,220,220,0.64);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.24s cubic-bezier(.5,.61,.26,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--crp-radius);
  box-shadow: 0 6px 30px rgba(60,30,10,.15);
  padding: 36px 30px 28px 30px;
  min-width: 310px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  color: #8c1c13;
  font-size: 1.38rem;
  margin-bottom: 12px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #c27461;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #fde8e6;
}
.cookie-choice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-choice-label {
  font-size: 1.05rem;
  color: #6c2a1c;
  font-family: var(--crp-font-body);
}
.cookie-switch {
  display: inline-block;
  width: 46px;
  height: 24px;
  background: #f4f6f8;
  border-radius: 16px;
  box-shadow: 0 1px 6px #e0eadacc;
  transition: background .18s;
  position: relative;
  cursor: pointer;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #bededd;
  border-radius: 50%;
  transition: left 0.18s, background .2s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  left: 24px; background: #8C1C13;
}
.cookie-choice-row[data-essential] .cookie-choice-label {
  color: #888;
  font-style: italic;
}
.cookie-choice-row[data-essential] .cookie-switch .slider,
.cookie-choice-row[data-essential] .cookie-switch {
  opacity: 0.6;
  pointer-events: none;
}

/* ========== MEDIA QUERIES/RESPONSIVE ========== */
@media (max-width: 900px) {
  .feature-grid, .card-container, .footer-contact {
    flex-direction: column;
    gap: 23px;
  }
  .feature-item, .card {
    min-width: 180px;
    max-width: 100%;
  }
  footer .content-wrapper { gap: 14px; }
}
@media (max-width: 768px) {
  .section, .hero, .services, .about, .testimonial, .testimonials, .legal, .thankyou {
    padding: 28px 7px;
    border-radius: 14px;
  }
  .testimonial, .testimonials, .about, .legal, .thankyou {
    margin-bottom: 38px;
  }
  .feature-grid, .card-container, .footer-contact {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 17px !important;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  footer { padding: 22px 0 10px 0; }
  .hero { padding: 38px 0 20px 0; }
  .hero h1 { font-size: 1.48rem; }
}

@media (max-width: 520px) {
  .cookie-consent-banner { max-width: 98vw; left: 2%; right: 2%; padding: 16px 9px 16px 12px; }
}

/* ========== ACCENTS & MICRO-INTERACTIONS ========== */
button, .cta-btn, .cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  transition: background .18s, color .18s, transform .17s;
}
button:active, .cta-btn:active, .cookie-accept-btn:active, .cookie-reject-btn:active, .cookie-settings-btn:active {
  transform: scale(.99);
}

/* ========== INTERACTIVE STATES ========= */
input, textarea, select {
  font-family: var(--crp-font-body);
  border: 1.5px solid #d0bcc093;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: #fff;
  font-size: 1rem;
  box-shadow: 0 1.5px 6px #e0e9e3c4;
  transition: border 0.16s, box-shadow .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #c2887c;
  outline: none;
  box-shadow: 0 1.5px 8px #fbcfc88d;
}

/* Remove unwanted input autofill */
input:-webkit-autofill, input:-webkit-autofill:focus {
  box-shadow: 0 0 0 60px #fff inset !important;
  -webkit-text-fill-color: #222 !important;
}

/* ========== ACCENT TEXT HIGHLIGHTS ========= */
span, mark {
  background: var(--crp-secondary-light);
  color: var(--crp-primary);
  border-radius: 10px;
  padding: 1px 8px;
  font-weight: 600;
}

/* ========== FOCUS RINGS ========= */
:focus-visible {
  outline: 2.5px solid var(--crp-secondary, #FFD700);
  outline-offset: 1px;
}

/* =================== END =================== */

/* Google Fonts - (Should be included in the HTML head for real projects)
<link href="https://fonts.googleapis.com/css?family=Lora:700,600,400|Open+Sans:400,600,700&display=swap" rel="stylesheet">
*/
