:root {
  --ink: #101214;
  --muted: #5f676d;
  --paper: #f4f6f6;
  --surface: #ffffff;
  --line: #d9dddd;
  --green: #335f7c;
  --green-2: #6f8798;
  --teal: #48aab7;
  --gold: #4f7f9e;
  --red: #a2509a;
  --shadow: 0 18px 44px rgba(16, 18, 20, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(244, 246, 246, 0.91);
  border-bottom: 1px solid rgba(217, 221, 221, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #1d2023;
  font-weight: 650;
  font-size: 0.92rem;
}

.site-nav a svg {
  width: 16px;
  height: 16px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(79, 128, 160, 0.13);
  outline: none;
}

.site-nav a.active {
  color: var(--green);
  background: rgba(79, 128, 160, 0.16);
}

.site-nav .nav-course {
  margin-left: 4px;
  color: #fff;
  background: var(--green);
}

.site-nav .nav-whatsapp {
  margin-left: 4px;
  color: #fff;
  background: #25d366;
}

.site-nav .nav-store {
  color: var(--green);
  background: rgba(79, 128, 160, 0.12);
}

.site-nav .nav-store:hover,
.site-nav .nav-store:focus-visible {
  background: rgba(79, 128, 160, 0.18);
}

.site-nav .nav-whatsapp:hover,
.site-nav .nav-whatsapp:focus-visible {
  background: #1fbd5a;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--green);
  cursor: pointer;
}

.menu-toggle svg,
.btn svg,
.contact-list svg,
.strength-list svg,
.check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  padding: 140px 0 76px;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center 36%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.88) 0%, rgba(16, 18, 20, 0.6) 45%, rgba(16, 18, 20, 0.16) 100%),
    linear-gradient(0deg, rgba(51, 95, 124, 0.68) 0%, rgba(16, 18, 20, 0.08) 58%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin-inline: max(20px, calc((100% - var(--container)) / 2)) auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #a8d9e0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: 4.9rem;
  max-width: 780px;
}

h2 {
  font-size: 2.55rem;
}

h3 {
  font-size: 1.1rem;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 12px 28px rgba(79, 128, 160, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #5f92b4;
  outline: none;
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 12px;
  color: var(--green-2);
  font-weight: 850;
  border-bottom: 2px solid rgba(79, 128, 160, 0.34);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--green);
  border-color: var(--green);
  outline: none;
}

.proof-strip {
  background: var(--green);
  color: #fff;
}

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

.proof-grid div {
  min-height: 116px;
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.proof-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: 1.32rem;
}

.proof-grid span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.section {
  padding: 96px 0;
}

.split-layout,
.about-layout,
.method-layout,
.mission-layout,
.contact-layout {
  display: grid;
  gap: 52px;
  align-items: center;
}

.split-layout {
  grid-template-columns: 0.82fr 1fr;
}

.section-copy p:not(.eyebrow),
.about-copy p,
.method-layout p,
.mission-copy p,
.contact-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-copy h2,
.section-heading h2,
.about-copy h2,
.method-layout h2,
.mission-copy h2,
.contact-copy h2 {
  max-width: 760px;
}

.strength-list {
  display: grid;
  gap: 16px;
}

.strength-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 18, 20, 0.06);
}

.strength-list svg {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
}

.strength-list p {
  margin: 0;
  color: var(--muted);
}

.about-band {
  background: #fff;
}

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

.portrait-frame {
  position: relative;
  align-self: stretch;
  min-height: 560px;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 28px -22px -22px 28px;
  background: var(--green-2);
  border-radius: var(--radius);
}

.portrait-frame img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1d2023;
  font-weight: 700;
}

.check-list svg {
  margin-top: 3px;
  color: var(--green-2);
}

.services-section {
  background:
    linear-gradient(180deg, var(--paper) 0%, #eaf0f2 100%);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 36px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-panel {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 18, 20, 0.07);
}

.feature-panel svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
}

.feature-panel:hover,
.feature-panel:focus-visible {
  border-color: rgba(79, 128, 160, 0.46);
  outline: none;
  transform: translateY(-1px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 18, 20, 0.07);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.service-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.method-section {
  color: #fff;
  background: var(--green);
}

.method-layout {
  grid-template-columns: 0.92fr 1fr;
}

.method-section .eyebrow {
  color: #a8d9e0;
}

.method-section p {
  color: rgba(255, 255, 255, 0.78);
}

.method-section .btn {
  margin-top: 14px;
}

.method-points {
  display: grid;
  gap: 16px;
}

.method-points article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.method-points strong {
  display: inline-block;
  margin-bottom: 16px;
  color: #a8d9e0;
  font-size: 0.86rem;
}

.method-points p {
  margin: 10px 0 0;
}

.media-section {
  background: #fff;
}

.mission-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.mission-image {
  margin: 0;
}

.mission-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-contact,
.simple-cta {
  background: #fff;
}

.contact-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  background: #eaf0f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-teaser h2,
.contact-teaser p {
  margin-top: 0;
}

.contact-teaser p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-teaser-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contact-section {
  background: #eaf0f2;
}

.contact-layout {
  grid-template-columns: 0.88fr 1fr;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  border-color: rgba(79, 128, 160, 0.46);
  outline: none;
}

.contact-list svg {
  margin-top: 3px;
  color: var(--teal);
}

.contact-list strong,
.contact-list span {
  display: block;
}

.contact-list span {
  color: var(--muted);
}

.contact-list strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd6da;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfe;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(72, 170, 183, 0.16);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  padding: 52px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #101214;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 0.8fr;
  gap: 32px;
}

.footer-grid img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #fff;
  outline: none;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.footer-grid .footer-socials .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.footer-grid .footer-socials .social-facebook {
  background: #1877f2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.55rem;
}

.footer-grid .footer-socials .social-linkedin {
  background: #0a66c2;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.footer-grid .footer-socials .social-icon:hover,
.footer-grid .footer-socials .social-icon:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 3px;
}

.whatsapp-plugin {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 18px;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(16, 18, 20, 0.22);
  font-weight: 850;
  line-height: 1.05;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.whatsapp-plugin svg {
  width: 22px;
  height: 22px;
}

.whatsapp-plugin span,
.whatsapp-plugin small {
  display: block;
}

.whatsapp-plugin small {
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.82;
  text-transform: uppercase;
}

.whatsapp-plugin:hover,
.whatsapp-plugin:focus-visible {
  background: #1fbd5a;
  box-shadow: 0 22px 44px rgba(16, 18, 20, 0.28);
  transform: translateY(-2px);
  outline: none;
}

.legal-page {
  background: #fff;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 54svh;
  padding: 148px 0 70px;
  color: #fff;
  background: var(--green);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(51, 95, 124, 0.95), rgba(51, 95, 124, 0.62), rgba(51, 95, 124, 0.24)),
    linear-gradient(0deg, rgba(16, 18, 20, 0.64), rgba(16, 18, 20, 0.12));
  z-index: 1;
}

.page-hero-about::before {
  background-image: url("../img/raimondo-mendolia-ritratto.jpg");
  background-position: center 22%;
}

.page-hero-services::before {
  background-image: url("../img/pasta-fresca-formazione.jpg");
}

.page-hero-method::before {
  background-image: url("../img/ingredienti-pasta.jpg");
}

.page-hero-contact::before {
  background-image: url("../img/laboratorio-pasta.jpg");
}

.page-hero-blog::before {
  background-image: url("../img/ingredienti-pasta.jpg");
}

.page-hero-blog-pasta::before {
  background-image: url("../img/laboratorio-pasta.jpg");
}

.page-hero-blog-ristorazione::before {
  background-image: url("../img/ristorazione-collettiva.jpg");
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.page-hero .eyebrow {
  color: #a8d9e0;
}

.page-hero h1 {
  max-width: 850px;
  font-size: 4.2rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
}

.editorial-layout {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 56px;
  align-items: start;
}

.long-copy {
  display: grid;
  gap: 18px;
}

.long-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.blog-section,
.article-section {
  background: var(--paper);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.blog-card {
  display: grid;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 18, 20, 0.07);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card div {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.blog-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

.article-content {
  display: grid;
  gap: 18px;
  max-width: 790px;
}

.article-content h2 {
  margin-top: 20px;
  font-size: 1.7rem;
}

.article-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.article-content .article-lead {
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 750;
}

.article-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 18, 20, 0.07);
}

.article-sidebar h2 {
  font-size: 1.25rem;
}

.article-sidebar ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.legal-hero {
  padding: 148px 0 64px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(51, 95, 124, 0.95), rgba(72, 170, 183, 0.78)),
    url("../img/ingredienti-pasta.jpg") center / cover;
}

.legal-hero h1 {
  font-size: 3.4rem;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.legal-content {
  max-width: 880px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.legal-updated {
  margin: 0 0 26px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-content p,
.legal-content li {
  color: #4e565c;
}

.legal-content a {
  color: var(--green-2);
  font-weight: 800;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 18px 20px 28px;
    background: rgba(244, 246, 246, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 38px rgba(16, 18, 20, 0.15);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .site-nav .nav-course,
  .site-nav .nav-whatsapp {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: 78svh;
    padding: 128px 0 58px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 18, 20, 0.91) 0%, rgba(16, 18, 20, 0.7) 55%, rgba(16, 18, 20, 0.35) 100%),
      linear-gradient(0deg, rgba(51, 95, 124, 0.72) 0%, rgba(16, 18, 20, 0.12) 58%);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .about-layout,
  .method-layout,
  .mission-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 440px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-grid,
  .editorial-layout,
  .blog-grid,
  .article-layout,
  .contact-teaser {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .contact-teaser-actions {
    justify-items: stretch;
  }

  .page-hero {
    min-height: 46svh;
    padding: 128px 0 58px;
  }

  .page-hero h1 {
    font-size: 3.2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.93rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .header-inner {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
  }

  .hero {
    min-height: 76svh;
    padding: 112px 0 46px;
  }

  .hero-media {
    object-position: 58% center;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .proof-grid,
  .service-grid,
  .preview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-action {
    justify-content: stretch;
  }

  .section-action .btn,
  .contact-teaser .btn {
    width: 100%;
  }

  .feature-panel {
    min-height: auto;
    padding: 22px;
  }

  .proof-grid div,
  .proof-grid div:last-child {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .strength-list article {
    grid-template-columns: 1fr;
  }

  .strength-list svg {
    grid-row: auto;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 360px;
  }

  .portrait-frame::before {
    inset: 16px -10px -10px 16px;
  }

  .contact-form {
    padding: 20px;
  }

  .legal-hero {
    padding: 118px 0 52px;
  }

  .page-hero {
    min-height: 44svh;
    padding: 112px 0 52px;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .legal-hero h1 {
    font-size: 2.4rem;
  }

  .contact-teaser {
    padding: 22px;
  }

  .whatsapp-plugin {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 12px 14px;
  }
}
