/* ==========================================================================
   Template 3: "Coastal" — Warm & Modern
   Palette: Cream #FAF7F2, Deep Teal #1a5653, Terracotta #c2663b, Warm Gray #6b6560
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #3d3830;
  line-height: 1.6;
  background: #FAF7F2;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility: sans-serif text --- */

.sans {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* --- Navigation --- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e2da;
  padding: 16px 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  flex-shrink: 0;
}

nav .logo img {
  height: 48px;
  width: auto;
}

nav .nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

nav .nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #6b6560;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

nav .nav-links a:hover {
  color: #1a5653;
}

nav .nav-cta {
  background: #c2663b;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 24px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

nav .nav-cta:hover {
  background: #a85530;
}

/* --- Hero --- */

.hero {
  margin-top: 80px;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a5653;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 86, 83, 0.85) 0%, rgba(26, 86, 83, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero .hero-eyebrow {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c2663b;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.15;
  max-width: 650px;
  font-style: italic;
}

.hero .hero-sub {
  margin-top: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}

.hero .hero-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 32px;
  background: #c2663b;
  color: #fff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 24px;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.hero .hero-cta:hover {
  background: #a85530;
}

/* --- Section Defaults --- */

section {
  padding: 80px 0;
}

.section-label {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c2663b;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 38px;
  font-weight: 400;
  color: #1a5653;
  margin-bottom: 16px;
  font-style: italic;
}

.section-subtext {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: #6b6560;
  max-width: 550px;
  line-height: 1.7;
}

/* --- Services --- */

.services {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.service-card {
  padding: 0;
}

.service-card .card-accent {
  width: 40px;
  height: 3px;
  background: #c2663b;
  border-radius: 2px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 400;
  color: #1a5653;
  margin-bottom: 12px;
  font-style: italic;
}

.service-card p {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: #6b6560;
  line-height: 1.7;
}

/* --- Promise --- */

.promise {
  background: #1a5653;
  color: #fff;
  text-align: center;
}

.promise .section-heading {
  color: #fff;
}

.promise blockquote {
  font-size: 22px;
  line-height: 1.9;
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

.promise .quote-mark {
  font-size: 64px;
  color: #c2663b;
  line-height: 1;
  margin-bottom: 8px;
}

/* --- Team --- */

.team {
  background: #FAF7F2;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.team-card {
  text-align: center;
}

.team-card .headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  border: 3px solid #e8e2da;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 400;
  color: #1a5653;
  font-style: italic;
}

.team-card .title {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  color: #c2663b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 4px 0 12px;
  max-width: none;
}

.team-card p {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: #6b6560;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* --- Partners --- */

.partners {
  background: #fff;
  text-align: center;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 36px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.partner-list span {
  font-size: 14px;
  color: #6b6560;
  padding: 8px 18px;
  background: #FAF7F2;
  border-radius: 24px;
  border: 1px solid #e8e2da;
}

/* --- Contact --- */

.contact {
  background: #FAF7F2;
}

.contact .contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 400;
  color: #1a5653;
  margin-bottom: 8px;
  font-style: italic;
}

.contact-info > p {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: #6b6560;
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: #3d3830;
}

.contact-detail .label {
  font-weight: 700;
  color: #1a5653;
  min-width: 60px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd6cc;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  margin-bottom: 16px;
  background: #fff;
  color: #3d3830;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b0a89e;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1a5653;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form button {
  background: #c2663b;
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 24px;
  cursor: pointer;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #a85530;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  margin-top: 12px;
}

.form-status.success {
  color: #1a5653;
}

.form-status.error {
  color: #c2663b;
}

/* --- Footer --- */

footer {
  background: #1a5653;
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0;
  text-align: center;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

footer .footer-links a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

footer .footer-links a:hover {
  opacity: 1;
}

footer .copyright {
  font-size: 13px;
  opacity: 0.4;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  nav .nav-links li:not(:last-child) {
    display: none;
  }

  nav .nav-links {
    gap: 0;
  }
}
