/*
  Tokens:
  evergreen #1B3327
  shield-red #BE3A2E
  red-ink #A6301F
  stone #F1EDE3
  card #FFFFFF
  stone-steel #5E5A4E
  warm gold #E8A24A
*/

:root {
  --color-evergreen: #1B3327;
  --color-shield-red: #BE3A2E;
  --color-red-ink: #A6301F;
  --color-stone: #F1EDE3;
  --color-card: #FFFFFF;
  --color-stone-steel: #5E5A4E;
  --color-warm-gold: #E8A24A;
  
  --font-display: 'Arvo', serif;
  --font-body: 'Work Sans', sans-serif;
  
  --h1-size: clamp(2.3rem, 4.4vw, 3.7rem);
}

@font-face {
  font-family: 'Arvo';
  src: url('../fonts/arvo-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Arvo';
  src: url('../fonts/arvo-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/work-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/work-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-evergreen);
  background-color: var(--color-stone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

h1 {
  font-size: var(--h1-size);
  line-height: 1.1;
  color: var(--color-evergreen);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kicker {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-red-ink);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--color-shield-red);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-red-ink);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-evergreen);
  border: 1px solid var(--color-evergreen);
}

.btn-outline:hover {
  background-color: var(--color-evergreen);
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background-color: var(--color-evergreen);
  color: #fff;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.shield-mark {
  width: 16px;
  height: 20px;
  background-color: var(--color-shield-red);
  border-radius: 2px 2px 8px 8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-links a:hover {
  text-decoration: underline;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--color-evergreen);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-stone-steel);
  line-height: 1.8;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.caption-tab {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-evergreen);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Trust Strip */
.trust-strip {
  background-color: var(--color-card);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-evergreen);
}

/* What We Do */
.what-we-do {
  padding: 5rem 0;
}

.what-we-do h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background-color: var(--color-card);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.service-card-content {
  padding: 1.5rem;
  flex: 1;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--color-stone-steel);
}

/* Four Season Property */
.four-season {
  background-color: var(--color-evergreen);
  color: #fff;
  padding: 5rem 0;
}

.four-season-eyebrow {
  color: var(--color-warm-gold);
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}

.four-season h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.four-season p {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

.season-pairing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.season-card {
  position: relative;
}

.season-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.season-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-evergreen);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* About Section */
.about {
  padding: 5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 4px solid var(--color-shield-red);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.about-signature {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-red-ink);
}

/* Service Area */
.service-area {
  padding: 4rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.service-area h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-area ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-area li {
  font-size: 1rem;
  color: var(--color-evergreen);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--color-card);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-body);
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 0;
  font-size: 1rem;
}

.contact-info {
  margin-top: 2rem;
  font-size: 1.125rem;
}

.contact-info a {
  color: var(--color-red-ink);
  font-weight: 600;
}

.contact-address {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-stone-steel);
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: var(--color-evergreen);
  color: #fff;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-text {
  color: rgba(255,255,255,0.7);
}

.mobile-call-bar {
  display: none;
  position: sticky;
  bottom: 0;
  background-color: var(--color-shield-red);
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  z-index: 100;
}

/* Services Page specific */
.page-header {
  padding: 5rem 0 3rem;
}

.page-header h1 {
  margin-bottom: 1.5rem;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 800px;
}

.services-list-section {
  padding: 4rem 0;
  background-color: var(--color-card);
}

.services-list-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.services-list-grid li {
  padding-left: 1.5rem;
  position: relative;
}

.services-list-grid li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-shield-red);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-area ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  details.mobile-menu {
    position: relative;
  }
  
  details.mobile-menu summary {
    list-style: none;
  }
  
  details.mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  
  details.mobile-menu[open] .mobile-nav-dropdown {
    display: block;
  }
  
  .mobile-nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-evergreen);
    min-width: 200px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 50;
    border: 1px solid rgba(255,255,255,0.1);
  }
  
  .mobile-nav-dropdown a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .mobile-nav-dropdown a:last-child {
    border-bottom: none;
  }
  
  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 0;
    gap: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .trust-strip-inner {
    justify-content: center;
  }
  
  .what-we-do {
    padding: 3rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .four-season {
    padding: 3rem 0;
  }
  
  .season-pairing {
    grid-template-columns: 1fr;
  }
  
  .about {
    grid-template-columns: 1fr;
    padding: 3rem 0;
    gap: 2rem;
  }
  
  .service-area {
    padding: 3rem 0;
  }
  
  .service-area ul {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact {
    padding: 3rem 0;
  }
  
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .mobile-call-bar {
    display: block;
  }
  
  .services-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .service-area ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
