:root {
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  color: var(--muted);
}

button {
  font-family: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.logo {
  width: 48px;
  height: auto;
}

.logo-title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand {
  color: var(--text);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  font-weight: 500;
  color: var(--muted);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
}

.theme-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 5vw 3rem;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.subtitle {
  font-size: 1.1rem;
}

.cta-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  text-decoration: none;
}

.btn:focus-visible {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(15, 98, 171, 0.2);
}

.btn.secondary {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
}

.chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--text);
}

.chip {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.section {
  padding: 3.5rem 5vw;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.about-header {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.about-intro {
  text-align: justify;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.contact-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-photo {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 0;
  text-align: center;
  color: var(--muted);
  overflow: hidden;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-details {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  text-align: justify;
}

@media (min-width: 720px) {
  .about-grid {
    flex-direction: row;
  }
  .about-header {
    flex-direction: row;
    align-items: center;
  }
  .about-intro {
    text-align: justify;
  }
}

.highlight {
  color: var(--text);
  font-weight: 600;
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 2rem auto 1rem;
  padding: 0.5rem 0 0.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0.9rem 1.5rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 1.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--card);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -6px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -6px;
}

.timeline-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  display: inline-block;
  max-width: 100%;
}

.timeline-date {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.timeline-text {
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 960px) {
  #services .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.service-card ul {
  margin-top: 0.5rem;
}

.pack-card .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.price {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.price .old {
  text-decoration: line-through;
  color: var(--muted);
}

.price .new {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  background: var(--card);
}

.faq-list details + details {
  margin-top: 0.75rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  float: right;
}

details[open] summary::after {
  content: '−';
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}

.form-field {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--accent);
}

.form-field.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.field-error {
  color: #c62828;
  font-size: 0.9rem;
  min-height: 1.2rem;
}

.honey {
  position: absolute;
  left: -9999px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-status {
  color: var(--text);
  min-height: 1.2rem;
}

.site-footer {
  padding: 2rem 5vw;
  border-top: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav-list {
    display: none;
  }
  .site-header {
    gap: 1rem;
  }
  .timeline::before {
    left: 0.75rem;
  }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0.9rem 1.5rem 0.9rem 2.5rem;
  }
  .timeline-item .timeline-dot {
    left: 0.25rem;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
