/* palette: cobalt-coral */
:root {
  --primary-color: #0B1F6B;
  --secondary-color: #1B2F88;
  --accent-color: #C0415A;
  --background-color: #F0F5FF;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Lora', Georgia, serif;
  --alt-font: 'Roboto', sans-serif;
}

/* @property Declarations for CSS Animations */
@property --count { syntax:'<integer>'; initial-value:0; inherits:false; }
@property --bar { syntax:'<integer>'; initial-value:0; inherits:false; }
@property --deg { syntax:'<integer>'; initial-value:0; inherits:false; }

/* General Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: clamp(14px, 1.6vw, 17px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* HERITAGE-LUXURY PRESET STYLE RULES (COPIED LITERALLY) */
section{padding:80px 16px} @media(min-width:1024px){section{padding:96px 24px}} .section-kicker{font-size:0.7rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--accent-color);display:block;margin-bottom:12px} h1,h2{font-family:"Playfair Display","Source Serif 4",Georgia,serif} h1{line-height:0.9} .card{border:1px solid var(--accent-color);box-shadow:none;border-radius:2px} hr{border:none;border-top:1px solid var(--accent-color);max-width:60px;margin:24px auto}

/* Typography Scales */
h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  color: var(--primary-color);
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  color: var(--primary-color);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Header Styles */
header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

header .logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: transform 0.3s, opacity 0.3s;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-color);
  z-index: 999;
  padding: 24px 16px;
  border-bottom: 2px solid var(--primary-color);
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent-color);
}

/* Burger Animation & Functional Toggle */
#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    border-bottom: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* 1. Hero Section - Editorial Bleed */
.hero-section {
  background-color: #ffffff;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: clamp(3rem, 13vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 24px;
  color: var(--dark-color);
}

.hero-title .text-accent {
  color: var(--accent-color);
}

.hero-divider {
  border-top: 2px solid var(--dark-color);
  margin: 32px 0;
  width: 100%;
}

.hero-subtitle-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .hero-subtitle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.btn-modest {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
  display: inline-block;
  min-height: 44px;
}

.btn-modest:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* 2. Features Section */
.features-section {
  background-color: var(--background-color);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.feature-card {
  background-color: #ffffff;
  padding: 32px 24px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

/* 3. Stats Counter Section */
.stats-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.stat-item {
  padding: 16px;
}

.stat-num {
  --target: 80;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--accent-color);
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}

.stat-num::after {
  content: counter(n);
}

.stat-suffix {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent-color);
}

.stat-label {
  font-size: 1rem;
  margin-top: 12px;
  color: #F5F5F5;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}

/* 4. About+Image Section */
.about-section {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  min-height: 500px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-content h2 {
  text-align: left;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.about-list {
  list-style: none;
  margin-top: 24px;
}

.about-list li {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--primary-color);
}

/* 5. Testimonials Section */
.testimonials-section {
  background-color: var(--background-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.testimonial-card {
  background-color: #ffffff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #FBBF24;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-meta {
  font-size: 0.85rem;
  color: #666666;
}

/* 6. Gallery Section */
.gallery-section {
  background-color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  min-height: 440px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  min-height: 240px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #ffffff;
  padding: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.color-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #ffffff;
}

.bg-variant-1 {
  background-color: var(--primary-color);
}

.bg-variant-2 {
  background-color: var(--accent-color);
}

.color-content h3 {
  color: #ffffff;
  margin-bottom: 8px;
}

.color-content p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 7. Contact + FAQ Section */
.contact-faq-section {
  background-color: var(--background-color);
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 48px;
}

@media (min-width: 1024px) {
  .contact-faq-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-desc {
  margin-bottom: 32px;
  color: var(--text-color);
}

.contact-details p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.contact-details strong {
  color: var(--primary-color);
}

.contact-form-wrap {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--alt-font);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: 400;
  color: var(--text-color);
  font-size: 0.85rem;
}

.btn-submit {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s, transform 0.2s;
  min-height: 44px;
}

.btn-submit:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* FAQ Section Styling */
.faq-wrapper {
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
  padding-top: 64px;
}

.faq-wrapper h3 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.faq-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Footer Styles */
footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 64px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo img {
  height: 40px;
  width: auto;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-nav {
    flex-direction: row;
    gap: 24px;
  }
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll-Reveal Animation */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Card Cascade Animation Delays */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: .12s; }
.card:nth-child(3) { animation-delay: .24s; }
.card:nth-child(4) { animation-delay: .36s; }

/* Interactive Hover Transitions */
.card {
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
}