/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #0e9e8e;
  --teal-dark: #0b7d70;
  --gold: #e8b84b;
  --gold-dark: #c99b32;
  --dark: #1a1a2e;
  --mid: #2d2d44;
  --light: #f7f4ef;
  --white: #ffffff;
  --text: #333333;
  --muted: #666666;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  font-family: 'Georgia', serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-sub {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-inline: auto;
}

/* ===========================
   BUTTON
   =========================== */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  min-height: 48px;
  line-height: 1.4;
}

:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10;
  padding: 0.75rem;
  background: var(--white);
  color: var(--dark);
}

.skip-link:focus { top: 1rem; }

.hero-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 1.5rem;
}

.hero-nav a {
  color: var(--white);
  padding: 0.75rem 0.25rem;
  text-underline-offset: 5px;
}

.btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* ===========================
   HERO
   =========================== */
.hero {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 7rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.pre-title {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  margin-bottom: 0.75rem;
  color: var(--white);
}

.aka {
  font-size: 1rem;
  color: #aac8e0;
  margin-bottom: 1.5rem;
}

.aka span {
  color: var(--gold);
  font-style: italic;
}

.tagline {
  font-size: 1.25rem;
  color: #d0e8f5;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* ===========================
   ABOUT
   =========================== */
.about {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.tim-photo {
  background: var(--light);
  width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius);
  object-fit: cover;
  height: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.about-text {
  flex: 1;
  min-width: 0;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.05rem;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.cred {
  text-align: center;
}

.cred-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--teal);
  line-height: 1;
}

.cred-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
  max-width: 140px;
  margin-inline: auto;
}

/* ===========================
   SERVICES / CARDS
   =========================== */
.services {
  background: var(--light);
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  min-width: 0;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card.featured {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(232,184,75,0.2);
}

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.price {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--teal);
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  text-align: left;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.card ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.card ul li::before {
  content: '✓ ';
  color: var(--teal);
  font-weight: bold;
}

.card-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.testimonials h2 {
  color: var(--white);
}

.testimonials .section-sub {
  color: #aaa;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review {
  background: var(--mid);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
}

.quote {
  font-style: italic;
  color: #ddd;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.reviewer {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ===========================
   PHOTO STRIP
   =========================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: clamp(120px, 22vw, 280px);
  overflow: hidden;
}

.photo-strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  transition: filter 0.2s ease;
  filter: brightness(0.85) saturate(0.9);
}

.photo-strip img:hover {
  filter: brightness(1) saturate(1.1);
}

/* ===========================
   FAQ
   =========================== */
.faq {
  background: var(--white);
}

.faq h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  background: linear-gradient(135deg, #0b7d70 0%, #0e9e8e 100%);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  color: var(--white);
}

.contact .section-sub {
  color: rgba(255,255,255,0.8);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 0;
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--light);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-color: var(--teal);
}

.form-group input, .form-group select { min-height: 48px; }

/* Safari's native date control can keep an intrinsic width on narrow screens. */
.form-group input[type="date"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input[type="date"]::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: left;
}

.form-group textarea { resize: vertical; }
.form-group label span { text-transform: none; letter-spacing: 0; font-weight: normal; }
.form-help { color: var(--muted); font-size: 0.95rem; }
.form-trap { display: none; }
.form-status { color: var(--dark); margin: 1rem 0 0; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #a12a20; }
.btn:disabled { cursor: wait; opacity: 0.7; transform: none; }

.contact-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark);
  color: #888;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
}

.footer p + p {
  margin-top: 0.5rem;
}

.footer-sub {
  color: #aaa;
  font-style: italic;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tim-photo {
    width: min(100%, 320px);
    justify-self: center;
  }

  .about-text { max-width: 640px; margin-inline: auto; }

  .cards {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .container { padding: 0 1.25rem; }
  h2 { font-size: clamp(1.75rem, 7vw, 2.2rem); }

  .hero {
    padding: 4rem 1.25rem 3rem;
  }

  .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .pre-title { font-size: 0.8rem; letter-spacing: 0.08em; }
  .tagline { font-size: 1.1rem; margin-bottom: 1.75rem; }
  .hero .btn { width: 100%; max-width: 360px; padding-inline: 1rem; }

  .credentials {
    gap: 0.75rem;
    margin-top: 2rem;
  }
  .cred-number { font-size: clamp(2rem, 8vw, 3rem); }
  .cred-label { font-size: 0.8rem; overflow-wrap: break-word; }

  .contact-form {
    padding: 1.25rem;
  }

  .form-row { flex-direction: column; gap: 0; }
  .reviews { grid-template-columns: 1fr; }
  .footer { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
