/* =========================================================
   Casapà Ristorante - Homepage
   File: assets/css/style.css
   Versione completa ottimizzata
   ========================================================= */


/* =========================================================
   RESET BASE
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: #29303a;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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


/* =========================================================
   VARIABILI GRAFICHE
   ========================================================= */

:root {
  --blue: #9bc8db;
  --blue-dark: #87b8cc;
  --blue-soft: #edf7fa;

  --dark: #1f242c;
  --title: #242936;
  --text: #29303a;
  --muted: #687486;

  --soft: #f4f8f9;
  --white: #ffffff;

  --container: 1180px;
  --wide-container: 1280px;

  --serif: "Playfair Display", Georgia, serif;

  --header-height: 64px;
}


/* =========================================================
   CLASSI GENERALI
   ========================================================= */

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

.narrow {
  max-width: 760px;
}

.centered {
  text-align: center;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 8px;
  text-transform: uppercase;
}


/* =========================================================
   HEADER / MENU
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(229, 234, 238, 0.85);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(var(--wide-container), calc(100% - 80px));
  height: var(--header-height);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.logo-main {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: #252b35;
}

.logo-sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.7px;
  color: #616976;
}

.main-nav {
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;

  font-size: 12px;
  font-weight: 600;
  color: #5b6471;
}

.main-nav a {
  padding: 9px 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue-dark);
}

.main-nav a.active {
  padding: 9px 18px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 999px;
}

.header-cta {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 42px;
  min-width: 116px;
  padding: 0 25px;

  color: #ffffff;
  background: #9ac5d6;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: #2d3540;
  transition: transform 0.2s ease, opacity 0.2s ease;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 620px;

  display: flex;
  align-items: center;

  background: url("../img/hero_index.jpg") center center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.14) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;

  width: min(var(--wide-container), calc(100% - 80px));
  margin: 0 auto;

  padding-top: 16px;
  padding-left: 126px;
}

.hero-eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  letter-spacing: 5.6px;
}

.hero h1 {
  max-width: 780px;

  font-family: var(--serif);
  font-size: clamp(64px, 5.4vw, 92px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -2.1px;

  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 46px;
  padding: 0 38px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;

  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: #a3ccdc;
}

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

.btn-outline {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   SEZIONE STORIA
   ========================================================= */

.story-section {
  padding: 82px 0 84px;
  background: #ffffff;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 138px;
  align-items: center;
}

.story-copy {
  padding-left: 82px;
}

.story-copy h2,
.specials-section h2,
.contact-card h2 {
  font-family: var(--serif);
  color: var(--title);
  font-weight: 700;
  letter-spacing: -1px;
}

.story-copy h2 {
  margin-bottom: 28px;
  font-size: 48px;
  line-height: 0.98;
}

.story-copy h2 span {
  display: inline-block;
  color: #94c0d2;
}

.story-copy p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 24px;

  color: #617083;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 500;
}

.story-image-wrap {
  position: relative;
  width: 440px;
}

.story-image {
  width: 440px;
  height: 545px;
  object-fit: cover;
  border-radius: 12px;
}

.quality-badge {
  position: absolute;
  left: -26px;
  bottom: -18px;

  width: 126px;
  min-height: 82px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 12px 16px;

  color: #ffffff;
  background: #9bc8db;
  border-radius: 12px;
  box-shadow: 0 14px 25px rgba(76, 119, 139, 0.23);
}

.quality-badge strong {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}

.quality-badge span {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
}


/* =========================================================
   SEZIONE SPECIALITÀ
   ========================================================= */

.specials-section {
  padding: 58px 0 42px;
  background: #f4f8f9;
  border-left: 1px solid #a9d2e0;
}

.specials-section .eyebrow {
  margin-bottom: 9px;
  letter-spacing: 8px;
}

.specials-section h2 {
  font-size: 48px;
  line-height: 1;
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;

  max-width: 960px;
  padding-top: 48px;
}

.dish-card {
  min-width: 0;
}

.dish-card img {
  width: 100%;
  height: 292px;
  object-fit: cover;
  border-radius: 10px;
}

.dish-card h3 {
  margin-top: 20px;
  margin-bottom: 8px;

  font-family: var(--serif);
  color: #222833;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
}

.dish-card p {
  color: #687486;
  font-size: 13px;
  line-height: 1.58;
  font-weight: 500;
}

.menu-link-wrap {
  padding: 38px 0 0;
  text-align: center;
}

.menu-link {
  color: #9bc8db;
  font-size: 16px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.menu-link:hover {
  color: var(--blue-dark);
}


/* =========================================================
   GALLERIA + CONTATTI
   ========================================================= */

.location-section {
  padding: 78px 0 84px;
  background: #ffffff;
}

.location-grid {
  width: min(var(--wide-container), calc(100% - 80px));

  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 118px;
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 36px;
}

.gallery-grid img {
  width: 100%;
  height: 242px;
  object-fit: cover;
  border-radius: 11px;
}

.contact-card {
  padding-top: 16px;
}

.contact-card .eyebrow {
  margin-bottom: 14px;
  letter-spacing: 7px;
}

.contact-card h2 {
  margin-bottom: 30px;
  font-size: 50px;
  line-height: 1;
}

.contact-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 31px;
}

.contact-icon {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #9bc8db;
  background: #edf7fa;
  border-radius: 50%;

  font-size: 18px;
}

.contact-item h4 {
  margin-bottom: 4px;
  color: #29303a;
  font-size: 15px;
  font-weight: 800;
}

.contact-item p {
  color: #687486;
  font-size: 14px;
  line-height: 1.52;
  font-weight: 500;
}

.hidden-anchor {
  height: 1px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: #1f242c;
  color: #d9e1e7;
  padding: 58px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.25fr 1fr;
  gap: 84px;
}

.footer-brand h3 {
  margin-bottom: 16px;

  font-family: var(--serif);
  color: #ffffff;
  font-size: 24px;
}

.footer-brand p,
.footer-hours,
.footer-contact-list li,
.site-footer a {
  color: #aeb9c3;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 500;
}

.site-footer h4 {
  margin-bottom: 18px;

  color: #9bc8db;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 7px;
}

.site-footer a {
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  width: 32px;
  height: 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;

  font-size: 14px;
  font-weight: 800;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: #83909b;
  font-size: 11px;
}


/* =========================================================
   RESPONSIVE - DESKTOP MEDIO
   ========================================================= */

@media (max-width: 1180px) {
  .header-inner,
  .hero-content,
  .location-grid,
  .container {
    width: calc(100% - 56px);
  }

  .header-inner {
    gap: 22px;
  }

  .main-nav {
    gap: 18px;
    font-size: 11px;
  }

  .header-cta {
    min-width: 104px;
    padding: 0 18px;
  }

  .hero-content {
    padding-left: 70px;
  }

  .story-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 76px;
  }

  .story-copy {
    padding-left: 20px;
  }

  .story-image-wrap,
  .story-image {
    width: 390px;
  }

  .story-image {
    height: 500px;
  }

  .location-grid {
    gap: 76px;
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .footer-grid {
    gap: 48px;
  }
}


/* =========================================================
   RESPONSIVE - TABLET / MENU MOBILE
   ========================================================= */

@media (max-width: 980px) {
  .container,
  .header-inner,
  .hero-content,
  .location-grid {
    width: calc(100% - 48px);
  }

  .site-header,
  .header-inner {
    height: var(--header-height);
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;

    padding: 14px 28px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e8eef2;
    box-shadow: 0 14px 30px rgba(25, 35, 45, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a,
  .main-nav a.active {
    width: 100%;
    padding: 13px 0;

    color: #2b3440;
    background: transparent;
    border-radius: 0;

    font-size: 13px;
  }

  .main-nav a:hover {
    color: var(--blue-dark);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-left: 0;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(52px, 8vw, 72px);
  }

  .story-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-copy {
    padding-left: 0;
  }

  .story-copy p:not(.eyebrow) {
    max-width: 720px;
  }

  .story-image-wrap,
  .story-image {
    width: 100%;
  }

  .story-image {
    height: 520px;
  }

  .dishes-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .dish-card img {
    height: 240px;
  }

  .gallery-grid img {
    height: 260px;
  }

  .contact-card {
    max-width: 460px;
  }

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


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 740px) {
  .container,
  .header-inner,
  .hero-content,
  .location-grid {
    width: calc(100% - 32px);
  }

  .logo-main {
    font-size: 25px;
  }

  .logo-sub {
    display: none;
  }

  .hero {
    min-height: 520px;
    background-position: center;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: -1.2px;
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 3.4px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
  }

  .btn {
    width: auto;
    min-width: 220px;
    height: 46px;
    padding: 0 28px;
  }

  .story-section,
  .specials-section,
  .location-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .story-copy h2,
  .specials-section h2,
  .contact-card h2 {
    font-size: 39px;
  }

  .story-copy p:not(.eyebrow),
  .contact-item p,
  .dish-card p {
    font-size: 13px;
  }

  .story-image {
    height: 430px;
  }

  .quality-badge {
    left: 16px;
    bottom: 16px;
  }

  .dishes-grid {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .dish-card img {
    height: 270px;
  }

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

  .gallery-grid img {
    height: 270px;
  }

  .contact-item {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-bottom {
    margin-top: 36px;
  }
}


/* =========================================================
   RESPONSIVE - MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {
  .container,
  .header-inner,
  .hero-content,
  .location-grid {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
  }

  .story-copy h2,
  .specials-section h2,
  .contact-card h2 {
    font-size: 34px;
  }

  .story-image {
    height: 360px;
  }

  .dish-card img,
  .gallery-grid img {
    height: 235px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .menu-link {
    font-size: 14px;
  }
}


/* =========================================================
   PAGINA CONTATTI
   ========================================================= */

.page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  background: url("../img/hero_contatti.jpg") center center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.46) 0%,
    rgba(0, 0, 0, 0.26) 52%,
    rgba(0, 0, 0, 0.16) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wide-container), calc(100% - 80px));
  margin: 0 auto;
  padding-left: 126px;
}

.page-hero-content h1 {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(56px, 5vw, 82px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.page-hero-text {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
}

.contacts-main-section {
  padding: 82px 0 76px;
  background: #ffffff;
}

.contacts-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 110px;
  align-items: start;
}

.contacts-copy {
  padding-left: 82px;
}

.contacts-copy h2 {
  margin-bottom: 28px;
  font-family: var(--serif);
  color: var(--title);
  font-size: 48px;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -1px;
}

.contacts-copy h2 span {
  display: inline-block;
  color: #94c0d2;
}

.contacts-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 26px;
  color: #617083;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 500;
}

.contacts-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn-light {
  color: #29303a;
  background: #edf7fa;
}

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

.contact-card-large {
  padding: 36px 34px 30px;
  background: #f4f8f9;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(31, 36, 44, 0.06);
}

.contact-card-large h2 {
  font-size: 44px;
}

.map-section {
  padding: 0 0 82px;
  background: #ffffff;
}

.map-card {
  overflow: hidden;
  background: #f4f8f9;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(31, 36, 44, 0.07);
}

.map-info {
  padding: 34px 38px 28px;
}

.map-info h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  color: var(--title);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
}

.map-info p:not(.eyebrow) {
  color: #687486;
  font-size: 15px;
  font-weight: 500;
}

.map-embed iframe {
  display: block;
  width: 100%;
}

.contact-cta-section {
  padding: 72px 0 78px;
  background: #f4f8f9;
  text-align: center;
}

.contact-cta-box {
  max-width: 760px;
}

.contact-cta-box h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  color: var(--title);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
}

.contact-cta-box p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 30px;
  color: #687486;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}


/* =========================================================
   RESPONSIVE PAGINA CONTATTI
   ========================================================= */

@media (max-width: 1180px) {
  .page-hero-content {
    width: calc(100% - 56px);
    padding-left: 70px;
  }

  .contacts-main-grid {
    gap: 70px;
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .contacts-copy {
    padding-left: 20px;
  }
}

@media (max-width: 980px) {
  .page-hero-content {
    width: calc(100% - 48px);
    padding-left: 0;
  }

  .contacts-main-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contacts-copy {
    padding-left: 0;
  }

  .contact-card-large {
    max-width: 520px;
  }
}

@media (max-width: 740px) {
  .page-hero {
    min-height: 390px;
  }

  .page-hero-content {
    width: calc(100% - 32px);
  }

  .page-hero-content h1 {
    font-size: 44px;
    letter-spacing: -1.2px;
  }

  .page-hero-text {
    font-size: 14px;
  }

  .contacts-main-section {
    padding: 54px 0 52px;
  }

  .contacts-copy h2,
  .contact-cta-box h2 {
    font-size: 38px;
  }

  .contact-card-large {
    padding: 30px 24px 24px;
  }

  .contact-card-large h2 {
    font-size: 38px;
  }

  .map-section {
    padding-bottom: 54px;
  }

  .map-info {
    padding: 28px 24px 24px;
  }

  .map-info h2 {
    font-size: 36px;
  }

  .map-embed iframe {
    height: 340px;
  }

  .contact-cta-section {
    padding: 54px 0 58px;
  }
}

@media (max-width: 480px) {
  .page-hero-content {
    width: calc(100% - 28px);
  }

  .page-hero-content h1 {
    font-size: 38px;
  }

  .contacts-copy h2,
  .contact-cta-box h2,
  .contact-card-large h2 {
    font-size: 33px;
  }

  .contacts-actions {
    flex-direction: column;
  }

  .contacts-actions .btn {
    width: 100%;
  }

  .map-embed iframe {
    height: 300px;
  }
}


/* =========================================================
   PAGINA PRENOTAZIONI
   ========================================================= */

.reservation-section {
  padding: 92px 0 96px;
  background: #ffffff;
}

.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 94px;
  align-items: start;
}

.reservation-left {
  padding-left: 82px;
}

.reservation-left h1 {
  margin-bottom: 26px;
  font-family: var(--serif);
  color: var(--title);
  font-size: clamp(54px, 5vw, 78px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -1.8px;
}

.reservation-left h1 span {
  color: #94c0d2;
}

.reservation-intro {
  max-width: 520px;
  margin-bottom: 38px;
  color: #617083;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 500;
}

.reservation-image-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(31, 36, 44, 0.08);
}

.reservation-image-wrap img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.reservation-form-card {
  padding: 42px 38px 36px;
  background: #f4f8f9;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(31, 36, 44, 0.07);
}

.reservation-form {
  width: 100%;
}

.form-row {
  margin-bottom: 20px;
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #29303a;
  font-size: 13px;
  font-weight: 800;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid #dce8ee;
  border-radius: 10px;
  outline: none;
  background: #ffffff;
  color: #29303a;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 128px;
  line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #9bc8db;
  box-shadow: 0 0 0 4px rgba(155, 200, 219, 0.22);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa6b2;
}

.reservation-submit {
  width: 100%;
  margin-top: 6px;
  border: 0;
  cursor: pointer;
}

.reservation-note {
  margin-top: 22px;
  color: #687486;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
  text-align: center;
}

.reservation-note a {
  color: #87b8cc;
  font-weight: 800;
}

.reservation-note a:hover {
  color: #29303a;
}


/* =========================================================
   RESPONSIVE PAGINA PRENOTAZIONI
   ========================================================= */

@media (max-width: 1180px) {
  .reservation-grid {
    gap: 62px;
    grid-template-columns: minmax(0, 1fr) 480px;
  }

  .reservation-left {
    padding-left: 20px;
  }
}

@media (max-width: 980px) {
  .reservation-section {
    padding: 72px 0 76px;
  }

  .reservation-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .reservation-left {
    padding-left: 0;
  }

  .reservation-image-wrap {
    max-width: 100%;
  }

  .reservation-image-wrap img {
    height: 420px;
  }

  .reservation-form-card {
    max-width: 680px;
  }
}

@media (max-width: 740px) {
  .reservation-section {
    padding: 54px 0 58px;
  }

  .reservation-left h1 {
    font-size: 44px;
    letter-spacing: -1.2px;
  }

  .reservation-intro {
    font-size: 14px;
  }

  .reservation-image-wrap img {
    height: 300px;
  }

  .reservation-form-card {
    padding: 30px 24px 26px;
  }

  .form-row.two-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .reservation-left h1 {
    font-size: 38px;
  }

  .reservation-image-wrap img {
    height: 240px;
  }

  .reservation-form-card {
    padding: 26px 18px 24px;
  }
}


/* =========================================================
   PAGINA CHI SIAMO
   ========================================================= */

.about-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: url("../img/chi_siamo_hero.jpg") center center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.28) 50%,
    rgba(0, 0, 0, 0.16) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wide-container), calc(100% - 80px));
  margin: 0 auto;
  padding-left: 126px;
}

.about-hero-content h1 {
  max-width: 780px;
  font-family: var(--serif);
  font-size: clamp(58px, 5.4vw, 88px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -2.1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.about-hero-content p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
}

.about-intro-section {
  padding: 86px 0 86px;
  background: #ffffff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 118px;
  align-items: center;
}

.about-intro-copy {
  padding-left: 82px;
}

.about-intro-copy h2,
.about-philosophy-copy h2,
.about-values-section h2,
.about-cta-box h2 {
  font-family: var(--serif);
  color: var(--title);
  font-weight: 700;
  letter-spacing: -1px;
}

.about-intro-copy h2,
.about-philosophy-copy h2 {
  margin-bottom: 28px;
  font-size: 48px;
  line-height: 0.98;
}

.about-intro-copy h2 span,
.about-philosophy-copy h2 span {
  display: inline-block;
  color: #94c0d2;
}

.about-intro-copy p:not(.eyebrow),
.about-philosophy-copy p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 22px;
  color: #617083;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 500;
}

.about-intro-image {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(31, 36, 44, 0.08);
}

.about-intro-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.about-quote-section {
  padding: 78px 0 82px;
  background: #f4f8f9;
}

.about-quote-box {
  max-width: 920px;
  text-align: center;
}

.about-quote-mark {
  height: 54px;
  color: #9bc8db;
  font-family: var(--serif);
  font-size: 88px;
  line-height: 0.8;
}

.about-quote-box blockquote {
  margin: 0;
  color: #242936;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -1px;
}

.about-quote-author {
  margin-top: 24px;
  color: #87b8cc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.about-philosophy-section {
  padding: 88px 0 88px;
  background: #ffffff;
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: 470px minmax(0, 1fr);
  gap: 118px;
  align-items: center;
}

.about-philosophy-image {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(31, 36, 44, 0.08);
}

.about-philosophy-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.about-values-section {
  padding: 68px 0 82px;
  background: #f4f8f9;
}

.about-values-section h2 {
  font-size: 48px;
  line-height: 1;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 46px;
}

.about-value-card {
  padding: 34px 30px 32px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(31, 36, 44, 0.06);
}

.about-value-card span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #9bc8db;
  background: #edf7fa;
  border-radius: 50%;
  font-size: 20px;
}

.about-value-card h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  color: #222833;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.about-value-card p {
  color: #687486;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.about-cta-section {
  padding: 78px 0 84px;
  background: #ffffff;
  text-align: center;
}

.about-cta-box {
  max-width: 760px;
}

.about-cta-box h2 {
  margin-bottom: 16px;
  font-size: 48px;
  line-height: 1;
}

.about-cta-box p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 30px;
  color: #687486;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}


/* =========================================================
   RESPONSIVE PAGINA CHI SIAMO
   ========================================================= */

@media (max-width: 1180px) {
  .about-hero-content {
    width: calc(100% - 56px);
    padding-left: 70px;
  }

  .about-intro-grid,
  .about-philosophy-grid {
    gap: 76px;
  }

  .about-intro-copy {
    padding-left: 20px;
  }

  .about-intro-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
  }

  .about-philosophy-grid {
    grid-template-columns: 420px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .about-hero-content {
    width: calc(100% - 48px);
    padding-left: 0;
  }

  .about-intro-grid,
  .about-philosophy-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .about-intro-copy {
    padding-left: 0;
  }

  .about-philosophy-image {
    order: 2;
  }

  .about-philosophy-copy {
    order: 1;
  }

  .about-intro-image img,
  .about-philosophy-image img {
    height: 460px;
  }
}

@media (max-width: 740px) {
  .about-hero {
    min-height: 430px;
  }

  .about-hero-content {
    width: calc(100% - 32px);
  }

  .about-hero-content h1 {
    font-size: 44px;
    letter-spacing: -1.2px;
  }

  .about-hero-content p:not(.eyebrow) {
    font-size: 14px;
  }

  .about-intro-section,
  .about-philosophy-section {
    padding: 54px 0 56px;
  }

  .about-quote-section {
    padding: 56px 0 60px;
  }

  .about-intro-copy h2,
  .about-philosophy-copy h2,
  .about-values-section h2,
  .about-cta-box h2 {
    font-size: 38px;
  }

  .about-intro-copy p:not(.eyebrow),
  .about-philosophy-copy p:not(.eyebrow),
  .about-cta-box p:not(.eyebrow) {
    font-size: 14px;
  }

  .about-intro-image img,
  .about-philosophy-image img {
    height: 330px;
  }

  .about-values-section {
    padding: 54px 0 58px;
  }

  .about-values-grid {
    padding-top: 34px;
  }

  .about-value-card {
    padding: 30px 24px 28px;
  }

  .about-cta-section {
    padding: 56px 0 60px;
  }
}

@media (max-width: 480px) {
  .about-hero-content {
    width: calc(100% - 28px);
  }

  .about-hero-content h1 {
    font-size: 38px;
  }

  .about-intro-copy h2,
  .about-philosophy-copy h2,
  .about-values-section h2,
  .about-cta-box h2 {
    font-size: 33px;
  }

  .about-intro-image img,
  .about-philosophy-image img {
    height: 260px;
  }

  .about-quote-box blockquote {
    font-size: 30px;
  }
}


/* =========================================================
   PAGINA RECENSIONI
   ========================================================= */

.reviews-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: url("../img/recensioni_hero.jpg") center center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.reviews-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.28) 50%,
    rgba(0, 0, 0, 0.16) 100%
  );
}

.reviews-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wide-container), calc(100% - 80px));
  margin: 0 auto;
  padding-left: 126px;
}

.reviews-hero-content h1 {
  max-width: 780px;
  font-family: var(--serif);
  font-size: clamp(58px, 5.4vw, 88px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -2.1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.reviews-hero-content p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
}

.reviews-section {
  padding: 76px 0 82px;
  background: #ffffff;
}

.reviews-section h2,
.external-reviews-copy h2,
.leave-review-copy h2 {
  font-family: var(--serif);
  color: var(--title);
  font-weight: 700;
  letter-spacing: -1px;
}

.reviews-section h2 {
  font-size: 48px;
  line-height: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 46px;
}

.review-card {
  padding: 34px 30px 32px;
  background: #f4f8f9;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(31, 36, 44, 0.06);
}

.review-stars {
  margin-bottom: 18px;
  color: #9bc8db;
  font-size: 19px;
  letter-spacing: 2px;
}

.review-text {
  min-height: 122px;
  color: #617083;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.review-author {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(135, 184, 204, 0.28);
}

.review-author strong {
  display: block;
  color: #242936;
  font-size: 15px;
  font-weight: 800;
}

.review-author span {
  display: block;
  margin-top: 3px;
  color: #8a96a3;
  font-size: 12px;
  font-weight: 700;
}

.external-reviews-section {
  padding: 72px 0 76px;
  background: #f4f8f9;
}

.external-reviews-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.external-reviews-copy h2 {
  margin-bottom: 16px;
  font-size: 46px;
  line-height: 1;
}

.external-reviews-copy p:not(.eyebrow) {
  max-width: 620px;
  color: #617083;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.external-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.leave-review-section {
  padding: 86px 0 92px;
  background: #ffffff;
}

.leave-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 94px;
  align-items: start;
}

.leave-review-copy {
  padding-left: 82px;
}

.leave-review-copy h2 {
  margin-bottom: 28px;
  font-size: 52px;
  line-height: 0.98;
}

.leave-review-copy h2 span {
  color: #94c0d2;
}

.leave-review-copy p:not(.eyebrow) {
  max-width: 540px;
  color: #617083;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 500;
}

.leave-review-form-card {
  padding: 42px 38px 36px;
  background: #f4f8f9;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(31, 36, 44, 0.07);
}

.form-group select {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid #dce8ee;
  border-radius: 10px;
  outline: none;
  background: #ffffff;
  color: #29303a;
  font-size: 14px;
  font-weight: 500;
}

.form-group select:focus {
  border-color: #9bc8db;
  box-shadow: 0 0 0 4px rgba(155, 200, 219, 0.22);
}

.review-privacy {
  margin: 4px 0 22px;
}

.review-privacy label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #687486;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}

.review-privacy input {
  margin-top: 2px;
}

.review-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.review-form-note {
  margin-top: 18px;
  color: #687486;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  text-align: center;
}


/* =========================================================
   RESPONSIVE PAGINA RECENSIONI
   ========================================================= */

@media (max-width: 1180px) {
  .reviews-hero-content {
    width: calc(100% - 56px);
    padding-left: 70px;
  }

  .leave-review-grid {
    gap: 62px;
    grid-template-columns: minmax(0, 1fr) 500px;
  }

  .leave-review-copy {
    padding-left: 20px;
  }
}

@media (max-width: 980px) {
  .reviews-hero-content {
    width: calc(100% - 48px);
    padding-left: 0;
  }

  .reviews-grid,
  .external-reviews-box,
  .leave-review-grid {
    grid-template-columns: 1fr;
  }

  .external-reviews-actions {
    justify-content: flex-start;
  }

  .leave-review-copy {
    padding-left: 0;
  }

  .leave-review-form-card {
    max-width: 680px;
  }
}

@media (max-width: 740px) {
  .reviews-hero {
    min-height: 410px;
  }

  .reviews-hero-content {
    width: calc(100% - 32px);
  }

  .reviews-hero-content h1 {
    font-size: 44px;
    letter-spacing: -1.2px;
  }

  .reviews-hero-content p:not(.eyebrow) {
    font-size: 14px;
  }

  .reviews-section,
  .external-reviews-section,
  .leave-review-section {
    padding: 54px 0 58px;
  }

  .reviews-section h2,
  .external-reviews-copy h2,
  .leave-review-copy h2 {
    font-size: 38px;
  }

  .reviews-grid {
    padding-top: 34px;
  }

  .review-card {
    padding: 30px 24px 28px;
  }

  .review-text {
    min-height: auto;
    font-size: 14px;
  }

  .leave-review-form-card {
    padding: 30px 24px 26px;
  }

  .external-reviews-actions {
    flex-direction: column;
  }

  .external-reviews-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .reviews-hero-content {
    width: calc(100% - 28px);
  }

  .reviews-hero-content h1 {
    font-size: 38px;
  }

  .reviews-section h2,
  .external-reviews-copy h2,
  .leave-review-copy h2 {
    font-size: 33px;
  }

  .leave-review-form-card {
    padding: 26px 18px 24px;
  }
}