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

:root {
  --bg: #effafb;
  --surface: #ffffff;
  --surface-soft: #dff5f7;
  --text: #1f3d42;
  --text-muted: #4d6b70;
  --accent: #2f9ea0;
  --accent-dark: #247d7f;
  --accent-soft: #c2e9ec;
  --border: #c5e3e7;
  --shadow: 0 12px 32px rgba(31, 61, 66, 0.08);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --container: 72rem;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

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

.client-login-link {
  justify-self: end;
  align-self: start;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-dark);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.client-login-link:hover,
.client-login-link:focus-visible {
  color: var(--text);
  background: var(--surface);
}

.page-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-top .hero-brand {
  grid-column: 2;
  margin-bottom: 0;
}

.page-top .client-login-link {
  grid-column: 3;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.hero {
  padding: 2rem 0 2.5rem;
}

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

.hero-brand img {
  width: min(100%, 18rem);
  height: auto;
}

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

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.12rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent-soft);
  background: var(--surface-soft);
}

.btn-full {
  width: 100%;
}

.hero-image,
.about-image,
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.hero-image img,
.about-image img,
.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-image:hover img,
.about-image:hover img,
.gallery-item:hover img {
  transform: scale(1.02);
}

.placeholder-note {
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.88);
}

.gallery-strip {
  padding: 0 0 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.section {
  padding: 4rem 0;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-intro h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
}

.section-intro p,
.about-copy p,
.contact-copy p {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card,
.stat-card,
.step-card,
.pricing-note,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 61, 66, 0.1);
}

.card h3,
.step-card h3,
.pricing-note h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  color: var(--text);
}

.card p,
.step-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.pricing-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--surface-soft), var(--surface));
}

.pricing-note > p {
  margin: 0;
  color: var(--text-muted);
}

.pricing-example {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: calc(var(--radius) - 0.15rem);
  background: var(--surface);
  border: 1px solid var(--border);
}

.pricing-example-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.pricing-example-title {
  margin: 0.35rem 0 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.pricing-example-price {
  margin: 0.5rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.pricing-example-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-example-detail {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about {
  background: linear-gradient(180deg, transparent, rgba(223, 245, 247, 0.65));
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-stats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

.stat-card {
  padding: 1.15rem;
}

.stat-value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.stat-label {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.step-card {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 1.15rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.contact {
  background: var(--surface-soft);
}

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

.contact-details p {
  margin: 1rem 0 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.contact-location {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text) !important;
  font-size: 1rem !important;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact-form {
  position: relative;
  padding: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 158, 160, 0.15);
}

.form-feedback {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
}

.form-feedback.success {
  background: #e8f7f7;
  color: #1f5d5f;
  border: 1px solid #b8e3e5;
}

.form-feedback.error {
  background: #fdeeee;
  color: #8b3a3a;
  border: 1px solid #f5c2c2;
}

.form-feedback.hidden {
  display: none;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .about-image {
    grid-column: 1 / -1;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .page-top {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .page-top .hero-brand {
    grid-column: 1;
    order: 2;
  }

  .page-top .client-login-link {
    grid-column: 1;
    order: 1;
    justify-self: end;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.gallery-page {
  padding: 2rem 0 3rem;
}

.gallery-page-inner {
  max-width: 52rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

.gallery-page-brand {
  margin-bottom: 1.25rem;
}

.gallery-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.gallery-page-lead {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
}

.gallery-panel {
  margin-top: 1.75rem;
}

.gallery-login-form {
  margin-top: 0;
}

.gallery-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.gallery-verify-note {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.gallery-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gallery-panel-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.gallery-meta {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.gallery-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.client-gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.client-gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.client-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.client-gallery-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
}

.client-gallery-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
}

.client-gallery-item-download {
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}

.client-gallery-item-download:hover,
.client-gallery-item-download:focus-visible {
  text-decoration: underline;
}

.gallery-empty {
  margin: 0;
  color: var(--text-muted);
}

.delivery-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-soft), var(--surface));
  box-shadow: var(--shadow);
}

.delivery-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.delivery-card p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

.delivery-card .btn {
  margin-top: 1rem;
}

.hidden {
  display: none !important;
}
