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

:root {
  --bg: #ffffff;
  --fg: #171717;
  --muted: #737373;
  --muted-light: rgba(115,115,115,0.7);
  --muted-bg: #f5f5f5;
  --border: #e5e5e5;
  --card: #ffffff;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
address { font-style: normal; }

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

@media (min-width: 768px) {
  .container { padding: 0 3rem; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  border-radius: 0.375rem;
}

.btn-primary:hover {
  background: #333;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: scale(1.05);
}

.btn-primary:active { transform: scale(0.95); }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  border-radius: 0.375rem;
}

.btn-outline:hover {
  background: var(--muted-bg);
}

.btn-inverse {
  background: var(--bg);
  color: var(--fg);
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  border-radius: 0.375rem;
}

.btn-inverse:hover { background: rgba(255,255,255,0.9); }

/* ===== HEADER / NAV ===== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.3s;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  z-index: 110;
  position: relative;
}

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

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active { color: var(--fg); }

.nav-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
}

.mobile-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  position: relative;
  padding: 0.5rem;
  color: var(--fg);
}

@media (min-width: 768px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 105;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open { transform: translateY(0); }

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
}

/* ===== HERO ===== */

.hero {
  padding: 8rem 0 5rem;
}

@media (min-width: 768px) {
  .hero { padding: 12rem 0 8rem; }
}

.hero .grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero .grid { grid-template-columns: 1fr 1fr; }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SECTIONS ===== */

.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }

.section-muted { background: rgba(245,245,245,0.5); }
.section-dark { background: var(--fg); color: var(--bg); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 48rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== FEATURE CARDS (Home) ===== */

.features-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 2px;
  border: 1px solid rgba(229,229,229,0.5);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}

.feature-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(23,23,23,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg { width: 1.75rem; height: 1.75rem; color: var(--fg); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.feature-card p { color: var(--muted); line-height: 1.7; }

/* ===== SERVICES LIST (Home) ===== */

.services-split {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .services-split { grid-template-columns: 1fr 1fr; }
}

.services-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
}

.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.25rem;
  color: var(--fg);
  background: rgba(23,23,23,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-check svg { width: 0.875rem; height: 0.875rem; }

.service-item strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.service-item p { color: var(--muted); line-height: 1.7; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
  font-weight: 500;
  font-size: 1.125rem;
  margin-top: 2.5rem;
  transition: gap 0.2s;
}

.link-arrow:hover { gap: 0.75rem; }

.link-arrow svg { width: 1.25rem; height: 1.25rem; }

/* ===== SERVICE CARDS (Services page) ===== */

.service-cards {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}

.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.service-card-icon {
  width: fit-content;
  padding: 1rem;
  background: rgba(245,245,245,0.5);
  border-radius: 2px;
  margin-bottom: 2rem;
  transition: background 0.3s;
}

.service-card:hover .service-card-icon { background: rgba(23,23,23,0.06); }

.service-card-icon svg { width: 2.5rem; height: 2.5rem; color: var(--fg); }

.service-card h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-card p { color: var(--muted); line-height: 1.7; flex-grow: 1; }

/* ===== PROCESS STEPS ===== */

.process-list { max-width: 56rem; margin: 0 auto; }

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.process-step + .process-step { margin-top: 3rem; }

@media (min-width: 768px) {
  .process-step { gap: 2.5rem; }
}

.process-number {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 300;
  color: rgba(23,23,23,0.25);
  padding-top: 0.25rem;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.process-step h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.process-step p { font-size: 1.125rem; color: var(--muted); }

/* ===== ABOUT PAGE ===== */

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 500;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
}

.about-text p + p { margin-top: 1.5rem; }

.about-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.philosophy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.philosophy blockquote {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  font-style: italic;
}

/* ===== CONTACT FORM ===== */

.contact-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 2fr 3fr; }
}

.contact-info h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
}

.payment-policy {
  background: rgba(245,245,245,0.5);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 2px;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.payment-policy svg { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: var(--fg); margin-top: 0.25rem; }

.payment-policy h2 { font-weight: 500; margin-bottom: 0.5rem; }
.payment-policy p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

.contact-details {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-details h3 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-details div + div { margin-top: 1rem; }

.contact-details a {
  color: var(--fg);
  transition: color 0.2s;
}

.contact-details a:hover { color: var(--muted); }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem 2.5rem;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}

.form-group { margin-bottom: 1.75rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--fg);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fg);
  box-shadow: 0 0 0 2px rgba(23,23,23,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.form-error { color: #dc2626; font-size: 0.8rem; margin-top: 0.25rem; }

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--fg);
  color: var(--bg);
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transform: translateY(150%);
  transition: transform 0.3s;
  z-index: 200;
  max-width: 360px;
}

.toast.show { transform: translateY(0); }
.toast h4 { font-weight: 600; margin-bottom: 0.25rem; }
.toast p { font-size: 0.875rem; opacity: 0.8; }

/* ===== LEGAL PAGES ===== */

.legal { padding: 8rem 0 5rem; }
@media (min-width: 768px) { .legal { padding: 10rem 0 7rem; } }

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.legal-date { color: var(--muted); font-size: 1.125rem; margin-bottom: 1rem; }

.legal-notice {
  color: var(--muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin-bottom: 4rem;
}

.legal-section { margin-bottom: 3rem; }

.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.legal-section p { color: var(--muted); line-height: 1.7; }
.legal-section p + p { margin-top: 1rem; }

.legal-section ul, .legal-section ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }

.legal-section li {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.legal-section li strong { color: var(--fg); }

.legal-section address {
  color: var(--muted);
  line-height: 1.8;
}

.legal-section address a {
  text-decoration: underline;
  transition: color 0.2s;
}

.legal-section address a:hover { color: var(--fg); }

.legal-footer {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ===== FOOTER ===== */

.footer {
  background: var(--fg);
  color: var(--bg);
  padding: 4rem 0 3rem;
}

@media (min-width: 768px) {
  .footer { padding: 6rem 0 3rem; }
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  max-width: 24rem;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-socials a:hover { color: white; }
.footer-socials svg { width: 1.25rem; height: 1.25rem; }

.footer-nav ul { list-style: none; }

.footer-nav li + li { margin-top: 1rem; }

.footer-nav a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-nav a:hover { color: white; }

.footer-contact {
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

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

.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: white; }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
}

/* ===== ANIMATIONS ===== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}
