/* ===========================
   THEME TOKENS — Blue & White
   =========================== */
:root {
  --background: #f7f9fc;
  --surface: #ffffff;
  --surface-alt: #eef2f7;
  --text-primary: #1a2332;
  --text-secondary: #5a6a7e;
  --anchor: #1e3a5f;
  --anchor-light: #2c5282;
  --cta: #3b82f6;
  --cta-hover: #2563eb;
  --accent-soft: #93bbf5;
  --border: #d0dae7;
  --border-light: #e2e8f0;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 1rem;
}

a {
  color: var(--cta);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--cta-hover);
}

/* === NAVIGATION === */
header {
  background: var(--anchor);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2.5rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.4rem;
}

.nav-tab {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-tab.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 600;
}

/* === TABS === */
.tab-content {
  display: none;
  animation: fadeIn 0.35s ease;
}
.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === HERO === */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--anchor);
  margin-bottom: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-text p {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 2px solid var(--anchor);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.01em;
}

.btn:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  color: #fff;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--anchor);
  border: 1.5px solid var(--anchor);
  padding: 0.7rem 1.8rem;
}

.btn-secondary:hover {
  background: var(--anchor);
  color: #fff;
  box-shadow: none;
}

/* === IMAGE PLACEHOLDERS === */
.image-placeholder {
  background: var(--surface-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--anchor-light);
  font-weight: 500;
  font-size: 0.9rem;
  min-height: 280px;
  width: 100%;
  max-width: 420px;
}

.image-placeholder.portrait {
  min-height: 360px;
  max-width: 280px;
}

img.portrait {
  max-width: 420px;
  border-radius: var(--radius);
  object-fit: cover;
}

.image-placeholder.gallery-img {
  min-height: 200px;
  max-width: 100%;
}

.image-placeholder.service-img {
  min-height: 180px;
  max-width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
}

.map-placeholder {
  min-height: 200px;
  max-width: 100%;
  margin-top: 1.2rem;
}

/* === QUOTE SECTION === */
.quote-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.quote-section blockquote {
  background: var(--surface);
  border-left: 4px solid var(--cta);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.quote-section blockquote p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.quote-section blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--anchor);
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.quote-section blockquote cite a {
  color: var(--cta);
  text-decoration: underline;
  text-decoration-color: rgba(59, 130, 246, 0.3);
  text-underline-offset: 2px;
}

.quote-section blockquote cite a:hover {
  text-decoration-color: var(--cta);
}

/* === HIGHLIGHT CARDS === */
.highlights {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 10px;
}

.card h3 {
  color: var(--anchor);
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* === PAGE SECTIONS === */
.page-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.page-section + .page-section {
  padding-top: 0;
}

.page-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--anchor);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  font-size: 1.05rem;
}

/* === ABOUT === */
.about-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.about-text ul {
  list-style: none;
  margin-top: 1.2rem;
}

.about-text ul li {
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.about-text ul li:last-child {
  border-bottom: none;
}

/* === GALLERY === */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.gallery-row-landscape img.gallery-img {
  height: 280px;
}

.gallery-row-wide {
  grid-template-columns: 1fr;
}

.gallery-row-wide img.gallery-img {
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.gallery-row-portrait img.gallery-img {
  height: auto;
  max-height: 600px;
}

.gallery img.gallery-img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card h3,
.service-card p {
  padding: 0 1.5rem;
}

.service-card h3 {
  color: var(--anchor);
  font-size: 1.05rem;
  font-weight: 650;
  margin: 1.2rem 0 0.4rem;
  padding-top: 0.5rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

.price {
  font-weight: 700;
  color: var(--cta) !important;
  font-size: 1.05rem !important;
  padding-bottom: 1.5rem !important;
  margin-top: 0.6rem;
}

.service-card img.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card h3,
.service-card p {
  padding: 0 1.5rem;
}

.service-card h3 {
  color: var(--anchor);
  font-size: 1.05rem;
  font-weight: 650;
  margin: 1.2rem 0 0.4rem;
  padding-top: 0.5rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
  padding-bottom: 1.5rem;
}

.section-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.8rem;
  max-width: 780px;
}

.section-heading {
  color: var(--anchor);
  font-size: 1.15rem;
  font-weight: 650;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.principles-list {
  list-style: none;
  max-width: 780px;
}

.principles-list li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.principles-list li:last-child {
  border-bottom: none;
}

.principles-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta);
}

/* === CONTACT === */
#contact .page-section {
  padding-left: 12%;
}

.contact-layout {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

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

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--anchor);
  margin-top: 0.6rem;
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--border);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.contact-form .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  color: var(--anchor);
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-light);
  margin-top: 3rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav {
    padding: 0.8rem 1.2rem;
  }

  .nav-links {
    gap: 0.2rem;
  }

  .nav-tab {
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-layout {
    flex-direction: column;
    align-items: center;
  }

  .contact-layout {
    flex-direction: column;
  }

  .page-section {
    padding: 2.5rem 1.5rem;
  }

  .highlights {
    padding: 1rem 1.5rem 3rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  .nav-links {
    gap: 0;
  }

  .nav-tab {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
  }

  .hero-text h1 {
    font-size: 1.65rem;
  }

  .hero {
    padding: 2rem 1.2rem;
  }

  .card {
    padding: 1.5rem 1.2rem;
  }
}
