/* ========================================
   POURT COFFEE - STYLES
   Minimal, premium cafe aesthetic
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
  --pourt-blue: #0B2E6B;
  --pourt-blue-2: #123E8A;
  --white: #FFFFFF;
  --ink: #0F172A;
  --muted: #475569;
  --surface: #F6F8FB;
  --border: rgba(15, 23, 42, 0.10);
  --latte: #D7C2A4;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --section-padding: 72px;
  --section-padding-mobile: 48px;
  --container-max: 1120px;
  --container-padding: 24px;

  --radius: 16px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px rgba(11, 46, 107, 0.08);

  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

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

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

/* ========== UTILITIES ========== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pourt-blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.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;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile) 0;
  }

  .section-header {
    text-align: left;
  }

  .section-subtitle {
    margin: 0;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  min-height: 48px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: var(--pourt-blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(11, 46, 107, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--pourt-blue-2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--pourt-blue);
  border: 1.5px solid var(--pourt-blue);
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--pourt-blue-2);
  border-color: var(--pourt-blue-2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition-fast);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--pourt-blue);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(11, 46, 107, 0.12);
  object-fit: cover;
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--pourt-blue);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--pourt-blue);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.menu-bar {
  width: 24px;
  height: 2px;
  background: var(--pourt-blue);
  border-radius: 999px;
}

@media (min-width: 900px) {
  .nav {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 72px 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transform: translateY(-120%);
  transition: transform var(--transition-medium);
  z-index: 999;
}

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

.mobile-menu nav {
  padding: 24px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-cta {
  width: 100%;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: #F7F8FB;
  color: var(--pourt-blue);
  padding: 120px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.hero-content {
  background: rgba(255, 255, 255, 0.95);
  color: var(--pourt-blue);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.hero-kicker {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--latte);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-visual-frame {
  position: relative;
  width: min(520px, 86vw);
  min-height: min(620px, 92vw);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 72px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  isolation: isolate;
  overflow: visible;
}

.hero-visual-frame::before {
  content: '';
  position: absolute;
  inset: 8% 6% 8% 18%;
  border-radius: 72px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(140deg, var(--pourt-blue) 0%, var(--pourt-blue-2) 100%);
  box-shadow: 0 22px 40px rgba(11, 46, 107, 0.22);
  z-index: 0;
}

.hero-photo-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: min(560px, 80vw);
  border-radius: 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(247, 248, 251, 0.85) 100%);
  border: 1px dashed rgba(15, 23, 42, 0.12);
  color: var(--pourt-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.hero-photo-placeholder span {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-photo-placeholder p {
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 104px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-photo-placeholder {
    min-height: min(420px, 78vw);
  }
}


/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: center;
  }
}

.about-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.feature-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--pourt-blue);
}

.about-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--pourt-blue);
}

.about-card p {
  color: var(--muted);
}

.about-note {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--latte);
}

/* ========== COFFEE ========== */
.coffee {
  background: var(--surface);
}

.coffee-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .coffee-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.coffee-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.coffee-main {
  width: 100%;
  height: min(520px, 60vw);
  object-fit: cover;
}

.coffee-copy p {
  color: var(--muted);
}

.coffee-supports {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.coffee-support {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.coffee-support-img {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
}

.coffee-support-text h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--pourt-blue);
}

.coffee-support-text p {
  color: var(--muted);
}

@media (max-width: 640px) {
  .coffee-support {
    grid-template-columns: 1fr;
  }

  .coffee-support-img {
    width: 100%;
    height: 180px;
  }

  .instagram-header { margin-top: 28px; }
  .instagram-handle { margin-top: 28px; }
}

/* ========== FOOD & PASTRIES ========== */
.food {
  background: var(--white);
  padding: 56px 0;
}

.carousel {
  position: relative;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--pourt-blue);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.carousel-btn:hover,
.carousel-btn:focus {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.carousel-btn:focus-visible {
  outline: 2px solid rgba(11, 46, 107, 0.35);
  outline-offset: 2px;
}

.carousel-btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
}

.carousel-viewport::before,
.carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.carousel.at-start .carousel-viewport::before {
  opacity: 0;
}

.carousel.at-end .carousel-viewport::after {
  opacity: 0;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 6px 14px 6px;
  scrollbar-width: none;
}

@media (hover: hover) and (pointer: fine) {
  .carousel-track {
    cursor: grab;
  }

  .carousel-track.is-dragging {
    cursor: grabbing;
    user-select: none;
  }
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
  filter: saturate(0.96) contrast(0.98);
}

.carousel-card.is-active {
  border-color: rgba(11, 46, 107, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  filter: saturate(1) contrast(1);
}

@media (hover: hover) and (pointer: fine) {
  .carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  }
}

.carousel-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  overflow: hidden;
}

.carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  padding: 10px 12px 12px 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.carousel-progress {
  height: 4px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.carousel-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--pourt-blue);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-card,
  .carousel-btn {
    transition: none;
  }

  .carousel-card:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .instagram-card {
    padding: 32px 30px;
    gap: 14px;
  }

  .instagram-card p {
    margin-top: 14px;
  }

  .carousel-track {
    padding-left: 16px;
    padding-right: 16px;
  }

  .carousel-card {
    width: 82vw;
    max-width: 360px;
  }

  .carousel-media {
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 641px) {
  .carousel-card {
    width: 340px;
  }

  .carousel-media {
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 1024px) {
  .carousel-card {
    width: 360px;
  }

  .carousel-media {
    aspect-ratio: 16 / 10;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 26, 58, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--white);
  color: var(--pourt-blue);
  border: 1px solid rgba(11, 46, 107, 0.2);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ========== LOCATION ========== */
.location {
  background: var(--surface);
}

.location-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
  }
}

.map-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-card::before {
  content: '';
  display: block;
  padding-top: 70%;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.info-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  text-align: left;
}

@media (min-width: 900px) {
  .info-card-inner {
    justify-content: space-between;
  }
}

.info-title {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--pourt-blue);
}

.info-item {
  margin-bottom: 14px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .info-title {
    margin-top: 4px;
  }

  .info-item {
    margin-bottom: 18px;
  }

  .info-card-inner .btn {
    margin-top: auto;
  }
}

.info-item strong {
  color: var(--ink);
}

/* ========== HOURS ========== */
.hours {
  background: var(--white);
}

.hours-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.hours-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
}

.status-badge.open {
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: var(--ink);
}

.hours-time {
  font-weight: 600;
  color: var(--pourt-blue);
}

.hours-closed .hours-time {
  color: var(--muted);
}

.hours-note {
  font-size: 13px;
  color: var(--muted);
}

.hours-note a {
  color: var(--pourt-blue);
  font-weight: 500;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.instagram-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Content area fills the card above the button */
.instagram-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* key: stop true centering */
}

/* Push the icon down from the top edge (~1cm ≈ 38px) */
.instagram-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 38px;     /* ~1cm from top border */
  gap: 0;               /* we will control spacing explicitly */
}

.instagram-icon {
  width: 60px;          /* was 48px */
  height: 60px;         /* was 48px */
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--pourt-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.instagram-icon svg {
  width: 30px;          /* was 22/28 */
  height: 30px;
}

.instagram-handle {
  margin-top: 38px;     /* ~1cm below icon */
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.1;
  color: var(--pourt-blue);
  letter-spacing: 0.2px;
}

/* Keep paragraph roughly where it is (not pulled up too much) */
.instagram-card p {
  margin-top: 16px;     /* small gap below handle */
  color: var(--muted);
  text-align: center;
  max-width: 34ch;
  line-height: 1.55;
}

/* Button pinned to bottom */
.instagram-card .btn {
  align-self: stretch;
  margin-top: auto;
}



.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.contact-form .btn {
  margin-top: auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pourt-blue);
  box-shadow: 0 0 0 3px rgba(11, 46, 107, 0.08);
}

.form-error {
  font-size: 12px;
  color: #DC2626;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #DC2626;
}

.form-success {
  text-align: center;
  padding: 24px 0;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--pourt-blue);
}

.form-success p {
  color: var(--muted);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: grid;
  gap: 16px;
  text-align: center;
  justify-items: center;
}

.footer-logo {
  width: 180px;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.made-in {
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(4, auto);
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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