/* ==========================================================================
   Luca Giunta Immobiliare — base (token, font, reset)
   Font self-hosted: nessuna richiesta a server di terzi.
   ========================================================================== */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url(../assets/fonts/cormorant-garamond-latin-400-italic.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(../assets/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(../assets/fonts/manrope-latin-wght-normal.woff2) format('woff2')}

:root{
  /* Colori dal logo */
  --navy:#0a2856;
  --navy-900:#061a3d;
  --navy-700:#123a75;
  --navy-500:#3a5f96;
  --orange:#f77601;
  --orange-600:#dc6a00;
  --orange-text:#b85400;      /* arancio per testo piccolo su chiaro (contrasto AA) */
  --orange-100:#fff0e2;

  --ink:#0a2856;
  --text:#26344d;
  --muted:#5c6b85;
  --line:#e2e7f0;
  --paper:#f4f6fa;
  --ivory:#fbf9f5;
  --white:#ffffff;
  --ok:#1f7a4d;
  --danger:#b3261e;

  --font-display:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --font-body:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;

  --r-sm:8px; --r:14px; --r-lg:22px;
  --shadow-sm:0 1px 2px rgba(6,26,61,.06),0 2px 8px rgba(6,26,61,.05);
  --shadow:0 10px 30px -10px rgba(6,26,61,.22),0 2px 6px rgba(6,26,61,.06);
  --shadow-lg:0 30px 70px -20px rgba(6,26,61,.45);
  --ease:cubic-bezier(.22,.61,.36,1);
  --gutter:clamp(20px,4vw,56px);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--text);font-family:var(--font-body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:4px}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;background:var(--navy);color:#fff;padding:10px 16px;border-radius:8px;z-index:1000;transition:top .2s}
.skip:focus{top:12px}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
