/* ============================================================
   Buglioni di Monale — Studio Legale
   Stylesheet principale
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --navy:         #1A2238;
  --navy-mid:     #243058;
  --gold:         #B8966E;
  --gold-light:   #C9A87E;
  --cream:        #FAF8F4;
  --warm:         #F0EBE3;
  --text:         #1C1C1C;
  --text-muted:   #706B65;
  --border:       #E0D8CE;
  --white:        #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;

  --max-w: 1200px;
  --pad: 1.25rem;
  --nav-h: 78px;
  --ease: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   Typography
   ============================================================ */
h1,h2,h3,h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.18;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.05rem; }
p  { font-size: 1rem; line-height: 1.82; }
.lead {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
}
.label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
@media (min-width: 640px)  { :root { --pad: 1.75rem; } }
@media (min-width: 1024px) { :root { --pad: 2.5rem; }  }

.section        { padding: var(--space-12) 0; }
.section--light { background: var(--warm); }
.section--dark  { background: var(--navy); }
.page-top       { padding-top: var(--nav-h); }

.grid-2 { display: grid; gap: var(--space-6); }
.grid-3 { display: grid; gap: var(--space-4); }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px)  { .grid-2 { grid-template-columns: 1fr 1fr; }
                              .grid-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }

.section-header { margin-bottom: var(--space-8); }
.section-header p { max-width: 600px; margin-top: var(--space-2); color: var(--text-muted); }
.text-center   { text-align: center; }
.text-center .label { justify-content: center; }
.text-center .label::before { display: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline-white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(26,34,56,0.08); }
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.nav__logo img,
.nav__logo svg { height: 75px; width: auto; transform: scale(1.15); transform-origin: left center; }
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-4);
}
.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__cta { display: none; }
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) var(--pad);
  z-index: 899;
  box-shadow: 0 8px 24px rgba(26,34,56,0.08);
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.nav__mobile a:last-of-type { border-bottom: none; }
.nav__mobile .btn { display: block; text-align: center; margin-top: var(--space-3); }
.nav__mobile .btn-primary { color: var(--white); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta   { display: flex; }
  .nav__burger{ display: none; }
}

/* ============================================================
   Hero — Home
   ============================================================ */
.hero {
  display: grid;
  align-items: start;
  padding: var(--space-3) 0 var(--space-8); /* mobile: spazio ridotto sopra */
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: var(--space-3); /* mobile: gap stretto tra le 3 aree */
}
.hero__eyebrow { margin-bottom: var(--space-2); }
.hero__title   { margin-bottom: var(--space-3); }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__subtitle { color: var(--text-muted); margin-bottom: var(--space-4); }
.hero__actions  { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero__frame {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}
.hero__frame::before {
  content: '';
  position: absolute;
  top: -18px; right: -18px;
  width: 55%; height: 55%;
  border: 1.5px solid var(--gold);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 48px rgba(26,34,56,0.18);
}

@media (min-width: 768px) {
  .hero {
    min-height: calc(100vh - var(--nav-h));
    padding: var(--space-12) 0;
    align-items: center;
  }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12); align-items: center; }
  .hero__frame { margin: 0; }
  .hero__subtitle { max-width: 100%; }
}

/* ============================================================
   Ottimizzazioni mobile globali
   ============================================================ */
@media (max-width: 767px) {
  .section       { padding: var(--space-8) 0; }
  .section-header { margin-bottom: var(--space-6); }
  .stats-band    { padding: var(--space-6) 0; }
  .studio-band   { height: 320px; }
  .cta-section   { padding: var(--space-6) 0 var(--space-4); }
  .pro-bono      { padding: var(--space-6); }
  .page-hero     { padding: calc(var(--nav-h) + var(--space-8)) 0 var(--space-8); }
  .area-full__num { font-size: 2rem; }
  .area-full__header { padding-right: 2rem; }
}

/* ============================================================
   Stats Band
   ============================================================ */
.stats-band { background: var(--navy); padding: var(--space-8) 0; }
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
}
.stat { padding: var(--space-3); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.08); }
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem,4vw,2.8rem);
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   Studio intro section
   ============================================================ */
.studio-intro__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.studio-intro__text h2 { margin-bottom: var(--space-3); }
.studio-intro__text p  { color: var(--text-muted); margin-bottom: var(--space-3); }
.studio-intro__text .lead { margin-bottom: var(--space-4); }
.studio-intro__image {
  position: relative;
}
.studio-intro__image::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  width: 55%; height: 55%;
  border: 1.5px solid var(--gold);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.studio-intro__image img {
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(26,34,56,0.28), 0 6px 18px rgba(26,34,56,0.14);
}

@media (min-width: 768px) {
  .studio-intro__inner { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
}

/* ============================================================
   Studio photo band
   ============================================================ */
.studio-band {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.studio-band__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.studio-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26,34,56,0.97) 0%, rgba(26,34,56,0.75) 55%, rgba(26,34,56,0.2) 100%);
  display: flex;
  align-items: center;
}
.studio-band__content { color: var(--white); max-width: 460px; }
.studio-band__content .label { color: var(--gold-light); margin-bottom: var(--space-2); }
.studio-band__content .label::before { display: none; }
.studio-band__content h2 { color: var(--white); margin-bottom: var(--space-2); }
.studio-band__content p  { color: rgba(255,255,255,0.92); margin-bottom: var(--space-4); }

@media (min-width: 768px) { .studio-band { height: 520px; } }

/* ============================================================
   Practice areas preview
   ============================================================ */
.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-4);
  position: relative;
  transition: box-shadow var(--ease), transform var(--ease);
  overflow: hidden;
}
.area-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.area-card:hover { box-shadow: 0 8px 32px rgba(26,34,56,0.09); transform: translateY(-2px); }
.area-card:hover::after { transform: scaleX(1); }
.area-card__icon { color: var(--gold); margin-bottom: var(--space-2); width: 36px; height: 36px; }
.area-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.area-card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   Why us
   ============================================================ */
.why-card {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--white);
  border-left: 3px solid var(--gold);
}
.why-card__icon { flex-shrink: 0; width: 36px; height: 36px; color: var(--gold); margin-top: 2px; }
.why-card__title { font-family: var(--font-serif); font-size: 1rem; color: var(--navy); margin-bottom: 0.4rem; }
.why-card__desc  { font-size: 0.875rem; color: var(--text-muted); }

/* ============================================================
   CTA section
   ============================================================ */
.cta-section {
  background: var(--navy);
  padding: var(--space-8) 0 var(--space-6);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: var(--space-2); }
.cta-section p  { color: rgba(255,255,255,0.65); max-width: 460px; margin: 0 auto var(--space-6); }
.cta-section__btns { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + var(--space-12)) 0 var(--space-12);
}
.page-hero h1 { color: var(--white); margin-top: var(--space-2); }
.page-hero .lead { color: rgba(255,255,255,0.7); max-width: 580px; margin-top: var(--space-3); }

/* ============================================================
   Chi Sono — profile
   ============================================================ */
/* Cornici geometriche foto chi-sono e contatti */
.profile__img-col {
  position: relative;
}
.profile__img-col::before {
  content: '';
  position: absolute;
  bottom: -18px; right: -18px;
  width: 55%; height: 55%;
  border: 1.5px solid var(--gold);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.approach__img-col {
  position: relative;
}
.approach__img-col::before {
  content: '';
  position: absolute;
  bottom: -18px; left: -18px;
  width: 55%; height: 55%;
  border: 1.5px solid var(--gold);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.studio-photo-wrap {
  position: relative;
}
.studio-photo-wrap::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  width: 40%; height: 60%;
  border: 1.5px solid var(--gold);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.studio-photo-wrap img {
  position: relative;
  z-index: 1;
}

.profile__inner {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}
.profile__photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 48px rgba(26,34,56,0.18);
  position: relative;
  z-index: 1;
}
.profile__text h2 { margin-bottom: var(--space-3); }
.profile__text p  { color: var(--text-muted); margin-bottom: var(--space-3); }
.profile__text .lead { color: var(--text-muted); margin-bottom: var(--space-4); }

.profile-detail {
  display: flex;
  gap: var(--space-2);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.profile-detail:first-child { border-top: 1px solid var(--border); }
.profile-detail strong { color: var(--navy); min-width: 160px; font-weight: 500; flex-shrink: 0; }
.profile-detail span   { color: var(--text-muted); }

@media (min-width: 768px) {
  .profile__inner { grid-template-columns: 1fr 1.6fr; gap: var(--space-12); }
}

/* Chi Sono — approach */
.approach__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.approach__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 20px 60px rgba(26,34,56,0.28), 0 6px 18px rgba(26,34,56,0.14);
  position: relative;
  z-index: 1;
}
.approach__text h2 { margin-bottom: var(--space-3); }
.approach__text p  { color: var(--text-muted); margin-bottom: var(--space-3); }

@media (min-width: 768px) {
  .approach__inner { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-12); }
  .approach__photo { order: 2; }
  .approach__text  { order: 1; }
}

/* Pro bono box */
.pro-bono {
  background: var(--navy);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}
.pro-bono::before {
  content: '\201C';
  position: absolute;
  top: -30px; left: 12px;
  font-family: var(--font-serif);
  font-size: 13rem;
  color: rgba(184,150,110,0.12);
  line-height: 1;
  pointer-events: none;
}
.pro-bono__label { color: var(--gold-light); margin-bottom: var(--space-2); }
.pro-bono h3 { color: var(--white); margin-bottom: var(--space-2); }
.pro-bono p  { color: rgba(255,255,255,0.75); margin-bottom: var(--space-3); }
.pro-bono a  { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Aree di Attività
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) { .areas-grid { grid-template-columns: repeat(2,1fr); } }

.area-full {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-6);
  transition: box-shadow var(--ease);
  position: relative;
}
.area-full:hover { box-shadow: 0 8px 32px rgba(26,34,56,0.07); }
.area-full__num {
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--border);
  font-weight: 700;
  line-height: 1;
  user-select: none;
}
.area-full__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding-right: 3.5rem;
}
.area-full__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.area-full__icon svg { width: 24px; height: 24px; }
.area-full h3 { font-size: 1.1rem; color: var(--navy); }
.area-full p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.78; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-layout {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.4fr 0.85fr; } }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-6);
}
.contact-form-wrap h2 { margin-bottom: var(--space-4); }

.form-group { margin-bottom: var(--space-3); }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 479px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--ease), background var(--ease);
  border-radius: 0;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}
input.err, select.err, textarea.err { border-color: #c0392b; }
textarea { resize: vertical; min-height: 130px; }
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231C1C1C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.check-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.check-group input[type="checkbox"] {
  width: 18px; min-width: 18px; height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
  cursor: pointer;
}
.check-group label {
  text-transform: none; letter-spacing: 0;
  font-weight: 400; font-size: 0.85rem;
  color: var(--text-muted);
}
.check-group label a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.field-error { color: #c0392b; font-size: 0.78rem; margin-top: 0.25rem; display: none; }
.form-success {
  background: #edf7f1; border: 1px solid #a8d5bc;
  color: #2a7a4e; padding: var(--space-3) var(--space-4);
  margin-top: var(--space-3); display: none; font-size: 0.9rem;
}

.contact-info h3 {
  font-size: 1.2rem;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-3);
}
.contact-detail {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  align-items: flex-start;
}
.contact-detail svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--gold); margin-top: 3px; }
.contact-detail a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.contact-detail span { color: var(--text-muted); }

.hours-box {
  background: var(--warm);
  border: 1px solid var(--border);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-4);
}
.hours-box h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.hours-box p  { font-size: 0.85rem; color: var(--text-muted); }

.map-wrap { margin-top: var(--space-4); }
.map-wrap iframe { width: 100%; height: 300px; border: none; display: block; }

.pro-bono-cta {
  background: var(--warm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: var(--space-4);
  margin-top: var(--space-4);
}
.pro-bono-cta h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.pro-bono-cta p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-2); }
.pro-bono-cta a  { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

.studio-photos { margin-top: var(--space-8); }
.studio-photos h3 { margin-bottom: var(--space-3); }

/* Studio carousel */
.studio-carousel {
  position: relative;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 12px 48px rgba(26,34,56,0.18);
}
.studio-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.studio-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.studio-carousel__slide.active { opacity: 1; }
.studio-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.studio-carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.studio-carousel__dot.active { background: var(--white); }

@media (max-width: 767px) {
  .studio-carousel { height: 280px; }
}

/* ============================================================
   Policy pages
   ============================================================ */
.policy-body { max-width: 800px; }
.policy-body h2 {
  font-size: 1.4rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.policy-body h3 { font-size: 1.05rem; margin-top: var(--space-4); margin-bottom: var(--space-1); }
.policy-body p,
.policy-body li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--space-2); line-height: 1.8; }
.policy-body ul  { padding-left: var(--space-4); margin-bottom: var(--space-3); }
.policy-body ul li { list-style: disc; }
.policy-body a   { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.policy-box {
  background: var(--warm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  padding: var(--space-4);
  margin: var(--space-4) 0;
}
.policy-box p { margin-bottom: 0.3rem; }
.policy-box p:last-child { margin-bottom: 0; }
.policy-box strong { color: var(--navy); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: var(--space-4) 0 var(--space-6);
}
.footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,150,110,0.5) 20%, rgba(184,150,110,0.5) 80%, transparent);
  margin-bottom: var(--space-6);
}
.footer__grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer__logo { margin-bottom: var(--space-3); }
.footer__logo img,
.footer__logo svg { height: 57px; width: auto; }
.footer__tagline { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.65; }
.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color var(--ease); }
.footer__links a:hover { color: var(--gold); }
.footer__legal { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.9; }
.footer__legal strong { color: rgba(255,255,255,0.75); font-weight: 500; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  align-items: center;
}
.footer__copy { font-size: 0.76rem; color: rgba(255,255,255,0.35); }
.footer__policy-links { display: flex; gap: var(--space-3); }
.footer__policy-links a { font-size: 0.76rem; color: rgba(255,255,255,0.35); transition: color var(--ease); }
.footer__policy-links a:hover { color: var(--gold); }

/* ============================================================
   Cookie Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: var(--space-4);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text { flex: 1; min-width: 220px; font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.65; }
.cookie-banner__text strong { color: var(--white); }
.cookie-banner__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__btns { display: flex; flex-wrap: wrap; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.65rem 1.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--ease);
  border: 1.5px solid;
}
.cookie-btn-accept { background: var(--gold); color: var(--white); border-color: var(--gold); }
.cookie-btn-accept:hover { background: var(--gold-light); border-color: var(--gold-light); }
.cookie-btn-minimal { background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.25); }
.cookie-btn-minimal:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }

/* ============================================================
   Placeholder images
   ============================================================ */
.img-placeholder {
  background: var(--warm);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: var(--space-4);
  min-height: 200px;
}

/* ============================================================
   Misc utilities
   ============================================================ */
hr.divider { border: none; border-top: 1px solid var(--border); margin: var(--space-6) 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.text-gold { color: var(--gold); }
.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; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease forwards; }

/* ============================================================
   Print
   ============================================================ */
@media print {
  .nav, .cookie-banner, .footer__bottom { display: none; }
  .page-top { padding-top: 0; }
}
