/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
*/

/* ============================================================
 * DESIGN TOKENS — mirror the approved mockup palette & type
 * ============================================================ */
:root {
  --bordeaux:       #7B2D26;
  --bordeaux-deep:  #5A1F1A;
  --taupe:          #A89685;
  --taupe-soft:     #C9BBAA;
  --ivory:          #F4EDE0;
  --ivory-light:    #FBF7EE;
  --gold:           #B8923F;
  --gold-soft:      #D4B570;
  --charcoal:       #2C2826;
  --charcoal-soft:  #4A4541;

  --bg:             var(--ivory);
  --surface:        var(--ivory-light);
  --surface-2:      #FFFFFF;
  --text:           var(--charcoal);
  --text-muted:     #6B645E;
  --rule:           rgba(44,40,38,0.12);
  --gold-line:      var(--gold);
  --primary:        var(--bordeaux);
  --primary-hover:  var(--bordeaux-deep);
  --accent:         var(--gold);

  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Source Sans 3', 'Lato', system-ui, sans-serif;

  --tracking-wide:  0.22em;
  --tracking-extra: 0.36em;

  --grain-opacity:    0.035;
  --parallax-opacity: 0.06;

  --content-size: 800px;
  --wide-size:    1320px;
}

/* Dark mode — toggled by JavaScript via [data-theme="dark"] on <html>.
 * Default is always light: the prefers-color-scheme media query is intentionally
 * absent so system preference does not auto-activate dark mode.
 *
 * Elementor declares Kit variables on .elementor-kit-5 (which is on <body>),
 * not on :root. Setting variables only on <html> would be overridden by <body>'s
 * direct declaration through CSS custom property inheritance rules.
 * Fix: declare on both html AND body so we beat .elementor-kit-5 (spec 0-1-0)
 * with html[data-theme="dark"] body (spec 0-1-1) at the same DOM node. */
html[data-theme="dark"],
html[data-theme="dark"] body {
  --bg:           #1A1614;
  --surface:      #221D1A;
  --surface-2:    #2A2421;
  --text:         #EFE6D7;
  --text-muted:   #B0A496;
  --rule:         rgba(244,237,224,0.14);
  --gold-line:    var(--gold-soft);
  --primary:      #B84A40;
  --primary-hover:#D86158;
  --accent:       var(--gold-soft);

  /* Override Elementor Kit CSS variables (now wins over :root due to higher specificity) */
  --e-global-color-primary:          #B84A40;
  --e-global-color-secondary:        #C9BBAA;
  --e-global-color-text:             #EFE6D7;
  --e-global-color-accent:           #D4B570;
  --e-global-color-avorio:           #221D1A;
  --e-global-color-avorio_chiaro:    #2A2421;
  --e-global-color-bianco:           #2A2421;
  --e-global-color-carbone:          #EFE6D7;
  --e-global-color-carbone_scuro:    #0F0C0B;
  --e-global-color-testo_muto:       #B0A496;
  --e-global-color-oro_miele:        #D4B570;
  --e-global-color-oro_brunito:      #D4B570;
  --e-global-color-bordeaux_lifted:  #D86158;
  --e-global-color-bordeaux_scuro:   #B84A40;
}

/* ============================================================
 * 0. BASE LAYER & RESET
 *    Reinforce Kit settings on body + harden Elementor wrappers.
 * ============================================================ */
html {
  background-color: var(--bg);
}

body,
.elementor-page,
#page,
.site,
.hfeed {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ensure Hello Elementor's inner page wrappers don't white-out the bg */
.site-main,
.page-content,
#content,
main {
  background-color: transparent;
}

/* Subtle grain texture overlay — matches mockup body::before */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

em, i { font-style: italic; }

.elementor-heading-title em {
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
}

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

/* ============================================================
 * 1. EDITORIAL PHOTO TREATMENT
 * ============================================================ */
.is-editorial-photo img,
.elementor-widget-image.is-editorial-photo img,
.isf-hero .elementor-widget-image img,
.isf-editorial .elementor-widget-image img,
.isf-service-featured .elementor-widget-image img {
  filter: contrast(1.05) saturate(0.85) brightness(1.02);
  transition: filter 0.6s ease, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  width:  100%;
  height: 100%;
  object-fit: cover;
}
.is-editorial-photo:hover img,
.isf-service-featured:hover .elementor-widget-image img {
  filter: contrast(1.10) saturate(0.95) brightness(1.04);
  transform: scale(1.03);
}

/* ============================================================
 * 2. EYEBROW (.isf-eyebrow)
 *    Tracked-caps label with a 30 px gold rule prefix.
 * ============================================================ */
.isf-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--tracking-extra);
  text-transform: uppercase;
  line-height: 1.4;
}
.isf-eyebrow .elementor-heading-title::before {
  content: "";
  flex: 0 0 30px;
  height: 1px;
  background: var(--gold-line);
  display: inline-block;
}
/* Centre-aligned variant */
.isf-eyebrow[data-align="center"] .elementor-heading-title,
.isf-eyebrow .elementor-heading-title.elementor-heading-title-align-center {
  justify-content: center;
}

/* ============================================================
 * 3. PULL QUOTE (.isf-pull-quote)
 * ============================================================ */
.isf-pull-quote .elementor-heading-title {
  border-left: 2px solid var(--gold);
  padding: 18px 0 18px 28px;
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  color: var(--primary);
  text-wrap: pretty;
  margin: 14px 0;
}

/* ============================================================
 * 4. STICKY HEADER (.isf-header)
 * ============================================================ */
.isf-header,
.isf-header.isf-sticky,
.elementor-sticky--active.isf-header {
  z-index: 100;
  border-bottom: 1px solid var(--rule);
  background: rgba(244, 237, 224, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.4s ease, border-color 0.4s ease;
	flex-wrap:nowrap !important;
}

.isf-brand .elementor-heading-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.isf-brand-wordmark {
  border-left: 1px solid var(--rule);
  padding-left: 18px;
}

.isf-nav .elementor-button {
  font-size: 13px !important;
  letter-spacing: 0.18em !important;
  padding: 6px 0 !important;
  position: relative;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
}
.isf-nav .elementor-button::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.isf-nav .elementor-button:hover {
  color: var(--primary) !important;
}
.isf-nav .elementor-button:hover::after { width: 100%; }

/* ============================================================
 * 5. HERO ASYMMETRIC (.isf-hero)
 *    60/40 split. The big "IS" monogram is on the right-side
 *    content panel via .isf-hero-content::before.
 * ============================================================ */
.isf-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  padding: 0 !important;
}
.isf-hero > .e-con-inner {
  max-width: var(--wide-size);
  margin: 0 auto;
  align-items: stretch;
}

/* "IS" monogram on the right content side */
.isf-hero-content > .e-con-inner::before {
  content: "IS";
  position: absolute;
  top: -20px;
  right: -50px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(280px, 42vw, 480px);
  line-height: 1;
  color: var(--primary);
  opacity: var(--parallax-opacity);
  transform: rotate(-12deg);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  animation: isf-parallax 18s ease-in-out infinite alternate;
}
@keyframes isf-parallax {
  from { transform: rotate(-12deg) translateY(0); }
  to   { transform: rotate(-12deg) translateY(-22px); }
}

/* Hero image panel */
.isf-hero-image {
  position: relative;
  overflow: hidden;
}
.isf-hero-image > .e-con-inner {
  height: 100%;
  position: relative;
}

/* Gold corner ornament on the hero image panel */
.isf-hero-image::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 90px;
  height: 90px;
  border-bottom: 1px solid var(--gold-line);
  border-right: 1px solid var(--gold-line);
  pointer-events: none;
  z-index: 2;
}


/* Hero content panel */
.isf-hero-content {
  position: relative;
  background: var(--bg);
}
.isf-hero-content > .e-con-inner {
  position: relative;
}
.isf-hero-content > .e-con-inner > * { position: relative; z-index: 1; }

/* H1 in hero */
.isf-hero .elementor-widget-heading h1.elementor-heading-title,
.isf-hero h1.elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 6px;
}
.isf-hero .elementor-widget-text-editor p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 42ch;
}

/* ============================================================
 * 6. MANIFESTO STRIP (.isf-manifesto)
 *    Italic Playfair centre-text on ivory-light, with thin
 *    gradient gold rules above and below (CSS ::before/::after).
 * ============================================================ */
.isf-manifesto {
  position: relative;
  border-top:    1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.isf-manifesto::before,
.isf-manifesto::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-line) 20%, var(--gold-line) 80%, transparent 100%);
  pointer-events: none;
}
.isf-manifesto::before { top: 30px; }
.isf-manifesto::after  { bottom: 30px; }

.isf-manifesto .elementor-widget-heading {
  max-width: 980px;
  margin: 0 auto;
}
.isf-manifesto .elementor-heading-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

/* ============================================================
 * 7. SERVICES GRID (.isf-services-grid)
 *    Asymmetric 5-card grid: featured (span 2) + 4 cards.
 *    Each card: ivory-light bg, gold corner ornaments,
 *    bordeaux border on hover.
 * ============================================================ */
.isf-services-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: var(--wide-size);
}
.isf-services-grid > .e-con-inner > .isf-service-featured {
  grid-column: span 2;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}
.isf-services-grid > .e-con-inner > .isf-service-card {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}

.isf-service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  transition: border-color 0.4s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
/* Gold corner ornaments */
.isf-service-card::before,
.isf-service-card::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  pointer-events: none;
  transition: width 0.4s, height 0.4s;
  z-index: 2;
}
.isf-service-card::before {
  top: 14px; left: 14px;
  border-top:  1px solid var(--gold-line);
  border-left: 1px solid var(--gold-line);
}
.isf-service-card::after {
  bottom: 14px; right: 14px;
  border-bottom: 1px solid var(--gold-line);
  border-right:  1px solid var(--gold-line);
}
.isf-service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.isf-service-card:hover::before,
.isf-service-card:hover::after {
  width: 50px; height: 50px;
}

.isf-service-card .elementor-widget-heading h3.elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.isf-service-card .elementor-widget-text-editor p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Service eyebrow inside card */
.isf-service-card .isf-eyebrow .elementor-heading-title {
  font-size: 10px;
  color: var(--accent);
}

/* Featured card: photo + text side by side */
.isf-service-featured {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  padding: 0 !important;
  overflow: hidden;
}
.isf-service-featured > .elementor-widget-image,
.isf-service-featured > .e-con,
.isf-service-featured > .e-child {
  flex: 1 1 50%;
  width: 50% !important;
  max-width: 50% !important;
}
.isf-service-featured .elementor-widget-image {
  align-self: stretch;
}
.isf-service-featured .elementor-widget-image .elementor-widget-container,
.isf-service-featured .elementor-widget-image img {
  height: 100%;
  min-height: 320px;
}
.isf-service-featured .elementor-widget-heading h3.elementor-heading-title {
  font-size: 32px;
}

/* ============================================================
 * 8. TRUST STRIP (.isf-trust)
 *    Light ivory background, dark tracked-caps mill names.
 *    (Approved mockup: --surface background, dark text.)
 * ============================================================ */
.isf-trust {
  position: relative;
  border-top:    1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  background: var(--surface);
}
.isf-trust .isf-eyebrow .elementor-heading-title {
  color: var(--text-muted);
  justify-content: center;
}
.isf-trust .elementor-widget-text-editor p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--tracking-extra);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 2;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* ============================================================
 * 9. PILLARS GRID (.isf-pillars-grid)
 *    4 equal columns with gold-tinted vertical rules and an
 *    animated gold top-rule on hover.
 * ============================================================ */
.isf-pillars-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--wide-size);
}
.isf-pillars-grid > .e-con-inner > * {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 38px 30px !important;
  border-top: 1px solid rgba(184, 146, 63, 0.4);
  position: relative;
}
.isf-pillars-grid > .e-con-inner > *:not(:last-child) {
  border-right: 1px solid rgba(184, 146, 63, 0.4);
}
/* Animated gold rule at top on hover */
.isf-pillars-grid > .e-con-inner > *::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.isf-pillars-grid > .e-con-inner > *:hover::before { width: 60%; }

/* isf-pillar widget styles */
.isf-pillar .elementor-icon-box-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.isf-pillar .elementor-icon-box-description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.isf-pillar .elementor-icon i {
  color: var(--accent);
  font-size: 22px;
}
/* Pillar italic number — rendered via Elementor icon-box */
.isf-pillars-grid .elementor-widget-icon-box .elementor-icon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
}

/* ============================================================
 * 10. EDITORIAL WORKSHOP SECTION (.isf-editorial)
 *     50/50 split, ivory-light bg. Image gets a gold corner
 *     ornament via ::after on its wrapper.
 * ============================================================ */
.isf-editorial > .e-con-inner {
  max-width: var(--wide-size);
  margin: 0 auto;
  align-items: center;
}
.isf-editorial-image .elementor-widget-image .elementor-widget-container {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.isf-editorial-image .elementor-widget-image .elementor-widget-container::after {
  content: "";
  position: absolute;
  bottom: -16px; right: -16px;
  width: 90px; height: 90px;
  border-bottom: 1px solid var(--gold-line);
  border-right:  1px solid var(--gold-line);
  pointer-events: none;
}
.isf-editorial-image .elementor-widget-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.85) brightness(1.02);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.isf-editorial-image:hover .elementor-widget-image img { transform: scale(1.04); }

.isf-editorial-content .elementor-widget-heading h2.elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.isf-editorial-content .elementor-widget-text-editor p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 22px;
}
/* Sign / editorial-sign row */
.isf-editorial-content .isf-eyebrow:last-child .elementor-heading-title {
  color: var(--text-muted);
}

/* ============================================================
 * 11. CTA BANNER (.isf-cta-banner)
 *     Charcoal full-width. Fabric-strip at top, "IS" ghost
 *     monogram in gold-soft, ivory text.
 * ============================================================ */
.isf-cta-banner {
  position: relative;
  overflow: hidden;
}
/* Fabric swatch strip across top edge */
.isf-cta-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--bordeaux)  0%      33.3%,
    var(--taupe)     33.3%   66.6%,
    var(--gold)      66.6%   100%
  );
  z-index: 2;
}
/* Giant "IS" ghost monogram */
.isf-cta-banner::after {
  content: "IS";
  position: absolute;
  top: -60px; right: -40px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(220px, 28vw, 360px);
  line-height: 1;
  color: var(--gold-soft);
  opacity: 0.08;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}
.isf-cta-banner > * { position: relative; z-index: 1; }

.isf-cta-banner .elementor-widget-heading h2.elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ivory);
}
.isf-cta-banner .elementor-widget-heading h2.elementor-heading-title em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
}
/* Phone number — second h2 in the right column */
.isf-cta-banner .elementor-element:nth-child(2) h2.elementor-heading-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 72px) !important;
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.isf-cta-banner .elementor-widget-text-editor p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(244, 237, 224, 0.78);
  max-width: 48ch;
}
/* Eyebrow inside CTA banner */
.isf-cta-banner .isf-eyebrow .elementor-heading-title {
  color: var(--gold-soft);
}
.isf-cta-banner .isf-eyebrow .elementor-heading-title::before {
  background: var(--gold-soft);
}

/* ============================================================
 * 13. FOOTER (.isf-footer) — LIGHT IVORY (approved mockup)
 *     --surface background, dark charcoal text, gold accent.
 * ============================================================ */
.isf-footer {
  color: var(--text);
  border-top: 1px solid var(--rule);
}
.isf-footer .elementor-heading-title,
.isf-footer .isf-eyebrow .elementor-heading-title {
  color: var(--text-muted);
}
.isf-footer .elementor-widget-text-editor p,
.isf-footer .elementor-widget-text-editor a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.isf-footer .elementor-widget-text-editor a:hover {
  color: var(--primary);
}
/* Footer brand tagline heading (22px italic Playfair) */
.isf-footer .elementor-widget-heading div.elementor-heading-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--text);
  max-width: 28ch;
}
/* Footer brand col eyebrow "DAL 1957" */
.isf-footer-since .elementor-heading-title {
  color: var(--text-muted) !important;
}
/* Icon-list (servizi col) */
.isf-footer .elementor-icon-list-item a,
.isf-footer .elementor-icon-list-item span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14.5px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.isf-footer .elementor-icon-list-item a:hover { color: var(--primary); }
.isf-footer .elementor-icon-list-icon i { color: var(--accent); }

/* Sub-label inside text-editor (address blocks) — class on <em> in HTML content */
.isf-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 3px;
}

/* Social icons — dark text on light footer */
.isf-footer .elementor-social-icon {
  background: transparent !important;
  border: 1px solid var(--rule);
  width: 36px; height: 36px;
  border-radius: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.isf-footer .elementor-social-icon:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* Gold divider inside footer */
.isf-footer .elementor-widget-divider .elementor-divider-separator {
  border-color: var(--accent);
}

/* Bottom-bar meta text — class assigned via widget Advanced > CSS Classes */
.isf-meta-text p {
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
 * 14. BUTTONS — global outline + solid + link variants
 * ============================================================ */
.elementor-widget-button .elementor-button {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: 1px;
  padding: 13px 28px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.elementor-widget-button .elementor-button:hover {
  transform: none;
}
/* Outline button (default Elementor outline) */
.elementor-widget-button .elementor-button.elementor-button-bordered {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.elementor-widget-button .elementor-button.elementor-button-bordered:hover {
  background: var(--primary);
  color: var(--ivory);
}
/* Solid / filled button */
.elementor-widget-button .elementor-button.elementor-button-solid,
.elementor-widget-button .elementor-button[data-style="solid"] {
  background: var(--primary);
  color: var(--ivory);
  border: 1px solid var(--primary);
}
.elementor-widget-button .elementor-button.elementor-button-solid:hover,
.elementor-widget-button .elementor-button[data-style="solid"]:hover {
  background: transparent;
  color: var(--primary);
}
/* Inverted button (CTA banner) */
.isf-cta-banner .elementor-widget-button .elementor-button {
  border-color: var(--ivory);
  color: var(--ivory);
  background: transparent;
}
.isf-cta-banner .elementor-widget-button .elementor-button:hover {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}

/* ============================================================
 * 15. ANCHOR NAV (.isf-anchor-nav) — chi-siamo
 * ============================================================ */
.isf-anchor-nav {
  position: sticky !important;
  top: 80px;
  z-index: 50;
  background: rgba(251, 247, 238, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top:    1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.isf-anchor-nav .elementor-widget-button .elementor-button {
  font-size: 11px;
  letter-spacing: var(--tracking-extra);
  color: var(--text-muted) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 8px 0 !important;
  position: relative;
}
.isf-anchor-nav .elementor-widget-button:not(:last-child)::after {
  content: "\25C6";
  position: absolute;
  right: -18px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 7px;
  pointer-events: none;
}
.isf-anchor-nav .elementor-widget-button .elementor-button:hover,
.isf-anchor-nav a.is-active {
  color: var(--primary) !important;
  border-bottom: 1px solid var(--primary) !important;
  border-radius: 0;
}

/* ============================================================
 * 16. INFO CARDS (.isf-info-card) — contatti
 * ============================================================ */
.isf-info-card {
  border: 1px solid var(--rule);
  position: relative;
  transition: border-color 0.4s ease, transform 0.5s ease;
}
.isf-info-card::before {
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 22px; height: 22px;
  border-top:  1px solid var(--gold-line);
  border-left: 1px solid var(--gold-line);
  pointer-events: none;
  transition: width 0.4s, height 0.4s;
}
.isf-info-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.isf-info-card:hover::before {
  width: 36px; height: 36px;
}
.isf-info-card .elementor-icon-box-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  letter-spacing: -0.01em;
}
.isf-info-card .elementor-icon i { color: var(--accent); }

/* ============================================================
 * 17. CONTACT FORM (.isf-form-wrap + .ilsofa-cf7)
 * ============================================================ */
.isf-form-wrap {
  position: relative;
  border: 1px solid var(--rule);
}
.isf-form-wrap::before,
.isf-form-wrap::after {
  content: "";
  position: absolute;
  width: 30px; height: 30px;
  pointer-events: none;
}
.isf-form-wrap::before {
  top: 18px; left: 18px;
  border-top:  1px solid var(--gold-line);
  border-left: 1px solid var(--gold-line);
}
.isf-form-wrap::after {
  bottom: 18px; right: 18px;
  border-bottom: 1px solid var(--gold-line);
  border-right:  1px solid var(--gold-line);
}
.ilsofa-cf7 label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}
.ilsofa-cf7 p { margin-bottom: 22px; }
.ilsofa-cf7 .cf7-helper {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.ilsofa-cf7 .req {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
}
.ilsofa-cf7 .form-disclaimer {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  display: inline-block;
  margin-right: 18px;
}
.ilsofa-cf7 input[type=text],
.ilsofa-cf7 input[type=email],
.ilsofa-cf7 input[type=tel],
.ilsofa-cf7 select,
.ilsofa-cf7 textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(44,40,38,0.18);
  background: transparent;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.ilsofa-cf7 input:focus,
.ilsofa-cf7 select:focus,
.ilsofa-cf7 textarea:focus {
  border-bottom-color: var(--primary);
}
.ilsofa-cf7 input[type=submit] {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
  transition: all 0.4s ease;
}
.ilsofa-cf7 input[type=submit]:hover {
  background: var(--primary);
  color: var(--ivory);
}

/* ============================================================
 * 18. ICON LIST (servizi, footer)
 * ============================================================ */
.elementor-widget-icon-list .elementor-icon-list-icon i {
  color: var(--accent);
}

/* ============================================================
 * 19. RESPONSIVE
 * ============================================================ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .isf-hero {
    min-height: auto;
  }
  .isf-hero > .e-con-inner {
    flex-direction: column !important;
  }
  .isf-hero-image {
    aspect-ratio: 4/3;
  }
  .isf-hero-content {
    padding: 50px 30px !important;
  }

  .isf-services-grid > .e-con-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .isf-services-grid > .e-con-inner > .isf-service-featured {
    grid-column: span 2;
  }
  .isf-service-featured {
    flex-direction: column !important;
  }
  .isf-service-featured > .elementor-widget-image,
  .isf-service-featured > .e-con,
  .isf-service-featured > .e-child {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100%;
  }
  .isf-service-featured .elementor-widget-image img { aspect-ratio: 16/10; }

  .isf-pillars-grid > .e-con-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .isf-pillars-grid > .e-con-inner > *:not(:last-child) { border-right: none; }
  .isf-pillars-grid > .e-con-inner > *:nth-child(odd) {
    border-right: 1px solid rgba(184, 146, 63, 0.4);
  }

  .isf-editorial > .e-con-inner {
    flex-direction: column !important;
  }

  .isf-anchor-nav { top: 70px; }
}

/* Between tablet and mobile (≤ 900px) */
@media (max-width: 900px) {
  .isf-hero-content > .e-con-inner::before {
    font-size: 220px;
    right: -80px;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .isf-hero .elementor-widget-heading h1.elementor-heading-title,
  .isf-hero h1.elementor-heading-title {
    font-size: 38px;
  }
  .isf-hero-content {
    padding: 40px 20px !important;
  }

  .isf-manifesto {
    padding: 40px 20px !important;
  }

  .isf-services-grid > .e-con-inner {
    grid-template-columns: 1fr;
  }
  .isf-services-grid > .e-con-inner > .isf-service-featured {
    grid-column: span 1;
  }

  .isf-trust {
    padding: 36px 20px !important;
  }
  .isf-trust .elementor-widget-text-editor p {
    font-size: 10px;
    gap: 10px 14px;
  }

  .isf-pillars-grid > .e-con-inner {
    grid-template-columns: 1fr;
  }
  .isf-pillars-grid > .e-con-inner > * {
    border-right: none !important;
    padding: 28px 0 !important;
  }
  .isf-pillars-grid > .e-con-inner > *:nth-child(odd) {
    border-right: none !important;
  }

  .isf-editorial {
    padding: 60px 20px !important;
  }
  .isf-pull-quote .elementor-heading-title {
    padding: 16px 0 16px 22px;
    font-size: 19px;
  }

  .isf-cta-banner::after { font-size: 220px; }
  .isf-cta-banner .elementor-element:nth-child(2) h2.elementor-heading-title {
    font-size: 48px !important;
  }
  .isf-cta-banner {
    padding: 60px 20px !important;
  }

  .isf-footer {
    padding: 50px 20px 30px !important;
  }

  .isf-anchor-nav { top: 60px; }
  .isf-anchor-nav .elementor-widget-button:not(:last-child)::after {
    display: none;
  }
}