:root {
  --color-red: #c41e3a;
  --color-red-dark: #9e1830;
  --color-red-soft: rgba(196, 30, 58, 0.08);
  --color-black: #1a1a1a;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f7;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-border: #e5e5e5;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header.scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-img-footer {
  height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  background: var(--color-red);
  color: white !important;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--color-red-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

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

.btn-primary {
  background: var(--color-red);
  color: white;
}

.btn-primary:hover {
  background: var(--color-red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.btn-light {
  background: white;
  color: var(--color-red);
}

.btn-light:hover {
  background: #f5f5f5;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(196, 30, 58, 0.07), transparent),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(196, 30, 58, 0.04), transparent),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-red);
  background: var(--color-red-soft);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--color-red);
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-red);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-logo-card,
.hero-photo-card {
  padding: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-logo-overlay {
  padding: 1.5rem 2rem 2rem;
}

.hero-logo {
  width: min(220px, 100%);
  margin-inline: auto;
}

.hero-tagline {
  margin: 1.5rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text-muted);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-red);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

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

.service-card {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(196, 30, 58, 0.2);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  padding: 12px;
  color: var(--color-red);
  background: var(--color-red-soft);
  border-radius: var(--radius);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.about-intro {
  font-size: 1.05rem;
  color: var(--color-text) !important;
}

.about-info {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  text-align: left;
}

.about-info h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-red);
}

.about-details {
  margin: 0;
}

.about-details div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border);
}

.about-details div:last-child {
  border-bottom: none;
}

.about-details dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

.about-details dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-details a {
  color: var(--color-red);
}

.about-details a:hover {
  text-decoration: underline;
}

.about-list {
  margin-top: 1.5rem;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--color-text);
  font-weight: 500;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: 50%;
}

.about-card {
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.about-logo {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 1.5rem;
}

.about-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
}

.about-card cite {
  font-size: 0.9rem;
  font-style: normal;
  color: var(--color-text-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  border: none;
  cursor: pointer;
  text-align: left;
  background: #ddd;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item span {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 60%);
}

.gallery-item-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-muted);
  padding: 2rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}

.gallery-manage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-red-soft);
  border: 1px solid rgba(196, 30, 58, 0.18);
  border-radius: var(--radius-lg);
}

.gallery-manage-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gallery-manage-text strong {
  color: var(--color-red);
}

.gallery-manage-text span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.gallery-manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.gallery-category-select {
  padding: 0.55rem 0.9rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: white;
  color: var(--color-text);
}

.gallery-upload-btn {
  cursor: pointer;
}

.gallery-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #15803d;
  background: #ecfdf3;
  border-radius: var(--radius);
}

.gallery-status-error {
  color: var(--color-red);
  background: var(--color-red-soft);
}

.gallery-item-wrap {
  position: relative;
}

.gallery-item-wrap-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-delete {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.92);
  color: white;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-delete:hover {
  background: var(--color-red-dark);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.hidden {
  display: none;
}

.lightbox-content {
  margin: 0;
  max-width: min(960px, 100%);
}

.lightbox-content img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.lightbox-content figcaption {
  margin-top: 1rem;
  text-align: center;
  color: white;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.admin-link {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.admin-link:hover {
  color: var(--color-red);
}

/* CTA Banner */
.cta-banner {
  background: var(--color-red);
  color: white;
  padding: 3.5rem 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.cta-banner p {
  margin: 0;
  opacity: 0.9;
}

/* Contact */
.section-contact {
  background: var(--color-black);
  color: white;
}

.section-contact .section-eyebrow {
  color: var(--color-red);
}

.section-contact h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
}

.section-contact > .container > .contact-info > p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 1.25rem;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--color-red);
}

.contact-form {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-soft);
}

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

.form-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4em;
}

.form-note.success {
  color: #7dcea0;
}

.form-note.error {
  color: #ffb4b4;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Footer */
.footer {
  padding: 3rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-slogan {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-red) !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-red);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead,
  .hero-actions,
  .hero-stats {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-card,
  .hero-photo-card {
    max-width: 320px;
    margin-inline: auto;
  }

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

  .gallery-item-wrap-featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item-wrap-featured .gallery-item {
    aspect-ratio: 16 / 9;
  }
}

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

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
  }

  .nav-links a:hover {
    background: var(--color-bg-alt);
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about-details div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

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

  .gallery-item-wrap-featured {
    grid-column: span 1;
  }

  .logo-img {
    height: 44px;
  }

  .cta-banner-inner {
    text-align: center;
    justify-content: center;
  }
}
