/* GENERAL */

:root{
	--brand-color: #2563eb;
	--brand-accent: #60a5fa;
	--brand-rgb: 37,99,235;
	--accent-rgb: 96,165,250;
	--brand-gradient: linear-gradient(90deg,var(--brand-color),var(--brand-accent));
	--accent: var(--brand-accent);
	--fg: #e6eefc;
	--bg: #020617;
}

/* Typography: Inter (body) + Poppins (titles) */
body{
		font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
		background:var(--bg);
		color:var(--fg);
	margin:0;
	padding:0;
	scroll-behavior:smooth;
}

/* improve overall readability */
body, p { line-height: 1.65; }


/* Headings use Poppins for stronger presence */
h1,h2,h3,h4,h5,.hero-title,.section-title,.navbar-brand{
	font-family: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* NAVBAR */

.navbar{
background:rgba(2,6,23,0.6);
backdrop-filter:saturate(180%) blur(20px);
-webkit-backdrop-filter:saturate(180%) blur(20px);
padding:12px 0;
border-bottom:1px solid rgba(255,255,255,0.06);
transition:padding .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
z-index:1200;
}

.navbar-brand{
font-size:22px;
font-weight:800;
letter-spacing:-0.3px;
background:linear-gradient(90deg,#fff,var(--brand-accent));
-webkit-background-clip:text;
background-clip:text;
-webkit-text-fill-color:transparent;
}

.nav-link{
margin-left:30px;
font-size:15px;
font-weight:500;
color:rgba(255,255,255,0.7) !important;
transition:color .25s ease;
}

.nav-link:hover{
color:#fff !important;
}

/* animated underline for nav links */
.nav-link{position:relative}
.nav-link::after{content:'';position:absolute;left:0;right:0;height:2px;border-radius:2px;background:var(--brand-gradient);bottom:-4px;transform:scaleX(0);transform-origin:left center;transition:transform .25s ease}
.nav-link:hover::after{transform:scaleX(1)}
.nav-link.active{color:#fff !important}
.nav-link.active::after{transform:scaleX(1);opacity:1}

/* brand */
.navbar-brand svg{border-radius:6px;flex-shrink:0}
.brand-text{font-weight:700;font-size:20px;color:var(--fg);letter-spacing:0.6px}

/* custom toggler bars */
.navbar-toggler{width:44px;height:36px;display:inline-flex;flex-direction:column;justify-content:center;gap:5px;padding:6px;border:0;background:transparent}
.toggler-bar{display:block;height:3px;background:linear-gradient(90deg,#dfe6ff,#bdb8ff);border-radius:4px;transition:transform .28s ease, opacity .18s ease}
.navbar-toggler.open .toggler-bar:nth-child(1){transform:translateY(6px) rotate(45deg)}
.navbar-toggler.open .toggler-bar:nth-child(2){opacity:0}
.navbar-toggler.open .toggler-bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* Skip link (visible on focus) */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:fixed;left:12px;top:12px;background:var(--accent);color:white;padding:8px 12px;border-radius:6px;z-index:1050}

/* Header contacts and CTA */
.header-contacts a{color:rgba(255,255,255,0.85);font-size:16px}
.header-contacts a:hover{color:var(--accent)}
.header-cta{padding:8px 12px;border-radius:8px}

/* Shrinked navbar on scroll */
.navbar-shrink{padding:8px 0;background:rgba(2,6,23,0.88);box-shadow:0 8px 30px rgba(2,6,23,0.45)}
.navbar-shrink .navbar-brand{transform:translateY(-2px);font-size:18px}


/* HERO */

.hero{
position:relative;
height:100vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
overflow:hidden;
}

#particles-js{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
z-index:0;
}

.hero-content{
position:relative;
z-index:1;
padding:56px 20px;
max-width:920px;
}

.hero-eyebrow{
display:inline-block;
font-size:13px;
font-weight:600;
letter-spacing:3px;
text-transform:uppercase;
color:var(--brand-accent);
margin-bottom:22px;
padding:7px 16px;
border-radius:999px;
border:1px solid rgba(var(--brand-rgb),0.3);
background:rgba(var(--brand-rgb),0.08);
}

.hero-title{
font-size:clamp(44px, 7vw, 76px);
font-weight:700;
margin-bottom:24px;
line-height:1.05;
letter-spacing:-2px;
color:#fff;
}

.hero-title-accent{
background:linear-gradient(90deg, var(--brand-color), var(--brand-accent));
-webkit-background-clip:text;
background-clip:text;
-webkit-text-fill-color:transparent;
}

.hero-subtitle{
font-size:clamp(17px, 2.2vw, 20px);
max-width:640px;
margin:0 auto 40px;
color:rgba(255,255,255,0.6);
line-height:1.6;
font-weight:400;
}

/* Hero CTAs — Apple style */
.hero-actions{
display:flex;
gap:16px;
justify-content:center;
flex-wrap:wrap;
}

.btn-hero{
display:inline-flex;
align-items:center;
gap:9px;
padding:15px 34px;
border-radius:999px;
font-size:16px;
font-weight:600;
text-decoration:none;
transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-hero-primary{
background:var(--brand-gradient);
color:#fff;
box-shadow:0 10px 30px rgba(var(--brand-rgb),0.35);
}
.btn-hero-primary:hover{
transform:translateY(-2px);
box-shadow:0 16px 42px rgba(var(--brand-rgb),0.45);
}

.btn-hero-ghost{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.15);
color:#fff;
}
.btn-hero-ghost i{ transition:transform 0.25s ease; }
.btn-hero-ghost:hover{
background:rgba(255,255,255,0.1);
border-color:rgba(255,255,255,0.3);
}
.btn-hero-ghost:hover i{ transform:translateX(4px); }

/* BOTONES */

.btn-primary{
background:var(--brand-gradient);
border:none;
padding:12px 26px;
border-radius:10px;
font-weight:600;
box-shadow:0 8px 30px rgba(var(--brand-rgb),0.12);
}

.btn-primary:hover{
transform:translateY(-3px);
box-shadow:0 18px 40px rgba(var(--brand-rgb),0.14);
}

.btn-outline-light{
border-radius:10px;
padding:12px 24px;
border:1px solid rgba(255,255,255,0.08);
}

/* spacing for hero buttons specifically */
.hero .btn{margin-right:12px}

/* Focus styles for accessibility */
.btn:focus-visible, .nav-link:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.12), 0 6px 20px rgba(2,6,23,0.35);
	border-radius:8px;
}

.skip-link:focus{box-shadow:0 6px 30px rgba(0,0,0,0.5)}

/* SECTIONS */

.section{
padding:100px 0;
}

.section-title{
font-size:clamp(32px, 4vw, 44px);
font-weight:700;
letter-spacing:-1px;
margin-bottom:18px;
}

.section-subtitle{
font-size:18px;
color:rgba(255,255,255,0.55);
max-width:600px;
margin:0 auto 60px;
line-height:1.6;
}

/* PROYECTOS - Carousel Layout */

/* Filter tabs */
.projects-filter{
	display:flex;
	justify-content:center;
	gap:8px;
	margin-bottom:40px;
	flex-wrap:wrap;
	padding:0 16px;
}
.filter-btn{
	padding:10px 22px;
	border-radius:999px;
	border:1px solid rgba(255,255,255,0.1);
	background:rgba(255,255,255,0.04);
	color:rgba(255,255,255,0.7);
	font-size:14px;
	font-weight:600;
	cursor:pointer;
	transition:all 0.25s ease;
	font-family:inherit;
	letter-spacing:0.3px;
}
.filter-btn:hover{
	background:rgba(var(--brand-rgb),0.12);
	color:var(--brand-accent);
	border-color:rgba(var(--brand-rgb),0.3);
}
.filter-btn.active{
	background:var(--brand-gradient);
	color:#fff;
	border-color:transparent;
	box-shadow:0 6px 20px rgba(var(--brand-rgb),0.3);
}

/* Projects grid */
.projects-grid{
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:26px;
}

.project-slide{
	transition:opacity 0.4s ease, transform 0.4s ease;
}

.project-slide.hidden{
	display:none;
}

/* Empty state */
.projects-empty{
	text-align:center;
	color:rgba(255,255,255,0.55);
	font-size:16px;
	padding:40px 0;
}

/* Pagination */
.projects-pagination{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:8px;
	margin-top:44px;
	flex-wrap:wrap;
}
.projects-pagination[hidden]{ display:none; }

.page-btn{
	min-width:42px;
	height:42px;
	padding:0 12px;
	border-radius:12px;
	border:1px solid rgba(255,255,255,0.1);
	background:rgba(255,255,255,0.04);
	color:rgba(255,255,255,0.75);
	font-size:15px;
	font-weight:600;
	font-family:inherit;
	cursor:pointer;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	transition:all 0.25s ease;
}
.page-btn:hover:not(:disabled):not(.active){
	background:rgba(var(--brand-rgb),0.12);
	color:var(--brand-accent);
	border-color:rgba(var(--brand-rgb),0.3);
}
.page-btn.active{
	background:var(--brand-gradient);
	color:#fff;
	border-color:transparent;
	box-shadow:0 6px 18px rgba(var(--brand-rgb),0.3);
	cursor:default;
}
.page-btn:disabled{
	opacity:0.35;
	cursor:not-allowed;
}
.page-arrow{ font-size:13px; }

/* Carousel arrows */
.carousel-arrow{
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	width:48px;
	height:48px;
	border-radius:50%;
	border:1px solid rgba(255,255,255,0.12);
	background:rgba(15,23,42,0.85);
	backdrop-filter:blur(8px);
	color:#fff;
	font-size:16px;
	cursor:pointer;
	display:flex;
	align-items:center;
	justify-content:center;
	transition:all 0.25s ease;
	z-index:10;
}
.carousel-arrow:hover{
	background:var(--brand-color);
	border-color:var(--brand-color);
	box-shadow:0 8px 25px rgba(var(--brand-rgb),0.35);
	transform:translateY(-50%) scale(1.08);
}
.carousel-arrow:disabled{
	opacity:0.3;
	cursor:not-allowed;
}
.carousel-arrow:disabled:hover{
	background:rgba(15,23,42,0.85);
	border-color:rgba(255,255,255,0.12);
	box-shadow:none;
	transform:translateY(-50%);
}
.carousel-arrow-left{
	left:0;
}
.carousel-arrow-right{
	right:0;
}

/* Carousel indicators */
.carousel-indicators{
	display:flex;
	justify-content:center;
	gap:8px;
	margin-top:28px;
}
.carousel-dot{
	width:10px;
	height:10px;
	border-radius:50%;
	border:none;
	background:rgba(255,255,255,0.2);
	cursor:pointer;
	transition:all 0.3s ease;
	padding:0;
}
.carousel-dot.active{
	background:var(--brand-color);
	width:28px;
	border-radius:5px;
	box-shadow:0 0 10px rgba(var(--brand-rgb),0.4);
}
.carousel-dot:hover:not(.active){
	background:rgba(255,255,255,0.4);
}

/* Projects counter */
.projects-counter{
	text-align:center;
	margin-top:16px;
	font-size:14px;
	color:rgba(255,255,255,0.45);
	letter-spacing:0.5px;
}

/* Project tag */
.project-tag{
	display:inline-block;
	padding:4px 12px;
	border-radius:6px;
	background:rgba(var(--brand-rgb),0.15);
	color:var(--brand-accent);
	font-size:12px;
	font-weight:600;
	letter-spacing:0.5px;
	text-transform:uppercase;
	margin-bottom:10px;
}

/* Project card */
.project-card{
	background: linear-gradient(135deg, rgba(15,23,42,0.6), rgba(30,41,59,0.8));
	border-radius:18px;
	overflow:hidden;
	box-shadow: 0 10px 30px rgba(2,6,23,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
	transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
	border:1px solid rgba(255,255,255,0.1);
	height:100%;
	display:flex;
	flex-direction:column;
	position:relative;
	will-change:transform;
}

.project-card::before{
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 50%);
	pointer-events:none;
	border-radius:18px;
}

.project-card:hover{
	transform:translateY(-12px);
	box-shadow: 0 20px 50px rgba(37,99,235,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

.project-image-wrapper{
	position:relative;
	overflow:hidden;
	aspect-ratio:1903/940;
	margin-bottom:0;
}

.project-card img{
	width:100%;
	height:100%;
	display:block;
	object-fit:cover;
	transition: transform 0.5s ease-out;
	will-change:transform;
}

.project-card:hover img{
	transform:scale(1.08);
}

.project-overlay{
	display:none;
}

.project-content{
	padding:20px 22px 22px;
	flex-grow:1;
	display:flex;
	flex-direction:column;
	position:relative;
	z-index:1;
}

/* hide any price metadata in cards (CSS-based toggle) */
.price, .project-card .price, .price-card .price { display: none !important; }

.project-card h4{
	margin:0 0 8px 0;
	font-weight:700;
	font-size:20px;
	color:#ffffff;
	letter-spacing:-0.2px;
	line-height:1.3;
}

.project-card p{
	opacity:0.8;
	font-size:14px;
	margin:0 0 16px 0;
	line-height:1.5;
	color:rgba(255,255,255,0.9);
	flex-grow:1;
}

.project-card .btn-outline-light {
	width:100%;
	padding:12px 20px !important;
	background:linear-gradient(90deg, var(--brand-color), var(--brand-accent));
	color:white !important;
	border:none !important;
	font-weight:700;
	letter-spacing:0.3px;
	font-size:14px;
	transition: all 0.25s ease-out;
	will-change:transform;
	box-shadow: 0 6px 20px rgba(37,99,235,0.25);
	text-decoration:none;
	text-align:center;
	display:block;
}

.project-card .btn-outline-light:hover {
	transform:translateY(-2px);
	box-shadow: 0 10px 30px rgba(37,99,235,0.35);
}

/* Placeholder images for projects without screenshots */
.project-placeholder-img{
	background:linear-gradient(135deg, rgba(var(--brand-rgb),0.15), rgba(var(--accent-rgb),0.08));
	display:flex;
	align-items:center;
	justify-content:center;
}
.placeholder-content{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:12px;
	color:rgba(255,255,255,0.5);
}
.placeholder-content i{
	font-size:40px;
	color:var(--brand-accent);
	opacity:0.6;
}
.placeholder-content span{
	font-size:14px;
	font-weight:600;
	letter-spacing:0.5px;
	opacity:0.7;
}

/* PLANES */

.plans-grid{
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:24px;
	align-items:stretch;
}

.price-card{
	background:rgba(255,255,255,0.03);
	border-radius:22px;
	padding:34px 30px;
	border:1px solid rgba(255,255,255,0.08);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
	text-align:left;
	height:100%;
	display:flex;
	flex-direction:column;
	position:relative;
}

.price-card:hover{
	transform: translateY(-8px);
	border-color:rgba(var(--brand-rgb),0.4);
	box-shadow: 0 24px 60px rgba(2,6,23,0.45);
}

/* Featured (middle) card */
.price-card.featured{
	background:linear-gradient(180deg, rgba(var(--brand-rgb),0.16), rgba(var(--brand-rgb),0.04));
	border-color:rgba(var(--brand-rgb),0.5);
	box-shadow:0 24px 70px rgba(var(--brand-rgb),0.25);
}
@media(min-width:992px){
	.price-card.featured{ transform:scale(1.05); }
	.price-card.featured:hover{ transform:scale(1.05) translateY(-8px); }
}

.plan-ribbon{
	position:absolute;
	top:18px;
	right:18px;
	font-size:12px;
	font-weight:700;
	letter-spacing:0.5px;
	text-transform:uppercase;
	padding:5px 12px;
	border-radius:999px;
	color:#fff;
	background:var(--brand-gradient);
	box-shadow:0 6px 16px rgba(var(--brand-rgb),0.4);
}

.price-card h3{
	font-size:24px;
	margin:0 0 6px;
	font-weight:700;
	letter-spacing:-0.4px;
	color:#fff;
}

.plan-tagline{
	font-size:14px;
	color:rgba(255,255,255,0.55);
	margin:0 0 24px;
	line-height:1.5;
	min-height:42px;
}

.price-card ul{ list-style:none; padding:0; margin:0 0 28px; flex-grow:1; }

.price-card li{
	display:flex;
	align-items:center;
	gap:10px;
	margin-bottom:14px;
	color:rgba(255,255,255,0.85);
	font-size:15px;
}
.price-card li i{
	font-size:12px;
	color:var(--brand-accent);
	background:rgba(var(--brand-rgb),0.15);
	width:22px;
	height:22px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	flex-shrink:0;
}

.plan-btn{
	width:100%;
	padding:14px 20px;
	border-radius:12px;
	border:1px solid rgba(255,255,255,0.15);
	background:rgba(255,255,255,0.05);
	color:#fff;
	font-family:inherit;
	font-size:15px;
	font-weight:600;
	cursor:pointer;
	transition:all 0.25s ease;
}
.plan-btn:hover{
	background:rgba(255,255,255,0.12);
	border-color:rgba(255,255,255,0.3);
}
.price-card.featured .plan-btn{
	background:var(--brand-gradient);
	border-color:transparent;
	box-shadow:0 8px 24px rgba(var(--brand-rgb),0.35);
}
.price-card.featured .plan-btn:hover{
	transform:translateY(-2px);
	box-shadow:0 12px 32px rgba(var(--brand-rgb),0.45);
}

/* CONTACTO */

.contact{
	background:
		radial-gradient(closest-side at 50% 0%, rgba(var(--brand-rgb),0.12), transparent 70%),
		#0b1120;
	padding:120px 0;
}

.contact-inner{
	max-width:760px;
	margin:0 auto;
	text-align:center;
}

.contact-eyebrow{
	display:inline-block;
	font-size:13px;
	font-weight:600;
	letter-spacing:2px;
	text-transform:uppercase;
	color:var(--brand-accent);
	margin-bottom:18px;
}

.contact-title{
	font-size:clamp(34px, 5vw, 52px);
	line-height:1.1;
	letter-spacing:-1px;
	font-weight:700;
	margin:0 0 20px;
	color:#fff;
}

.contact-lead{
	font-size:19px;
	line-height:1.6;
	color:rgba(255,255,255,0.6);
	max-width:520px;
	margin:0 auto 48px;
}

.contact-methods{
	display:grid;
	grid-template-columns:repeat(2, 1fr);
	gap:16px;
	margin-bottom:44px;
	text-align:left;
}

.contact-card{
	display:flex;
	align-items:center;
	gap:16px;
	padding:20px 22px;
	border-radius:18px;
	background:rgba(255,255,255,0.03);
	border:1px solid rgba(255,255,255,0.08);
	text-decoration:none;
	transition:transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover{
	transform:translateY(-4px);
	background:rgba(255,255,255,0.06);
	border-color:rgba(var(--brand-rgb),0.5);
}

.contact-card-icon{
	flex-shrink:0;
	width:46px;
	height:46px;
	border-radius:12px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:19px;
	color:#fff;
	background:var(--brand-gradient);
	box-shadow:0 6px 18px rgba(var(--brand-rgb),0.3);
}

.contact-card-text{
	display:flex;
	flex-direction:column;
	min-width:0;
}

.contact-card-label{
	font-size:13px;
	color:rgba(255,255,255,0.5);
	margin-bottom:2px;
}

.contact-card-value{
	font-size:16px;
	font-weight:600;
	color:#fff;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.contact-cta{
	display:inline-flex;
	align-items:center;
	gap:10px;
	padding:15px 34px;
	border-radius:999px;
	background:var(--brand-gradient);
	color:#fff;
	font-size:16px;
	font-weight:700;
	text-decoration:none;
	box-shadow:0 10px 30px rgba(var(--brand-rgb),0.35);
	transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-cta i{ transition:transform 0.25s ease; }
.contact-cta:hover{
	transform:translateY(-2px);
	box-shadow:0 14px 40px rgba(var(--brand-rgb),0.45);
}
.contact-cta:hover i{ transform:translateX(4px); }

/* FOOTER */

.site-footer{
	background:#020617;
	padding:64px 0 32px;
	border-top:1px solid rgba(255,255,255,0.07);
}

.footer-grid{
	display:grid;
	grid-template-columns:1.6fr 1fr 1fr;
	gap:40px;
	padding-bottom:44px;
	border-bottom:1px solid rgba(255,255,255,0.07);
}

.footer-logo{
	font-family:'Montserrat','Inter',sans-serif;
	font-size:22px;
	font-weight:800;
	letter-spacing:-0.2px;
	background:linear-gradient(90deg,#fff,var(--brand-accent));
	-webkit-background-clip:text;
	background-clip:text;
	-webkit-text-fill-color:transparent;
	display:block;
	margin-bottom:14px;
}

.footer-brand p{
	color:rgba(255,255,255,0.5);
	font-size:15px;
	line-height:1.6;
	max-width:320px;
	margin:0 0 20px;
}

.footer-social{
	display:flex;
	gap:12px;
}

.footer-social a{
	width:40px;
	height:40px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	color:rgba(255,255,255,0.75);
	background:rgba(255,255,255,0.05);
	border:1px solid rgba(255,255,255,0.08);
	transition:all 0.25s ease;
	text-decoration:none;
}
.footer-social a:hover{
	color:#fff;
	background:var(--brand-gradient);
	border-color:transparent;
	transform:translateY(-3px);
}

.footer-col h4{
	font-size:14px;
	font-weight:600;
	letter-spacing:0.5px;
	text-transform:uppercase;
	color:rgba(255,255,255,0.4);
	margin:0 0 18px;
}

.footer-col a{
	display:block;
	color:rgba(255,255,255,0.7);
	text-decoration:none;
	font-size:15px;
	margin-bottom:12px;
	transition:color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover{
	color:var(--brand-accent);
	padding-left:4px;
}

.footer-bottom{
	display:flex;
	justify-content:space-between;
	align-items:center;
	flex-wrap:wrap;
	gap:10px;
	padding-top:28px;
}
.footer-bottom p{
	margin:0;
	font-size:13px;
	color:rgba(255,255,255,0.4);
}

/* WHATSAPP BUTTON */

.whatsapp{

position:fixed;

bottom:20px;

right:20px;

background:#25d366;

color:white;

font-size:28px;

width:60px;

height:60px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

text-decoration:none;

box-shadow:0 5px 20px rgba(0,0,0,0.3);

transition:0.3s;

}

.whatsapp:hover{

transform:scale(1.1);

}

/* RESPONSIVE */

@media(max-width:1200px){
	.project-card:hover {
		transform:translateY(-8px);
	}
}

@media(max-width:991px){
	.projects-grid{
		grid-template-columns:repeat(2, 1fr);
		gap:20px;
	}
	.plans-grid{
		grid-template-columns:1fr;
		max-width:460px;
		margin:0 auto;
		gap:20px;
	}
	.footer-grid{
		grid-template-columns:1fr 1fr;
		gap:32px;
	}
	.footer-brand{
		grid-column:1 / -1;
	}
}

@media(max-width:640px){
	.contact{ padding:80px 0; }
	.contact-methods{
		grid-template-columns:1fr;
	}
	.footer-grid{
		grid-template-columns:1fr;
		gap:28px;
		text-align:center;
	}
	.footer-brand p{ margin-left:auto; margin-right:auto; }
	.footer-social{ justify-content:center; }
	.footer-bottom{
		justify-content:center;
		text-align:center;
	}
	.nav-link{ margin-left:0; }
}

@media(max-width:768px){

.hero-title{
font-size:48px;
}

.hero-subtitle{
font-size:18px;
}

.section-title{
font-size:32px;
}

.stats h2{
font-size:40px;
}

.project-card {
	transition: transform 0.25s ease-out;
}

.project-card:hover {
	transform:translateY(-6px);
}

.project-card img {
	transition: transform 0.35s ease-out;
}

}

@media(max-width:576px){
	.projects-grid{
		grid-template-columns:1fr;
		gap:18px;
	}
	.filter-btn{
		padding:8px 16px;
		font-size:13px;
	}
	.projects-filter{
		gap:6px;
	}
}
.nav-link.active{
color:var(--brand-color) !important;
}

/* ============================= */
/* PROJECT DETAIL PAGE           */
/* ============================= */

.project-detail{
	padding:130px 0 90px;
}

.project-back{
	display:inline-flex;
	align-items:center;
	gap:8px;
	color:rgba(255,255,255,0.6);
	text-decoration:none;
	font-size:15px;
	font-weight:500;
	margin-bottom:40px;
	transition:color .2s ease, gap .2s ease;
}
.project-back:hover{ color:#fff; gap:12px; }

/* Hero header */
.project-hero{
	max-width:780px;
	margin-bottom:52px;
}
.project-eyebrow{
	display:inline-block;
	font-size:12px;
	font-weight:600;
	letter-spacing:1.5px;
	text-transform:uppercase;
	color:var(--brand-accent);
	background:rgba(var(--brand-rgb),0.12);
	border:1px solid rgba(var(--brand-rgb),0.25);
	padding:5px 14px;
	border-radius:999px;
	margin-bottom:20px;
}
.project-name{
	font-size:clamp(36px, 6vw, 60px);
	font-weight:700;
	letter-spacing:-1.5px;
	line-height:1.05;
	margin:0 0 18px;
	color:#fff;
}
.project-lead{
	font-size:clamp(17px, 2.2vw, 20px);
	line-height:1.6;
	color:rgba(255,255,255,0.6);
	margin:0;
}

/* Layout */
.project-layout{
	display:grid;
	grid-template-columns:1.5fr 1fr;
	gap:48px;
	align-items:start;
}

/* Media / gallery */
.project-main-image{
	border-radius:20px;
	overflow:hidden;
	border:1px solid rgba(255,255,255,0.08);
	background:rgba(255,255,255,0.02);
	box-shadow:0 24px 60px rgba(2,6,23,0.45);
}
.project-main-image img{
	width:100%;
	height:auto;
	display:block;
	aspect-ratio:1903/940;
	object-fit:cover;
}
.project-main-placeholder{
	aspect-ratio:1903/940;
	display:flex;
	align-items:center;
	justify-content:center;
	background:linear-gradient(135deg, rgba(var(--brand-rgb),0.15), rgba(var(--accent-rgb),0.06));
}
.project-main-placeholder .placeholder-content i{ font-size:56px; }
.project-main-placeholder .placeholder-content span{ font-size:16px; }

.project-thumbs{
	display:flex;
	gap:12px;
	margin-top:16px;
	flex-wrap:wrap;
}
.project-thumb{
	width:96px;
	padding:0;
	border-radius:12px;
	overflow:hidden;
	border:2px solid rgba(255,255,255,0.1);
	background:none;
	cursor:pointer;
	transition:border-color .2s ease, transform .2s ease;
	line-height:0;
}
.project-thumb img{
	width:100%;
	aspect-ratio:1903/940;
	object-fit:cover;
	display:block;
}
.project-thumb:hover{ transform:translateY(-2px); border-color:rgba(255,255,255,0.3); }
.project-thumb.active{ border-color:var(--brand-accent); }

/* Info card (sticky) */
.project-info{ position:sticky; top:100px; }
.info-card{
	background:rgba(255,255,255,0.03);
	border:1px solid rgba(255,255,255,0.08);
	border-radius:22px;
	padding:30px;
}

.btn-project-primary,
.btn-project-ghost{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:10px;
	width:100%;
	padding:14px 20px;
	border-radius:12px;
	font-size:15px;
	font-weight:600;
	text-decoration:none;
	transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-project-primary{
	background:var(--brand-gradient);
	color:#fff;
	box-shadow:0 10px 28px rgba(var(--brand-rgb),0.35);
	margin-bottom:12px;
}
.btn-project-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 38px rgba(var(--brand-rgb),0.45); }
.btn-project-ghost{
	background:rgba(255,255,255,0.05);
	border:1px solid rgba(255,255,255,0.15);
	color:#fff;
}
.btn-project-ghost:hover{ background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.3); }

.info-block{
	margin-top:28px;
	padding-top:24px;
	border-top:1px solid rgba(255,255,255,0.07);
}
.info-block h3{
	font-size:13px;
	font-weight:600;
	letter-spacing:0.5px;
	text-transform:uppercase;
	color:rgba(255,255,255,0.45);
	margin:0 0 16px;
}

.tech-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.tech-tag{
	font-size:13px;
	font-weight:500;
	color:rgba(255,255,255,0.85);
	background:rgba(255,255,255,0.05);
	border:1px solid rgba(255,255,255,0.1);
	padding:6px 12px;
	border-radius:8px;
}

.info-list{ list-style:none; padding:0; margin:0; }
.info-list li{
	display:flex;
	align-items:flex-start;
	gap:11px;
	margin-bottom:12px;
	font-size:15px;
	line-height:1.45;
	color:rgba(255,255,255,0.85);
}
.info-list li i{
	font-size:11px;
	margin-top:4px;
	color:var(--brand-accent);
	background:rgba(var(--brand-rgb),0.15);
	width:20px;
	height:20px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	flex-shrink:0;
}
.info-list-plus li{ color:rgba(255,255,255,0.6); }
.info-list-plus li i{ color:rgba(255,255,255,0.55); background:rgba(255,255,255,0.07); }

@media(max-width:900px){
	.project-layout{ grid-template-columns:1fr; gap:32px; }
	.project-info{ position:static; }
	.project-detail{ padding:110px 0 70px; }
}

/* Modern modal styles */
.modal-backdrop.show{background-color:rgba(2,6,23,0.7);}
.modal-dialog{
	display:flex;
	align-items:center;
	min-height:calc(100% - 2rem);
	margin:1rem auto;
}
.modal-content{
	background: #0f172a;
	border-radius:16px;
	border: 1px solid rgba(var(--accent-rgb),0.12);
	box-shadow: 0 30px 80px rgba(2,6,23,0.8);
	backdrop-filter: blur(12px) saturate(120%);
	overflow:hidden;
	animation: modalIn .3s cubic-bezier(.2,.9,.3,1);
}
.modal-header{
	background: linear-gradient(135deg,var(--brand-color),var(--brand-accent));
	padding:18px 24px;
	border-bottom:0;
}
.modal-header .modal-title{font-weight:700;color:white;font-size:18px}
.modal-body{
	padding:0;
	max-height:70vh;
	overflow-y:auto;
	scrollbar-width:thin;
	scrollbar-color:rgba(var(--accent-rgb),0.3) transparent;
}
.modal-body::-webkit-scrollbar{width:6px}
.modal-body::-webkit-scrollbar-track{background:transparent}
.modal-body::-webkit-scrollbar-thumb{background:rgba(var(--accent-rgb),0.3);border-radius:3px}

/* High-contrast selection for modal content */
.modal-body ::selection,
.plan-modal-content ::selection,
.modal-content ::selection {
	background: rgba(var(--accent-rgb),0.95);
	color: #ffffff;
}
.modal-body::-moz-selection,
.plan-modal-content::-moz-selection,
.modal-content::-moz-selection{
	background: rgba(var(--accent-rgb),0.95);
	color: #ffffff;
}

/* Slightly increase contrast for modal paragraph text */
.plan-section p{font-size:14px;color:rgba(255,255,255,0.85);margin-bottom:8px;line-height:1.5}
.plan-desc{font-size:14px;color:rgba(255,255,255,0.88);line-height:1.6;max-width:560px;margin:0 auto}
.plan-features li{position:relative;padding-left:24px;font-size:14px;color:#f1f5f9}

/* Plan modal content */
.plan-modal-content{padding:24px}
.plan-header-info{text-align:center;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,0.06)}
.plan-badge{display:inline-block;padding:6px 16px;border-radius:999px;background:rgba(var(--brand-rgb),0.15);color:var(--brand-accent);font-weight:600;font-size:13px;margin-bottom:10px;letter-spacing:0.5px;text-transform:uppercase}
.plan-price{font-size:26px;font-weight:800;color:#fff;margin:8px 0 12px;background:linear-gradient(90deg,var(--brand-color),var(--brand-accent));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.plan-desc{font-size:14px;color:rgba(255,255,255,0.7);line-height:1.6;max-width:560px;margin:0 auto}

/* Sections inside modal */
.plan-section{
	background:rgba(255,255,255,0.03);
	border:1px solid rgba(255,255,255,0.06);
	border-radius:12px;
	padding:20px;
	margin-bottom:16px;
}
.plan-section h6{
	font-size:15px;
	font-weight:700;
	color:var(--brand-accent);
	margin-bottom:14px;
	display:flex;
	align-items:center;
	gap:8px;
}
.plan-section p{font-size:14px;color:rgba(255,255,255,0.7);margin-bottom:8px;line-height:1.5}

/* Features list */
.plan-features{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.plan-features li{position:relative;padding-left:24px;font-size:14px;color:#e2e8f0}
.plan-features li::before{content:'\2713';position:absolute;left:0;top:0;color:var(--brand-accent);font-weight:700}

/* Tech tags */
.plan-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.plan-tag{display:inline-block;padding:4px 12px;border-radius:6px;background:rgba(var(--brand-rgb),0.1);color:var(--brand-accent);font-size:13px;border:1px solid rgba(var(--brand-rgb),0.15)}

/* Hosting price */
.plan-hosting-price{font-size:16px !important;font-weight:700;color:var(--brand-accent) !important;margin-bottom:12px !important}
.plan-note{font-size:12px !important;color:rgba(255,255,255,0.45) !important;margin-top:8px}

/* Footer info items */
.plan-footer-info{
	display:flex;
	gap:16px;
	padding:16px 0 0;
	border-top:1px solid rgba(255,255,255,0.06);
}
.plan-info-item{
	flex:1;
	background:rgba(var(--brand-rgb),0.08);
	border-radius:10px;
	padding:14px 16px;
	font-size:14px;
	color:#e2e8f0;
	display:flex;
	align-items:center;
	gap:8px;
}
.plan-info-item i{color:var(--brand-accent);font-size:16px}

@media (max-width: 576px) {
	.plan-features{grid-template-columns:1fr}
	.plan-footer-info{flex-direction:column;gap:10px}
	.plan-modal-content{padding:16px}
	.plan-tags{justify-content:center}
	.plan-header-info{text-align:center}
}

@keyframes modalIn{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}

/* COOKIE BANNER */
.cookie-banner{
	position:fixed;
	left:24px;
	right:24px;
	bottom:24px;
	max-width:560px;
	margin:0 auto;
	background:linear-gradient(160deg, rgba(15,23,42,0.98), rgba(8,12,26,0.98));
	border:1px solid rgba(255,255,255,0.1);
	border-radius:18px;
	padding:22px 24px;
	display:flex;
	align-items:flex-start;
	gap:16px;
	z-index:1300;
	box-shadow:0 20px 60px rgba(2,6,23,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
	animation:cookieIn .45s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner::before{
	content:'';
	position:absolute;
	inset:0;
	border-radius:18px;
	padding:1px;
	background:var(--brand-gradient);
	opacity:0.35;
	-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite:xor;
	mask-composite:exclude;
	pointer-events:none;
}
.cookie-icon{
	flex-shrink:0;
	width:42px;
	height:42px;
	border-radius:12px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:rgba(var(--brand-rgb),0.15);
	color:var(--brand-accent);
	font-size:18px;
}
.cookie-body{flex:1 1 auto;min-width:0}
.cookie-body p{margin:0 0 14px;font-size:13.5px;line-height:1.6;color:rgba(255,255,255,0.75)}
.cookie-body p strong{color:#fff;font-weight:600}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap}
.cookie-accept,.cookie-decline{
	border:0;
	padding:10px 20px;
	border-radius:9px;
	font-weight:600;
	font-size:13.5px;
	cursor:pointer;
	transition:opacity .2s ease, transform .2s ease;
}
.cookie-accept{
	background:var(--brand-gradient);
	color:#fff;
	box-shadow:0 8px 20px rgba(var(--brand-rgb),0.35);
}
.cookie-accept:hover{opacity:0.92;transform:translateY(-1px)}
.cookie-decline{
	background:rgba(255,255,255,0.06);
	color:rgba(255,255,255,0.7);
	border:1px solid rgba(255,255,255,0.12);
}
.cookie-decline:hover{background:rgba(255,255,255,0.1);color:#fff}

@keyframes cookieIn{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}

@media (max-width:560px){
	.cookie-banner{left:14px;right:14px;bottom:14px;padding:18px;gap:12px}
	.cookie-icon{width:36px;height:36px;font-size:16px}
}