/* =========================================================
   Café Triangulum – shared styles (used by PT and EN pages)
   Mobile-first: base styles are for phones, then we add
   rules for bigger screens with @media (min-width: ...).
   ========================================================= */

/* ---------- 1. Colors, fonts and sizes (change them here) ---------- */
:root {
  /* Colors taken from the logo */
  --olive: #3d4428;        /* triangle of the logo – main accent */
  --olive-dark: #2b301c;   /* darker olive for hover states */
  --gold: #e8d9a0;         /* cup, steam and stars of the logo */
  --gold-soft: #f2e6b6;

  /* Page colors */
  --cream: #faf5e8;        /* page background */
  --brown: #3b2a1e;        /* main text */
  --brown-soft: #6b5444;   /* secondary text */
  --white: #ffffff;

  /* Fonts (with safe fallbacks if Google Fonts fail to load) */
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-height: 64px;
  --max-width: 1120px;
}

/* ---------- 2. Basic reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Stop section titles from hiding under the fixed top bar */
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px – comfortable to read on phones */
  line-height: 1.6;
}

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

a {
  color: inherit;
}

/* Visible keyboard focus everywhere (accessibility) */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* "Skip to content" link: hidden until a keyboard user presses Tab */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--olive-dark);
  font-weight: 600;
}

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

/* ---------- 3. Top bar (logo, menu, language switch) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--olive);
  color: var(--gold-soft);
  box-shadow: 0 1px 0 rgba(232, 217, 160, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Small logo + name on the left */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto; /* pushes everything else to the right */
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap; /* keep "Café Triangulum" on one line */
  color: var(--gold-soft);
}

.brand img {
  width: 36px;
  height: auto;
}

/* The logo image has a white background around the triangle.
   clip-path cuts the picture into a triangle so only the logo shows. */
.logo-triangle {
  clip-path: polygon(50% 1%, 1% 99%, 99% 99%);
}

/* PT | EN switch – always visible, never hidden in the menu */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lang-switch a {
  display: inline-block;
  padding: 0.35rem 0.4rem;
  text-decoration: none;
  color: var(--gold-soft);
  opacity: 0.75;
}

.lang-switch a:hover {
  opacity: 1;
}

/* The language you are currently reading */
.lang-switch a[aria-current="true"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.lang-switch span {
  opacity: 0.5;
}

/* "Hamburger" button (three lines) – phones only */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--gold-soft);
  transition: transform 0.2s, opacity 0.2s;
}

/* Turn the three lines into an "X" when the menu is open */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Phone menu: a panel that drops down under the top bar */
.main-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  display: none;
  background: var(--olive);
  border-top: 1px solid rgba(232, 217, 160, 0.2);
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  margin: 0;
  padding: 0.5rem 0 1rem;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.main-nav a:hover {
  background: var(--olive-dark);
}

/* ---------- 4. Hero (top section with the farm photo) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh; /* better on phones with moving address bars */
  padding: calc(var(--header-height) + 2rem) 1.25rem 3rem;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

/* The photo fills the whole section, behind the text */
.hero-photo,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo img {
  object-fit: cover;
  /* Keep the person on the path in view when the photo is cropped */
  object-position: 54% 62%;
}

/* Dark olive layer over the photo so the white text is easy to read */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(30, 34, 18, 0.55) 0%,
      rgba(30, 34, 18, 0.45) 45%,
      rgba(30, 34, 18, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1; /* sits above the photo and the dark layer */
  max-width: 40rem;
}

.hero-logo {
  width: 96px;
  margin: 0 auto 1.25rem;
}

/* "Direto da nossa roça" – small gold line above the title */
.hero-tagline {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 11vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-text {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-size: 1.125rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* ---------- 5. Buttons ---------- */
.button {
  display: inline-flex; /* inline-flex lets an icon sit next to the text */
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border: 2px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  color: var(--olive-dark);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.button:hover {
  background: transparent;
  color: var(--gold);
}

/* ---------- 6. Bigger screens (tablets and computers) ---------- */
@media (min-width: 900px) {
  :root {
    --header-height: 76px;
  }

  /* Hide the hamburger, show the menu as a normal row of links */
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
  }

  .main-nav ul {
    display: flex;
    gap: 0.25rem;
    padding: 0;
  }

  .main-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }

  .main-nav a:hover {
    background: none;
    color: var(--white);
  }

  /* Language switch goes to the far right, after the menu */
  .lang-switch {
    order: 3;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(232, 217, 160, 0.3);
  }

  .brand img {
    width: 42px;
  }

  .hero-logo {
    width: 120px;
  }

  .hero-text {
    font-size: 1.25rem;
  }
}

/* Respect visitors who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* =========================================================
   7. Shared section layout (used by every section below the hero)
   ========================================================= */
.section {
  padding: 4.5rem 1.25rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Section title with a small gold star above it (inspired by the logo) */
.section-title {
  margin: 0 0 2.5rem;
  color: var(--olive);
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 7vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

.section-title::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 0.9rem;
  /* A simple 4-point star, drawn in gold */
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23b89a3e' d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E");
}

/* =========================================================
   8. Coffee profile: big numbers + spec sheet card
   ========================================================= */

/* Three big numbers side by side (even on phones – they are short) */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 3rem;
  padding: 0;
  max-width: 46rem;
  list-style: none;
  text-align: center;
}

.stats li {
  padding: 0 0.5rem;
}

/* Thin gold line between the numbers */
.stats li + li {
  border-left: 1px solid rgba(184, 154, 62, 0.45);
}

.stat-number {
  display: block;
  color: var(--olive);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 11vw, 4.25rem);
  font-weight: 600;
  line-height: 1;
  /* Use modern, same-height numbers (the font's default ones look like "IOO") */
  font-variant-numeric: lining-nums;
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--brown-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The spec sheet looks like a label on a coffee sack:
   light card with a thin double olive border */
.spec-card {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  background: #fffdf6;
  border: 1px solid rgba(61, 68, 40, 0.35);
  outline: 1px solid rgba(61, 68, 40, 0.35);
  outline-offset: -7px;
}

.spec-list {
  margin: 0;
}

/* Each row = one fact (label + value) */
.spec-row {
  padding: 0.9rem 0.5rem;
  border-bottom: 1px dashed rgba(61, 68, 40, 0.25);
}

.spec-row dt {
  color: var(--olive);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spec-row dd {
  margin: 0.2rem 0 0;
}

.spec-variety-name {
  display: block;
  font-weight: 600;
}

/* Tasting notes as small gold tags */
.notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.notes li {
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--olive-dark);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Export line at the bottom of the card */
.spec-export {
  margin: 1.5rem 0 0;
  padding: 0 0.5rem;
  text-align: center;
}

.spec-export strong {
  display: block;
  color: var(--olive);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.25;
}

.spec-export .button {
  margin-top: 1.25rem;
}

/* Olive button version for light backgrounds */
.button-olive {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--gold-soft);
}

.button-olive:hover {
  background: transparent;
  color: var(--olive);
}

@media (min-width: 700px) {
  .section {
    padding: 6rem 2rem;
  }

  .spec-card {
    padding: 2.5rem 2.75rem;
  }

  /* Label on the left, value on the right */
  .spec-row {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }

  .spec-row dd {
    margin: 0;
  }

  .stat-label {
    font-size: 0.95rem;
  }
}

/* =========================================================
   9. Our Story (photo of the young couple + family text)
   ========================================================= */

/* A slightly darker paper tone, to separate this section from the one above */
.section-alt {
  background: #f3ead4;
}

.story-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

/* Old photo in an arch-shaped frame with a thin gold line around it */
.story-photo {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 50% 50% 4px 4px / 30% 30% 4px 4px;
  outline: 1px solid #b89a3e;
  outline-offset: 8px;
  box-shadow: 0 14px 30px rgba(59, 42, 30, 0.18);
}

.story-text p {
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

/* First paragraph a little bigger, in the elegant heading font */
.story-text .lead {
  color: var(--olive);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: lining-nums; /* "80", not old-style "8o" */
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }

  .story-photo {
    max-width: 420px;
  }

  /* On computers the title sits left, above the text */
  .story-text .section-title {
    text-align: left;
  }

  .story-text .section-title::before {
    margin-left: 0;
  }

  .story-text .lead {
    font-size: 1.9rem;
  }
}

/* =========================================================
   10. Origin & Quality (dark olive band with three icon cards)
   ========================================================= */
.section-dark {
  background: var(--olive);
  color: var(--cream);
}

.section-dark .section-title {
  color: var(--gold-soft);
}

/* Gold star above the title, a bit brighter on the dark background */
.section-dark .section-title::before {
  filter: brightness(1.35);
}

/* The quote under the title */
.origin-quote {
  max-width: 40rem;
  margin: -1rem auto 3rem;
  color: var(--gold-soft);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

.origin-cards {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.origin-card {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(232, 217, 160, 0.35);
  text-align: center;
}

/* Small line-drawn icons (mountain, coffee cherries, sun) */
.origin-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.origin-card h3 {
  margin: 0 0 0.6rem;
  color: var(--gold-soft);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
}

.origin-card p {
  margin: 0;
}

@media (min-width: 900px) {
  .origin-quote {
    font-size: 1.75rem;
  }

  .origin-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .origin-card {
    padding: 2.5rem 2rem;
  }
}

/* =========================================================
   11. Our Coffees (three product photos + contact buttons)
   ========================================================= */
.products {
  display: grid;
  gap: 1.75rem;
  margin: 0 0 3.5rem;
  padding: 0;
  list-style: none;
}

.product {
  margin: 0;
}

.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(59, 42, 30, 0.12);
}

/* Product name under the photo */
.product figcaption {
  margin-top: 0.9rem;
  color: var(--olive);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

/* Box with "Want to learn more or place an order?" + buttons */
.order-box {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  border-top: 1px solid rgba(184, 154, 62, 0.5);
  border-bottom: 1px solid rgba(184, 154, 62, 0.5);
  text-align: center;
}

.order-box p {
  margin: 0 0 1.5rem;
  color: var(--olive);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1.3;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* Same width for both buttons, so they line up neatly */
.button-row .button {
  min-width: 13rem;
}

/* Outlined olive button (used for the e-mail link) */
.button-outline {
  border-color: var(--olive);
  background: transparent;
  color: var(--olive);
}

.button-outline:hover {
  background: var(--olive);
  color: var(--gold-soft);
}

.button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 700px) {
  /* Big green-coffee photo on the left, the other two stacked on the right */
  .products {
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }

  /* The first product (green coffee) takes up two rows */
  .products > li:first-child {
    grid-row: span 2;
  }

  .product-featured figcaption {
    font-size: 2rem;
  }

  .order-box p {
    font-size: 1.9rem;
  }
}

/* =========================================================
   12. Behind Café Triangulum (counter photo + family message)
   ========================================================= */
.behind-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.behind-photo {
  width: 100%;
  border-radius: 2px;
  outline: 1px solid #b89a3e;
  outline-offset: 8px;
  box-shadow: 0 14px 30px rgba(59, 42, 30, 0.18);
}

.behind-text p {
  margin: 0;
  color: var(--olive);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

@media (min-width: 900px) {
  /* Text on the left, photo on the right (mirrors "Our Story") */
  .behind-grid {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }

  .behind-text {
    order: -1;
  }

  .behind-text .section-title,
  .behind-text p {
    text-align: left;
  }

  .behind-text .section-title::before {
    margin-left: 0;
  }

  .behind-text p {
    font-size: 1.9rem;
  }
}

/* =========================================================
   13. Contact (form + direct contact card)
   ========================================================= */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 60rem;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--olive);
  font-weight: 600;
}

.required-mark {
  color: #8a5a1f;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(61, 68, 40, 0.45);
  border-radius: 2px;
  background: #fffdf6;
  color: var(--brown);
  font: inherit;
  font-size: 1rem; /* 16px or more stops iPhones from zooming in */
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--olive);
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}

.form-note {
  margin: 0;
  color: var(--brown-soft);
  font-size: 0.9rem;
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
  font-family: inherit;
}

.contact-form .button:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Hidden "honeypot" field: invisible to people, robots fill it in */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Success / error message under the form (hidden until needed) */
.form-status {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid transparent;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  border-color: var(--olive);
  background: #e9edd9;
  color: var(--olive-dark);
}

.form-status.is-error {
  border-color: #9b3b22;
  background: #f6e1d8;
  color: #6e2814;
}

/* Card with e-mail and WhatsApp next to the form */
.contact-card {
  align-self: start;
  padding: 2rem 1.5rem;
  background: var(--olive);
  color: var(--cream);
  text-align: center;
}

.contact-card h3 {
  margin: 0 0 1.25rem;
  color: var(--gold-soft);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
}

.contact-list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 1rem;
}

.contact-list span {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--cream);
  overflow-wrap: anywhere; /* long e-mail address can wrap on small phones */
}

.contact-list a:hover {
  color: var(--gold-soft);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
  }

  .contact-card {
    padding: 2.5rem 2rem;
  }
}

/* =========================================================
   14. Floating WhatsApp button (phones and small tablets only)
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 4.5rem; /* raised so it does not sit on top of the "Powered by Netlify" badge */
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1b9a4e; /* deep WhatsApp-style green: recognisable, and the white icon stays visible (contrast 3.6) */
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .whatsapp-float {
    display: none; /* computers already see the buttons in the page */
  }
}

/* =========================================================
   15. Footer (logo, Instagram, language switch, copyright)
   ========================================================= */
.site-footer {
  padding: 3rem 1.25rem 6rem; /* extra space at the bottom for the floating WhatsApp button */
  background: var(--olive-dark);
  color: var(--gold-soft);
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.footer-brand img {
  width: 44px;
}

/* Instagram link with a small line icon */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-soft);
  font-weight: 600;
  text-decoration: none;
}

.footer-social svg {
  width: 26px;
  height: 26px;
}

.footer-social:hover {
  color: var(--white);
}

.site-footer .lang-switch a {
  color: var(--gold-soft);
}

.copyright {
  margin: 0;
  color: rgba(242, 230, 182, 0.75);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .site-footer {
    padding: 3rem 2rem;
  }

  /* One row on computers: logo – Instagram – language – copyright */
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
  }

  .footer-social {
    justify-self: center;
  }

  .site-footer .lang-switch {
    order: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .copyright {
    grid-column: 1 / -1;
    justify-self: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(232, 217, 160, 0.2);
    width: 100%;
    text-align: center;
  }
}
