/* ==========================================================
   ICOM HOLDINGS — Main stylesheet
   Change the brand colours in :root below.
   ========================================================== */
:root {
  --navy: #0e2445;          /* deep blue – headers, footer */
  --blue: #1f4f9c;          /* main brand blue */
  --blue-bright: #2d68c4;   /* hover / highlights */
  --blue-soft: #e8f0ff;     /* light blue backgrounds */
  --ice: #f5f8fe;           /* page tint */
  --gold: #b8935a;          /* small luxury accent */
  --ink: #0f1a2e;
  --muted: #5b6780;
  --line: #d9e2f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(10, 31, 68, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .6rem; }
h3 { font-size: 1.6rem; margin-bottom: .4rem; }
p { color: var(--muted); }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: .25s; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-dark-outline { border-color: var(--blue); color: var(--blue); }
.btn-dark-outline:hover { background: var(--blue); color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 58px; width: auto; }
.site-footer .logo img { height: 64px; }
.logo { display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--navy)); display: grid; place-items: center; color: var(--white); font-size: 1.2rem; }
.logo small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .3em; color: var(--muted); font-weight: 700; margin-top: -2px; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .93rem; position: relative; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--blue); transition: .25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--blue); }
.nav-links .btn { color: var(--white); padding: .7rem 1.3rem; }
.nav-links .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 20%, #2d68c4 0%, transparent 45%), linear-gradient(135deg, var(--navy) 0%, #173a72 60%, #1f4f9c 100%); color: var(--white); padding: 120px 0 130px; }
.hero h1 { color: var(--white); max-width: 760px; }
.hero h1 em { font-style: italic; color: #9cc2ff; }
.hero p { color: #c7d6f5; font-size: 1.15rem; max-width: 600px; margin: 1.4rem 0 2.2rem; }
.hero .eyebrow { color: #9cc2ff; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-orb { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.hero-orb::before, .hero-orb::after { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.hero-orb::after { inset: 140px; background: radial-gradient(circle, rgba(47,123,255,.45), transparent 70%); border-color: rgba(201,164,92,.4); }

.page-hero { background: linear-gradient(135deg, var(--navy), #1f4f9c); color: var(--white); padding: 90px 0 80px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero p { color: #c7d6f5; max-width: 640px; margin-top: 1rem; font-size: 1.1rem; }
.page-hero .eyebrow { color: #9cc2ff; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-tint { background: var(--ice); }
.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }

/* Three divisions */
.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.division { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem 2rem; transition: .3s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.division::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); transform: scaleX(0); transform-origin: left; transition: .35s; }
.division:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.division:hover::before { transform: scaleX(1); }
.division .num { font-family: var(--serif); font-size: 1rem; color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.icon { width: 58px; height: 58px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; margin: 1.2rem 0 1.4rem; }
.icon svg { width: 28px; height: 28px; stroke: var(--blue); }
.division p { flex: 1; }
.link-arrow { font-weight: 700; margin-top: 1.4rem; display: inline-flex; gap: .5rem; align-items: center; }
.link-arrow:hover { gap: .9rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.visual { aspect-ratio: 4/5; border-radius: 22px; position: relative; overflow: hidden; background: linear-gradient(160deg, #dce8ff 0%, #7aa8ff 55%, #1f4f9c 100%); box-shadow: var(--shadow); }
.visual.dark { background: linear-gradient(160deg, #1f4f9c 0%, #0a1f44 100%); }
.visual img { width: 100%; height: 100%; object-fit: cover; }
.visual .placeholder-art { position: absolute; inset: 0; display: grid; place-items: center; }
.bottle { width: 34%; height: 58%; border-radius: 40px 40px 18px 18px; background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.35)); position: relative; box-shadow: 0 30px 50px -20px rgba(10,31,68,.5); }
.bottle::before { content: ""; position: absolute; top: -18%; left: 30%; width: 40%; height: 20%; border-radius: 8px 8px 0 0; background: var(--navy); }
.bottle::after { content: "ICOM"; position: absolute; top: 45%; left: 0; right: 0; text-align: center; font-family: var(--serif); letter-spacing: .3em; color: var(--navy); font-weight: 700; }
.globe { width: 62%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); position: relative; }
.globe::before { content: ""; position: absolute; inset: 0 25%; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); }
.globe::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.4); box-shadow: 0 -60px 0 rgba(255,255,255,.2), 0 60px 0 rgba(255,255,255,.2); }

.checklist { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.checklist li { padding-left: 2rem; position: relative; color: var(--ink); font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: .3s; }
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.card h3 { font-size: 1.4rem; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.product { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .3s; }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 1; background: linear-gradient(160deg, var(--blue-soft), #a9c6ff); display: grid; place-items: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .bottle { width: 30%; height: 55%; }
.product-body { padding: 1.4rem 1.5rem 1.6rem; }
.product-body .tag { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); }
.product-body h3 { font-size: 1.35rem; margin: .3rem 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--blue-soft); -webkit-text-stroke: 1px var(--blue); display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1.3rem; }

/* Region tags */
.regions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.regions span { padding: .55rem 1.1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--navy); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--navy)); color: var(--white); border-radius: 24px; padding: 4rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { color: #c7d6f5; margin-top: .5rem; }
.cta-band .btn { background: var(--white); color: var(--navy); }
.cta-band .btn:hover { background: var(--gold); color: var(--navy); }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 3rem; }
.values h3 { font-size: 1.35rem; }
.values h3::before { content: ""; display: block; width: 36px; height: 3px; background: var(--blue); margin-bottom: 1rem; }

/* ---------- European branches ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.stat { border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1.2rem; }
.stat b { display: block; font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--white); }
.stat span { color: #b9c8e8; font-size: .9rem; }
.europe-band { background: linear-gradient(135deg, var(--navy) 0%, #173a72 100%); color: var(--white); position: relative; overflow: hidden; }
.europe-band h2 { color: var(--white); }
.europe-band p { color: #c7d6f5; }
.europe-band .eyebrow { color: #9cc2ff; }
.europe-band::after { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); pointer-events: none; }
.city-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.city-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .95rem .5rem .5rem; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: var(--white); font-weight: 600; font-size: .9rem; transition: .2s; }
.city-chip:hover { background: var(--blue); border-color: var(--blue-bright); }
.city-chip b { font-size: .68rem; letter-spacing: .08em; background: var(--white); color: var(--navy); border-radius: 999px; padding: .2rem .45rem; }
.city-chip em { font-style: normal; font-size: .68rem; color: var(--gold); font-weight: 800; letter-spacing: .1em; }

.branch-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { font-family: var(--sans); font-weight: 700; font-size: .88rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--blue); }
.filter.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.branch-toolbar input { max-width: 280px; border-radius: 999px; padding: .7rem 1.2rem; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.branch { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; transition: .3s; }
.branch:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.branch-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.branch .code { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-weight: 800; letter-spacing: .06em; display: grid; place-items: center; }
.branch .hq { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: #f4ead6; border-radius: 999px; padding: .3rem .7rem; }
.branch h3 { font-size: 1.6rem; margin: 0; }
.branch .country { font-size: .9rem; margin-bottom: .9rem; }
.branch-details { list-style: none; display: grid; gap: .5rem; margin-bottom: 1rem; font-size: .92rem; }
.branch-details span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.branch-services { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.branch-services span { font-size: .72rem; font-weight: 700; color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: .25rem .55rem; }
.branch .link-arrow { margin-top: 1.2rem; }
.branch-empty { display: none; text-align: center; padding: 3rem 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.contact-info { background: var(--navy); color: var(--white); border-radius: 20px; padding: 2.6rem; }
.contact-info h3 { color: var(--white); }
.contact-info p { color: #b9c8e8; }
.contact-item { display: flex; gap: 1rem; margin-top: 1.8rem; }
.contact-item .icon { margin: 0; background: rgba(255,255,255,.08); width: 48px; height: 48px; flex-shrink: 0; }
.contact-item .icon svg { stroke: #9cc2ff; width: 22px; height: 22px; }
.contact-item strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #9cc2ff; }
.contact-item span, .contact-item a { color: var(--white); }

form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
label { font-size: .85rem; font-weight: 700; color: var(--navy); display: block; margin-bottom: .4rem; }
input, select, textarea { width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 1rem; background: var(--white); color: var(--ink); transition: .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #e6f6ee; color: #146c43; }
.form-msg.err { display: block; background: #fdecec; color: #b42318; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c8e8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.site-footer .logo { color: var(--white); }
.site-footer .logo small { color: #8ea3cc; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: #b9c8e8; }
.site-footer a:hover { color: var(--white); }
.site-footer p { color: #b9c8e8; margin-top: 1rem; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.5rem; padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .divisions, .steps, .values { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .visual { aspect-ratio: 16/11; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-orb { opacity: .4; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; flex-direction: column; background: var(--white); padding: 2rem; gap: 1.4rem; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: .35s; box-shadow: var(--shadow); z-index: -1; }
  .nav-links.open { transform: none; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 620px) {
  section { padding: 70px 0; }
  .container { width: calc(100% - 32px); }
  .divisions, .steps, .values, .form-row, .footer-grid, .stats { grid-template-columns: 1fr; }
  .branch-toolbar input { max-width: none; }
  .hero { padding: 80px 0 90px; }
  .cta-band { padding: 2.4rem 1.6rem; }
}
