/* CONT-01.2 — Contact page finishing. Scoped to preserve the approved baseline. */
.dlr-contact-page-main { background: var(--dlr-ivory, #f5f1e8); color: #102536; }
.dlr-contact-page-main h1,
.dlr-contact-page-main h2,
.dlr-contact-page-main h3,
.dlr-contact-page-main p { margin-top: 0; }
.dlr-contact-page-hero { position: relative; overflow: hidden; padding: clamp(48px, 5vw, 64px) 0 clamp(44px, 5vw, 58px); background: #04111e; color: #f4fbff; }
.dlr-contact-page-hero::after { position: absolute; inset: auto -4% -1px auto; width: 42%; height: 34px; background: #f5f1e8; clip-path: polygon(32% 100%, 100% 0, 100% 100%); content: ''; pointer-events: none; }
.dlr-contact-page-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.dlr-contact-page-hero-copy { min-width: 0; max-width: 760px; flex: 1 1 auto; }
.dlr-contact-page-hero .dlr-eyebrow { color: #8cecff; }
.dlr-contact-page-hero h1 { max-width: 760px; margin-bottom: 16px; color: #f7fbfc; font-size: clamp(42px, 4vw, 48px); line-height: 1.02; letter-spacing: -.045em; }
.dlr-contact-page-hero-subtitle { max-width: 620px; margin-bottom: 12px; color: #8cecff; font-family: var(--dlr-font-sans, Arial, sans-serif); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.35; }
.dlr-contact-page-hero-description { max-width: 710px; margin-bottom: 0; color: #b5c7d1; font-size: 15.5px; line-height: 1.65; }
.dlr-contact-page-hero-geometry { display: flex; flex: 0 0 clamp(210px, 24vw, 300px); align-items: center; justify-content: flex-end; width: clamp(210px, 24vw, 300px); color: var(--dlr-accent, #27d6f6); opacity: .82; pointer-events: none; }
.dlr-contact-page-hero-geometry svg { display: block; width: 100%; height: auto; overflow: visible; }
.dlr-contact-page-hero-geometry-line { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dlr-contact-page-hero-geometry-line--soft { color: var(--dlr-text-muted, #a9bcd0); opacity: .46; }
.dlr-contact-page-hero-geometry-node { fill: currentColor; opacity: .62; }
.dlr-contact-page-main-section { padding: clamp(54px, 6vw, 72px) 0 clamp(58px, 7vw, 78px); }
.dlr-contact-page-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(36px, 4.5vw, 58px); align-items: start; }
.dlr-contact-page-info { padding-top: 7px; }
.dlr-contact-page-info .dlr-eyebrow,
.dlr-contact-page-form-heading .dlr-eyebrow,
.dlr-contact-page-closing .dlr-eyebrow { color: #087d96; }
.dlr-contact-page-info h2,
.dlr-contact-page-form-heading h2,
.dlr-contact-page-closing h2 { color: #102536; font-size: clamp(29px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -.04em; }
.dlr-contact-page-info h2 { max-width: 460px; margin-bottom: 16px; }
.dlr-contact-page-info-description { max-width: 480px; margin-bottom: 30px; color: #4e6670; font-size: 15px; line-height: 1.7; }
.dlr-contact-page-details { display: grid; gap: 10px; max-width: 540px; }
.dlr-contact-page-detail { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px 0; border-top: 1px solid rgba(16,37,54,.16); color: #102536; text-decoration: none; }
.dlr-contact-page-detail:last-child { border-bottom: 1px solid rgba(16,37,54,.16); }
.dlr-contact-page-detail-icon { display: grid; flex: 0 0 30px; place-items: center; color: #087d96; }
.dlr-contact-page-detail .dlr-icon:last-child { width: 15px; margin-left: auto; color: #087d96; }
.dlr-contact-page-detail small { display: block; margin-bottom: 3px; color: #087d96; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dlr-contact-page-detail strong { display: block; color: #102536; font-size: 15px; font-weight: 600; line-height: 1.45; }
.dlr-contact-page-detail--availability { align-items: flex-start; }
.dlr-contact-page-status { flex: 0 0 9px; width: 9px; height: 9px; margin: 5px 10px 0 5px; border-radius: 50%; background: #1bbf91; box-shadow: 0 0 0 5px rgba(27,191,145,.11); }
.dlr-contact-page-socials { margin-top: 24px; }
.dlr-contact-page-socials > span { display: block; margin-bottom: 12px; color: #6c8289; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.dlr-contact-page-socials > div { display: flex; flex-wrap: wrap; gap: 10px; }
.dlr-contact-page-socials a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(16,37,54,.16); color: #315461; font-size: 13px; text-decoration: none; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.dlr-contact-page-socials a:hover,
.dlr-contact-page-socials a:focus-visible { border-color: #087d96; background: rgba(140,236,255,.12); color: #087d96; }
.dlr-contact-page-socials .dlr-icon { width: 15px; height: 15px; }
.dlr-contact-page-form-column { min-width: 0; }
.dlr-contact-page-form-heading { margin-bottom: 20px; }
.dlr-contact-page-form-heading h2 { margin-bottom: 10px; font-size: clamp(25px, 2.2vw, 29px); }
.dlr-contact-page-form-heading p:last-child { max-width: 560px; margin-bottom: 0; color: #587078; font-size: 15px; line-height: 1.65; }
.dlr-contact-form-shell { padding: clamp(20px, 2.5vw, 28px); border: 1px solid rgba(16,37,54,.17); background: rgba(255,255,255,.58); box-shadow: 8px 10px 0 rgba(16,37,54,.028); }
.dlr-contact-form-shell .wpcf7-form { display: grid; gap: 14px; }
.dlr-contact-form-shell .wpcf7-form p { margin: 0; }
.dlr-contact-form-shell .dlr-cf7-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dlr-contact-form-shell label { display: block; color: #284854; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.dlr-contact-form-shell input:not([type="submit"]),
.dlr-contact-form-shell select,
.dlr-contact-form-shell textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid rgba(16,37,54,.2); border-radius: 0; background: rgba(255,255,255,.8); color: #102536; font: inherit; font-size: 15px; font-weight: 400; letter-spacing: 0; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.dlr-contact-form-shell input:not([type="submit"]),
.dlr-contact-form-shell select { min-height: 48px; padding: 11px 13px; }
.dlr-contact-form-shell textarea { min-height: 128px; padding: 12px 13px; resize: vertical; }
.dlr-contact-form-shell input:not([type="submit"]):focus,
.dlr-contact-form-shell select:focus,
.dlr-contact-form-shell textarea:focus { border-color: #087d96; background: #fff; box-shadow: 0 0 0 3px rgba(140,236,255,.18); }
.dlr-contact-form-shell input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border: 1px solid var(--dlr-accent, #27d6f6); border-radius: var(--dlr-radius-control, 8px); background: var(--dlr-accent, #27d6f6); color: #02111c; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dlr-contact-form-shell input[type="submit"]:hover { border-color: var(--dlr-accent-hover, #5ce7ff); background: var(--dlr-accent-hover, #5ce7ff); box-shadow: 0 12px 30px rgba(39,214,246,.15); transform: translateY(-2px); }
.dlr-contact-form-shell input[type="submit"]:focus-visible { border-color: var(--dlr-accent-hover, #5ce7ff); background: var(--dlr-accent-hover, #5ce7ff); box-shadow: 0 0 0 3px rgba(39,214,246,.2); outline: 2px solid var(--dlr-accent-hover, #5ce7ff); outline-offset: 3px; transform: translateY(-2px); }
.dlr-contact-form-shell input[type="submit"]:active { transform: translateY(0); }
.dlr-contact-form-shell .wpcf7-spinner { vertical-align: middle; }
.dlr-contact-privacy { margin: 0 !important; color: #687d83; font-size: 12px; line-height: 1.55; }
.dlr-contact-privacy a { color: #087d96; text-decoration: underline; text-underline-offset: 2px; }
.dlr-contact-form-shell .wpcf7-not-valid-tip { margin-top: 5px; color: #b33b46; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.dlr-contact-form-shell .wpcf7-response-output { margin: 0; padding: 11px 13px; border: 1px solid rgba(8,125,150,.3); color: #284854; font-size: 13px; line-height: 1.5; }
.dlr-contact-form-shell form.invalid .wpcf7-response-output,
.dlr-contact-form-shell form.failed .wpcf7-response-output,
.dlr-contact-form-shell form.aborted .wpcf7-response-output { border-color: rgba(179,59,70,.35); color: #8e303b; }
.dlr-contact-form-shell form.sent .wpcf7-response-output { border-color: rgba(27,152,116,.35); color: #197056; }
.dlr-contact-form-missing { padding: 28px; border: 1px solid rgba(8,125,150,.25); background: rgba(140,236,255,.09); }
.dlr-contact-form-missing-mark { display: block; margin-bottom: 14px; color: #087d96; font-family: Georgia, serif; font-size: 38px; line-height: .7; }
.dlr-contact-form-missing p { max-width: 520px; margin-bottom: 18px; color: #36545e; font-size: 15px; line-height: 1.65; }
.dlr-contact-page-closing { padding: 46px 0 60px; border-top: 1px solid rgba(16,37,54,.13); background: #eee9de; }
.dlr-contact-page-closing-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .65fr); gap: 40px; align-items: end; }
.dlr-contact-page-closing h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(28px, 3.5vw, 44px); }
.dlr-contact-page-closing-inner > p { max-width: 360px; margin: 0 0 4px; color: #5a7077; font-size: 15px; line-height: 1.7; }
.dlr-contact-page-main a:focus-visible { outline: 3px solid rgba(8,125,150,.35); outline-offset: 3px; }
.dlr-contact-page-main #modulo-contatti { scroll-margin-top: 96px; }
@media (max-width: 900px) {
	.dlr-contact-page-hero-inner { gap: 24px; }
	.dlr-contact-page-hero-geometry { flex-basis: 150px; width: 150px; opacity: .58; }
	.dlr-contact-page-grid { grid-template-columns: 1fr; gap: 54px; }
	.dlr-contact-page-info-description { max-width: 690px; }
	.dlr-contact-page-closing-inner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 620px) {
	.dlr-contact-page-hero { padding: 40px 0 44px; }
	.dlr-contact-page-hero::after { width: 70%; height: 24px; clip-path: polygon(28% 100%, 100% 0, 100% 100%); }
	.dlr-contact-page-hero-geometry { display: none; }
	.dlr-contact-page-hero h1 { font-size: clamp(30px, 9vw, 35px); }
	.dlr-contact-page-hero-subtitle { font-size: 18px; }
	.dlr-contact-page-hero-description { font-size: 15px; line-height: 1.65; }
	.dlr-contact-page-main-section { padding: 38px 0 46px; }
	.dlr-contact-page-grid { gap: 34px; }
	.dlr-contact-page-info h2 { font-size: 28px; }
	.dlr-contact-page-info-description { margin-bottom: 30px; font-size: 15px; }
	.dlr-contact-form-shell { padding: 20px 16px; box-shadow: 7px 8px 0 rgba(16,37,54,.035); }
	.dlr-contact-form-shell .dlr-cf7-grid { grid-template-columns: 1fr; gap: 17px; }
	.dlr-contact-form-shell textarea { min-height: 128px; }
	.dlr-contact-form-shell input[type="submit"] { width: 100%; justify-content: center; }
}
