:root {
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #3b3b3b;
  --teal-dark: #4d7d8b;
  --teal-mid: #7099a8;
  --sand: #e8c5a5;
  --panel: #f3e0d1;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.hero {
  position: relative;
  min-height: 44vw;
  max-height: 780px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 44vw;
  max-height: 780px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.intro.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 820px);
  margin: 0 auto;
}

.logo {
  width: 100%;
  max-width: 720px;
  margin: 0 0 72px;
}

.copy-block {
  width: 100%;
  max-width: 680px;
  text-align: center;
}

.copy-block p {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 1.1vw, 1.3rem);
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: var(--muted);
  text-wrap: pretty;
}

.copy-block p:last-child {
  margin-bottom: 0;
}

.accent {
  font-weight: 700;
}

.gallery.section {
  padding-top: 0;
}

.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.image-row-top {
  display: flex;
  justify-content: center;
}

.image-large {
  width: min(100%, 900px);
}

.rounded-image {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.image-large {
  border-top-right-radius: 58px;
}

.image-medium {
  width: min(100%, 560px);
  border-bottom-left-radius: 48px;
}

.image-row-bottom {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(260px, 360px);
  justify-content: center;
  align-items: end;
  gap: 56px;
}

.contact-card {
  display: flex;
  align-items: flex-end;
}

.contact-panel {
  min-width: 320px;
  background: var(--panel);
  border-bottom-right-radius: 56px;
  padding: 36px 40px 40px;
}

address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px;
}

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

address a:hover,
address a:focus-visible {
  text-decoration: underline;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon {
  width: 31px;
  height: 31px;
}

.hours h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hours p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 960px) {
  .section {
    padding: 56px 0;
  }

  .intro.section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .logo {
    margin-bottom: 56px;
  }

  .copy-block {
  width: 100%;
  max-width: 680px;
  text-align: center;
}

  .image-row-bottom {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
  }

  .contact-card {
    width: 100%;
    justify-content: center;
  }

  .contact-panel {
    min-width: 0;
    width: min(100%, 560px);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 34px 0;
  }

  .intro.section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .hero,
  .hero-image {
    min-height: 64vw;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.4rem);
    padding-inline: 10px;
  }

  .intro-inner {
    width: 100%;
  }

  .logo {
    width: 68%;
    max-width: 285px;
    margin: 0 auto 28px;
  }

  .copy-block {
    max-width: 100%;
    text-align: center;
  }

  .copy-block p {
    font-size: 0.96rem;
    line-height: 1.78;
    margin-bottom: 18px;
  }

  .copy-block p:last-child {
    margin-bottom: 0;
  }

  .gallery-stack {
    gap: 34px;
  }

  .image-row-top,
  .image-row-bottom {
    justify-items: stretch;
  }

  .image-large,
  .image-medium {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .image-large {
    border-top-right-radius: 24px;
  }

  .image-medium {
    border-bottom-left-radius: 24px;
  }

  .image-row-bottom {
    gap: 34px;
  }

  .contact-card {
    width: 100%;
    justify-content: stretch;
  }

  .contact-panel {
    width: 100%;
    max-width: none;
    padding: 24px 20px 26px;
    border-bottom-right-radius: 28px;
  }

  address,
  .hours p,
  .hours h2 {
    font-size: 0.92rem;
  }

  .socials {
    justify-content: flex-start;
    margin-bottom: 18px;
  }

  .form-intro h2 {
    font-size: 1.28rem;
  }
}


/* Premium scroll reveal */
.reveal {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up {
  transform: translate3d(0, 40px, 0);
}

.reveal-left {
  transform: translate3d(-42px, 0, 0);
}

.reveal-right {
  transform: translate3d(42px, 0, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.delay-1 {
  transition-delay: 0ms;
}

.delay-2 {
  transition-delay: 140ms;
}

.delay-3 {
  transition-delay: 280ms;
}

@media (max-width: 640px) {
  .reveal {
    transition:
      opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    transform: translate3d(0, 26px, 0);
  }

  .delay-2 {
    transition-delay: 110ms;
  }

  .delay-3 {
    transition-delay: 220ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Premium contact form */
.contact-form-section {
  padding-top: 0;
}

.form-shell {
  width: min(100%, 900px);
  margin: 0 auto;
  background: linear-gradient(180deg, #fbf7f3 0%, #f3e0d1 100%);
  border-top-left-radius: 56px;
  border-bottom-right-radius: 56px;
  padding: 56px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.form-intro {
  max-width: 640px;
  margin-bottom: 34px;
}

.form-kicker {
  margin: 0 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c6c6c;
}

.form-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--text);
}

.form-intro p:last-child {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.contact-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  margin: 0 0 9px;
  font-size: 0.96rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(31, 31, 31, 0.12);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(77, 125, 139, 0.55);
  box-shadow: 0 0 0 4px rgba(77, 125, 139, 0.10);
  background: #ffffff;
}

.field-message {
  margin-bottom: 26px;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.submit-button {
  appearance: none;
  border: none;
  border-radius: 999px;
  background: #4d7d8b;
  color: #ffffff;
  font: inherit;
  font-weight: 500;
  padding: 15px 28px;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  box-shadow: 0 10px 24px rgba(77, 125, 139, 0.22);
}

.submit-button:hover,
.submit-button:focus-visible {
  background: #446f7b;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(77, 125, 139, 0.24);
}

@media (max-width: 960px) {
  .form-shell {
    padding: 42px;
    border-top-left-radius: 42px;
    border-bottom-right-radius: 42px;
  }

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

@media (max-width: 640px) {
  .contact-form-section {
    padding-top: 0;
  }

  .form-shell {
    padding: 28px 22px;
    border-top-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .form-intro {
    margin-bottom: 24px;
  }

  .form-intro h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .form-intro p:last-child,
  .field label,
  .field input,
  .field textarea,
  .submit-button {
    font-size: 0.95rem;
  }

  .field input,
  .field textarea {
    border-radius: 16px;
    padding: 14px 16px;
  }

  .field textarea {
    min-height: 150px;
  }

  .field-message {
    margin-bottom: 22px;
  }

  .submit-button {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
  }
}


.form-status {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.96rem;
  line-height: 1.6;
}

.form-status.is-ok {
  background: rgba(77, 125, 139, 0.10);
  color: #34545d;
}

.form-status.is-error {
  background: rgba(139, 77, 77, 0.10);
  color: #6e4040;
}


/* Footer - high-end agency sign-off */
.site-footer {
  padding: 64px 0 80px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(31, 31, 31, 0.5);
}

.site-footer a {
  color: rgba(31, 31, 31, 0.7);
  text-decoration: none;
  position: relative;
  transition: color 200ms ease;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: rgba(31, 31, 31, 0.2);
  transition: background 200ms ease;
}

.site-footer a:hover {
  color: rgba(31, 31, 31, 0.95);
}

.site-footer a:hover::after {
  background: rgba(31, 31, 31, 0.5);
}


/* Hero title subtle fade-in */
.hero h1 {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.loaded h1 {
  opacity: 1;
  transform: translateY(0);
}
